Skip to main content

Questions tagged [error-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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
104 views

issues Installing pnp/generator

I'm getting this error when I'm trying to install PnP/generator. Do anyone know how I can get passed this issue. I have the SharePoint generator installed already.
MALLIE WILLIAMS's user avatar
0 votes
1 answer
247 views

PnP SharePoint Framework npm install issues

My organization is starting to really get into SharePoint development and I'm currently working on several projects related to SharePoint. I've really been getting into the SharePoint Framework ...
johnsoep's user avatar
0 votes
0 answers
17 views

Data Sheet view is not highlighting errors when missing the required filed

There are required columns in my list and when I try to edit the list via 'quick edit' option by selecting it from the ribbon and if I miss any required field it highlights with the errors for missing ...
Narinder Chauhan's user avatar
0 votes
2 answers
206 views

"The URL _catalogs/fpdatasources is invalid" in SharePoint designer when publishing a workflow

When I try and publish a workflow I get the following error. I have tried creating a fresh workflow in this list and other lists. this is apparently a sitewide problem. The only references I can ...
JonS's user avatar
  • 764
0 votes
0 answers
91 views

Workflow "suspended" after creating a timed loop in a workflow

Recently discovered "timed" loops in Workflows, that allow me to loop based on a chosen variable (say 3 weeks, therefore loop 3 times). However, the workflow shows "suspended" under the workflow ...
Humble Val's user avatar
1 vote
0 answers
273 views

Error Thrown When Toggling 'Quick Edit' on a List or Library

For some reason users are getting the following popup/error when toggling 'Quick Edit' on a list or library. This site says... Assertion Failed: Edit manager is still in Editing state, but ...
Laura West's user avatar
1 vote
1 answer
200 views

Logging client side error(JS file added in a visual webpart) to server side - sharepoint 2016

I have a visual webpart, where there is a JS file added to it. Now i need to log the errors which occur in the JS to my local drive. What we need to know is how to push the error message from client ...
Sukumar MS's user avatar
1 vote
1 answer
5k views

PowerApps new form: Display error msg if item exists in unique SP column?

I have a form that successfully creates a new SP list item if the unique column value is not being duplicated. If the user attempts to submit an item where that value already exists, the new item is ...
BDC604's user avatar
  • 403
0 votes
1 answer
840 views

SP - C# Delete Item - Error message: 0x80070005 (E_ACCESSDENIED))

When i trying to delete listItem from list and anonymous access in site perm(for Fund3) is disabled my code throw exception. Where anonymous access is enable everything is OKAY-> items are deleted.......
Goshky's user avatar
  • 2,058
2 votes
2 answers
5k views

'System.Net.WebException' occurred in Microsoft.SharePoint.Client.dll

While running Sharepoint Client Side Scripting in Visual Studio getting error at the end of ExecuteQuery() It throws an unhandled exception of type 'System.Net.WebException' occurred in ...
JishinK's user avatar
  • 175
0 votes
1 answer
662 views

Approval Workflow - unexpected error after parallel approval

I currently have a SharePoint 2010 calendar approval workflow that I'm using which uses the OOB Approval process workflow with parallel approvers. I currently have it so if one of the approvers, ...
cycloxr's user avatar
  • 145
1 vote
0 answers
14 views

How to know which process is reading removed farm solution for system.io.filenot found exception in share point 2010

we have two sharepoint 2010 web front end servers and before deployed a custom farm solution from third party and uninstalled the solution but we saw below errors many times in event viewer . i don't ...
adilahmed's user avatar
  • 2,965
1 vote
0 answers
130 views

receiving errors while working on Advance look up column in SP 2013

I am working in SharePoint 2013, I received errors while I was working on Advance look up. Two errors one after the other: System.InvalidOperationException: Sequence contains no matching ...
Shaghayegh's user avatar
3 votes
0 answers
958 views

Watson Bucket in SharePoint

A bit of background: Watson is a Microsoft customer feedback technology. When a crash, hang or other tracked failure event occurs, Watson program is activated and the dialog appears, where you can ...
Paul Strupeikis's user avatar
2 votes
1 answer
3k views

Error handling in ensureuser() method

I have an issue where I am trying to handle the error but could not get it done. here is the code: $UserSPU = "domain\user" $site = Get-SPSite http://siteurl $web = $site.OpenWeb() $user = $web....
Waqas Sarwar MVP's user avatar
1 vote
0 answers
673 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 ...
Malavos's user avatar
  • 159
0 votes
2 answers
9k views

Enforce Unique Values Across 3 Columns

I have a list with 3 columns that are currently relevant: Customer Code | Product Line | Part Number I want to enforce unique values across all 3, so that at least one value of the three columns ...
Shannon G's user avatar
1 vote
1 answer
74 views

How to not reach the sharepoint error page?

I have a link that redirect users on the 'unexpected error is occured' page when they type a wrong code and submit it. If the code is valide the redirection is done and they reach the correct page. ...
ameliapond's user avatar
1 vote
1 answer
20 views

Error Page Content?

Does anyone know where the content lives for the PageNotFound page? I see in the "ErrorLayout" there is a class="error-content" section. I would like to edit the content for this section.
tomsmithweb's user avatar
0 votes
1 answer
31 views

Custom error message for DVWP when/if list does note exist?

I've asked this before but didn't get a good answer and I just cannot believe there isn't one. If you have a DVWP that references a list you'll get an error message. Is there anyway to customize that ...
IMTheNachoMan's user avatar
0 votes
1 answer
33 views

How to trouble shoot and found root cause of error based on Co-relation id found in error message

I have two WFE servers for our SharePoint 2013 farm and i get some errors and i found a co-relation ID so for trace this error from which WFE server i start the troubleshoot? is this corelation ID is ...
adilahmed's user avatar
  • 2,965
4 votes
1 answer
3k views

How to display event receiver error inline not in error page

I have a problem with displaying error messages inline, but sharepoint displays that ugly yellow page. Yes the error message is correct, it's the one I defined but I need to display errors like the ...
Ergec's user avatar
  • 485
0 votes
2 answers
96 views

Unexpected Error when trying to delete attachment

I am having a user reporting unexpected error when trying to delete the attachment from a list item. I have gone through the log files,but not able to find any trace of the error. I am kind of new to ...
sudheer's user avatar
1 vote
2 answers
3k views

Event receiver CancelWithError

I need to show an error message during in the ItemAdding event from a SP2013 event receiver. I used this code in case of error: properties.Status = SPEventReceiverStatus.CancelWithError; properties....
Nk SP's user avatar
  • 2,893
0 votes
2 answers
2k views

Hide errors displaying PowerShell for sharepoint

I want to supress displaying error messages on a certain bloc of code in powershell. I know that -ErrorAction SilentlyContinue supress error displaying, but it only goes with a cmd-let, in my case i ...
user3744080's user avatar
2 votes
2 answers
3k views

What's a better way to handle errors for Get-SPWeb?

I've noticed my favorite traps don't work as intended when attempting to get an SPWeb object. Example: trap { write-host "an error occurred. continue."; continue } & { nonexistant_command } ...
user avatar
2 votes
0 answers
1k 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 ...
Thomas Doman's user avatar
0 votes
0 answers
59 views

Javascript REST API clearing error state

I am working on a SharePoint web app, and using the cross-domain library. I am looking for ways to recover from errors that the deferred functions return, and was wondering if SharePoint REST API has ...
user27227's user avatar
1 vote
2 answers
138 views

Error handling by Infopath 2010 for ItemAdd cancelled by SP Event Receiver

How to handle error messages in Infopath form, when a List item add event is cancelled by a Sharepoint Event Receiver? I receive an error which isn't user friendly, I would like to display a user ...
user24712's user avatar
2 votes
1 answer
324 views

How can I tell in a Sharepoint 2010 event receiver if the list item was added in datasheet view or not?

I'm a novice Sharepoint developer, so please forgive what is probably a very simple question. I have an event receiver on a custom list in Sharepoint 2010. I need to be able to display custom error ...
Liam Graham's user avatar
2 votes
0 answers
1k 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 ...
Martin's user avatar
  • 21
3 votes
1 answer
2k views

Display error message to users

I have an event receiver that copies items to another list. I however need to show errors to the user that the item did not copy. try { //copy code works ...
Chester238's user avatar
1 vote
2 answers
398 views

Client Side Error Reporting and Instrumentation in SharePoint 2010/2013

I do a large amount of client side development using SharePoint as the back end. In most cases I rely heavily on the REST API and JSOM. I tend not to use the SharePoint masterpages and deploy my ...
Robert Kaucher's user avatar
0 votes
1 answer
1k views

How to add the close button in SP.UI.Status

I use status bar to show exception message in code-behind. I wanna add a close button in the status bar for user, so they can remove the bar. Here is my code: protected virtual void ...
ChrisLiu's user avatar
4 votes
1 answer
6k views

Custom "Sorry, something went wrong" message on SharePoint 2013

Could anyone explain me how should I change the default "Sorry, something went wrong" message to some other text or - even better - to change the content of this "component" to something custom? ...
user1029968's user avatar
0 votes
1 answer
700 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 ...
Ants's user avatar
  • 165
1 vote
1 answer
121 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 ...
Dominik's user avatar
  • 392
0 votes
0 answers
38 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 ...
Grzegorz Z's user avatar
  • 1,709
1 vote
1 answer
138 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 ...
Prince's user avatar
  • 11
0 votes
1 answer
4k 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 ...
Carel's user avatar
  • 1,000
2 votes
2 answers
4k 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 ...
V.B's user avatar
  • 763
0 votes
1 answer
93 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 ...
user avatar
1 vote
0 answers
419 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 ...
Jim's user avatar
  • 237
4 votes
2 answers
2k 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: <...
Tom Bola's user avatar
  • 381
3 votes
3 answers
2k 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. -----------------------------------------...
sharptooth's user avatar
2 votes
1 answer
14k 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. ...
Chris's user avatar
  • 125
1 vote
1 answer
665 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 ...
JohnDoDo's user avatar
  • 1,169
0 votes
1 answer
1k 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 ...
JohnDoDo's user avatar
  • 1,169
1 vote
1 answer
309 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 ...
Patrick_J's user avatar
  • 380
1 vote
1 answer
159 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 ...
Mansi Desai's user avatar