The error-handling tag has no wiki summary.
9
votes
2answers
695 views
What happens if an earlier Event Receiver throws an error?
Let's say I set up an ItemAdded event receiver with a sequence number of 12345. On this list there're two other event receivers that run before it; one for ItemAdding, and an earlier one for ...
4
votes
2answers
812 views
Add custom error handler at beginning of modules section in web.config (not manually)
Is there a way to put an error handler HTTPModule at the beginning of the modules section in web.config without doing this manually?
I've tried the supplemental web.config approach like this:
...
3
votes
1answer
888 views
How do I set CallStack=“false” but still get the exception in a custom error handler?
I've got a pretty custom SharePoint 2010 Server solution. We have a custom HttpModule setup for error handling (relevant code provided below):
public class ErrorHandlerModule : IHttpModule
{
...
2
votes
1answer
237 views
Retrieving last exception from a custom 500 error page in SharePoint 2010
I implemented a custom 500 error page for a SharePoint 2010 publishing website.
The feature receiver of a web application scoped feature sets the custom error page as follows:
var webApplication = ...
1
vote
2answers
338 views
Error Handling with Powershell Scripts for SharePoint 2010
I am very new to writing PS scripts for deploying solutions and activating features. In my current scripts I get errors some time like feature not activated or deactivated properly. I am looking ...
1
vote
1answer
2k views
How to handle “e-mail message cannot be sent” error
I have a workflow that uses a SendEmail activity, then moves on to some other work. If I get this error below (because the smtp server is down for some reason):
The e-mail message cannot be sent.
...
1
vote
1answer
52 views
WebPart on Top of Displayform for Custom List, ListItem deleted => Server Error
so I have a visual webpart for registering/unregistering for an event on top of a custom lists' ("events"-list) display form (added via &ToolPaneView=2).
Now my use-case is this: potential ...
1
vote
1answer
34 views
where can i find the default 404 - File not found error htm in Windows Sharepoint service 2.0
Where can i find the default htm file, mapped to show the 404 error in Sharepoint service 2.0. Currently whenever the request for a site hits the 404 error, it goes to the default page, but the point ...
1
vote
1answer
273 views
How to add a fault handler to the entire state machine workflow?
I have a running Site workflow. If the workflow fails for whatever reason, I want to log it in a special way so that I don't have to struggle with the ULS log to figure out what went wrong.
How can I ...
1
vote
1answer
214 views
Turn off SharePoint Error Messages
Is there a way to turn off error messages, that are returned from InfoPath forms either having invalid data, or permissions.
Here is a picture of them.
I would perfer for the form to just not ...
1
vote
0answers
294 views
Restart an errored workflow programmatically
I am trying to figure out the best way to restart an errored out workflow.
A little background:
We get seemingly random error-outs (error and stack below) in a visual studio created workflow when ...
1
vote
1answer
116 views
Not able to figure out the meaning of the error in the LOG file
I am getting the following error when I try to deploy my custom timer job.
" Cannot synchronize profile property languages until the ProfileDB is upgraded for UserProfileApplication 'User Profile ...
0
votes
4answers
2k views
Event Reciever Custom Error Message Page Sharepoint List 2010
I am working on creating event receiver on a specific custom list using visual studio 2010. Below is the screenshot of the error message set on properties. ErrorMessage I'm interested in knowing ...
0
votes
1answer
530 views
Find out if validation errors exist in InfoPath form
Does anyone perhaps know of a way to find out at any point when a form is filled in if there are any validation errors on the page? I am having a lot of trouble with users that are not very ...
0
votes
1answer
68 views
Modifying the Correlation ID Screen
I want to modify the Correlation message that is shown to the users when a correlation id occurs. I need to give them information to contact IT as well as being able to call a JavaScript API when the ...
0
votes
3answers
914 views
How to get a user-friendly message when the user tries to respond again to the same survey?
When a user tries to respond to a survey he has already responded to SharePoint will return HTTP 500 and the following text:
Server Error in '/' Application.
...
0
votes
0answers
31 views
AbsenceVacationschedule2.wsp from 40 Templates - Duplicate field name
I downloaded the 40 Templates for SharePoint 2010 and tried to get the AbsenceVacationschedule2.wsp template to work.
I followed these instructions
Goto 'Site Settings' of that new Web ...
0
votes
0answers
63 views
Custom Error Message-Unable To Process Request(Sharepoint 2010)
I have an Excel Web Access Webpart. I want a custom error message to be displayed when an invalid excel workbook is trying to be imported.
Step By Step Explanation is expected as I am new To ...
0
votes
0answers
97 views
Backup-SPFarm not respecting ErrorActionPreference
I'm trying to setup a script in Jenkins to backup my SharePoint server. The problem I'm encountering is that it Backup-SPFarm is not correctly returning an error. So my $ErrorActionPreference is being ...
0
votes
0answers
25 views
Problem with import a External List
Why i import a External list, and Add to my code the error is Shown:
Name cannot begin with the '-' character, hexadecimal value 0x2D. Line
1, position 316.
Here is screen Shot. How can I run ...
0
votes
0answers
143 views
Sharepoint custom error pages and loging issues
I am currently trying to implement custom error pages in our sharepoint project.
Here is the issue i have. The custom error pages are set up in IIS. Using the .Net error pages in ISS7 for the error ...
0
votes
1answer
331 views
How to start a state machine workflow at a certain state activity (restart after failure)?
Is there a way to start a SP2010 state machine workflow at a specific state activity?
For example, if I have state A -> B -> C -> D is is possible to start at C?
The idea is I have an workflow that ...