The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
54 views

SoapServerException on Lists.GetListItems()

I'm trying to retrieve list items for my "Country" list through web services. This is my list: http://i.stack.imgur.com/158MI.png & this is my code: using System.Linq; using System.Text; using ...
0
votes
1answer
53 views

Exception error when getting master page in powershell

I wanted to see which site collections in our 2010 environment are not following the rules and are deactivating the Master Page in the settings. I have some powershell code that works just fine, ...
0
votes
1answer
225 views

Check if SPUser has access to an SPWeb object without causing an Access Denied redirect

As part of a Workflow Association Form code-behind we need to access information on different sites (in the same site collection). It is possible that the user trying to configure a workflow does not ...
1
vote
0answers
56 views

NullReferenceException while running SharePoint products ( Central admin site is not working)

We are able to access the sharepoint sites but the centeral admin is not working so tried to run the share point product with exsisting farm and sharepoint_configdb. After step7, we are getting error ...
0
votes
0answers
68 views

SLAM: Synchronize Exception

I am using SLAM v2.1 to join Lists in SharePoint 2010. I can Activate it without a problem. But when I want to Synchronize it, an exception occurs: System.ArgumentException: Column 'Modified By' ...
0
votes
2answers
222 views

Identify SharePoint 2010 exception

I a problem with identifying the origin of the exception in SP 2010 Enterprise. Environment: Standalone SP2010 AAM configured Authentication: Claims based. SSL enabled. Description: New web ...
1
vote
0answers
414 views

Client Object Model : “Microsoft.SharePoint.Client.ServerException: The request uses too many resources”

When deleting 1000+ (link) items from a list in one batch using the COM, I encountered this exception : Microsoft.SharePoint.Client.ServerException: The request uses too many resources It seems ...
2
votes
1answer
164 views

SPSecurity.CatchAccessDeniedException = false: Does Sharepoint keep this setting?

When I add SPSecurity.CatchAccessDeniedException = false; this disables the redirection to a login site. Does Sharepoint keep that setting until I set it to "true" or just as long until the object is ...
0
votes
1answer
742 views

Custom WCF service - includeExceptionDetailInFaults

I've got a custom WCF service that I created using the CKS toolkit for SharePoint. How do I enable includeExceptionDetailInFaults in these services? The way I understand it is, when using ...
1
vote
2answers
528 views

CriticalExceptionCount in SharePoint 2010

Can anyone please describe me what is the role of CriticalExceptionCount measure in SharePoint 2010? Couldn't understand the below line: ResourcesPerPoint - Represents a normalization factor for ...
1
vote
1answer
284 views

Weird “Access Denied” - behaviour in read-only mode

In a sharepoint project I save data to a list. When the Administrator sets the database to ReadOnly, I want to capture the Exception that occurs when trying to write to that list and prevent the ...
0
votes
2answers
332 views

Error Handling Strategy for Sandboxed SharePoint Solutions

I am looking to develop an error handling strategy for a SharePoint solution that makes use of sandboxed webparts. I was initially looking at a general exception handling approach based on this ...
4
votes
1answer
274 views

How to Handle Unathorized Exception

I need to handle unauthorized exception.. My code is something like: try { //MY CODE } catch (Exception exx) { //My Code } I can't understand why if a NOT AUTH exception is thrown, my code didn't ...
0
votes
0answers
290 views

Exception in converting string to person or group type

I want to insert the user account for each user in a list column. As the list column is of type Person or Group, I need to convert the string type value to the person or group type. I have used the ...
1
vote
2answers
416 views

Sharepoint site throws exception on clicking save button after uploading a file

I have deployed an event reciever with item added event on a document library in sharepoint site. In item added event I am calculating the number of pages for the uploaded document and updated a ...
0
votes
1answer
81 views

List does not exsist

I have a really strange behavior of a Sharepoint site here Having a Site and a subweb , everthing works as expected when I use RDP to work with the sites. But when I remotly access the site , every ...
0
votes
1answer
208 views

FormatAccountName exception after logging into Forms site

I've started receiving the following Sharepoint exception whenever I log a user in via Forms Authentication; Value cannot be null. at ...
3
votes
6answers
5k views

SharePoint Development in C# + Best way to deal with error handling

I have been developing pages and web parts in SharePoint 2007/2010 for the past year. One of the things that I always incorporate in my code is try/catch blocks to deal with error handling if an ...
5
votes
4answers
1k views

Catch exception in web part, or let it bubble up?

I'm writing a web part for other sites to use in their SharePoint installation. In the logic of the web part I throw exceptions at certain failure points. I'm wondering whether it is a better ...
1
vote
0answers
638 views

What is the best practice handling “Save Conflict” SPException? [closed]

What is the best way to work around the SPException thrown when updating an SPListItem recently edited by another process? Is this a good approach? What can be done to not to lose the update data? ...
5
votes
3answers
676 views

What happens to executing Timer Jobs when the Timer Services is restarted?

What happens to executing Timer Jobs when the Timer Service is restarted? Does it abruptly abort any executing jobs? Is there an exception to catch (for example ThreadAbortException) in your timer ...