Questions tagged [exception-handling]

Exception handling is the process of responding to the occurrence, during computation, of exceptions – anomalous or exceptional events requiring special processing – often changing the normal flow of program execution. It is provided by specialized programming language constructs or computer hardware mechanisms.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
862 views

SPException error codes and meanings (refreshing form request digest via SharePoint REST services)

Where can I find a list of error codes and their meanings for SharePoint exceptions? I can't find any list of any kind online, just specific cases here and there. My specific need arises out of the ...
2
votes
0answers
954 views

Valid SharePoint user that doesn't have a user profile causing workflow errors

I have created a work flow that retrieves some details, such as the manager and some address details, about users on our SharePoint. The information is retrieved for after the fact analysis we do on ...
1
vote
1answer
2k views

System.UnauthorizedAccessException when accessing the SharePoint 2013 REST API

When I try to load AJAX scripts into private site it runs with any problems, but when I do public site I have AccessException, I read a lot of it, and I found this link, where have same problem and ...
1
vote
0answers
570 views

HTTPHandlers\Modules in SharePoint 2013 to deal with request errors

I am currently trying my best to implement a Handler to redirect error pages on Sharepoint 2013. Our project has a bunch of webparts that are inside pages - and when these webparts reach certain ...
1
vote
0answers
35 views

Catch UserProfileNoUserFoundException exception

I have a requirement where I am checking a user account whether it does exist in User Profile Service or not. And if the account doesn't exist then it will create an account. I am using CSOM for this. ...
1
vote
0answers
409 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 ...
1
vote
0answers
1k 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 ...
0
votes
1answer
38 views

Exception User-Unhandled, Creation of SPSite objects with a different site id or a different user token is not allowed

I am creating a event handler that will sync documents between two sites on the same site collection when one is uploaded. This is the item added handler. public override void ItemAdded(...
0
votes
1answer
84 views

Customize document library EditForm.aspx to display Error/Exception

I am writing an ItemUpdating event receiver for a document library in MOSS 2007 (yes, I am still on that version!) and need to bake in some validation. If the validation fails or if an exception is ...
0
votes
0answers
28 views

Using SharePoint exception handling in hybrid application

I am struggling to figure out a way to handle exceptions in my application. My application is Hybrid and mainly a .Net application that uses SharePoint 2010 for document management only. I want to ...
0
votes
0answers
203 views

SharePoint 2013 didn't log exceptions

I have a problem with SharePoint 2013. I have created a WSP package that works great on 2010 but doesn't on 2013. Actually, when I tried to access to the page, I receive the classic "Unexpected error ...
0
votes
0answers
2k views

Feature ‘XXX’ for list template ‘YYY’ is not installed in this farm. The operation could not be completed

So I'm very new to SharePoint. And I'm supposed to debug a website SharePoint 2013. So when I open this page a web service is supposed to get me data from a distant database and display it in a ...
0
votes
1answer
217 views

How to add workflow tasks to a currently running workflow?

I would like to know how I can add a new workflow task to a currently running workflow. Essentially, my scenario is this: created a custom application page approval form user can add new approvers ...