Questions tagged [exception]

Exception or exceptions may refer to:An error caused by circumstances outside the program's control. When an error occurs within a method, the method creates an object and hands it off to the run time system.The object, called an exception object, contains information about the error, including its type and the state of the program when the error occurred. Creating an exception object and handing it to the runtime system is called throwing an exception

Filter by
Sorted by
Tagged with
-1 votes
0 answers
26 views

I'm getting this exception "Microsoft.SharePoint.Client.IdcrlException" in the "ctx.Credentials", I need help to resolve it

Error: 'Microsoft.SharePoint.Client.IdcrlException:Identity Client Runtime Library (IDCRL) did not get a response from the Login server.' Code: using Microsoft.SharePoint.Client; using System; using ...
Ajay singh's user avatar
1 vote
1 answer
86 views

Save conflict adding a content type to list after added as allowed content type in site level doc set template. What do I need to wait for or refresh?

So I'm trying to create a new content type at the site level, add it as an allowed content type in a custom document set content type, and then add it to all the libraries where the document set is ...
Dylan Cristy's user avatar
  • 12.6k
0 votes
1 answer
267 views

Send E-Mail via workflow fails suddenly

I have a 2013 workflow on my 2016 on-premise farm, which sends emails. Today suddenly it stopped working and now it throws the following error: System.Net.WebException: Exception encountered while ...
Emaborsa's user avatar
  • 1,189
0 votes
4 answers
175 views

Exceeds Threshold

When I use a query with where clause, my app throw this exception: "ExceptionMessage":"The attempted operation is prohibited because it exceeds the list view threshold enforced by the ...
Marta's user avatar
  • 1
0 votes
1 answer
7k views

Exception from HRESULT: 0x80131904, but only randomly

SharePoint 2016 OnPremise, all works fine, but sometimes only in one list, when adding a new item, after saving when it returns to the standard view, I get Exception from HRESULT: 0x80131904. Uls ...
Emaborsa's user avatar
  • 1,189
1 vote
2 answers
1k views

Get error when try to start workflow with PowerShell

We are using SharePoint 2016 on-premise. I setup a list workflow (Designer 2010 workflow) to send email to "assigned to" field in the item. Then I prepared a PowerShell script to loop through the list ...
Mark L's user avatar
  • 4,055
1 vote
1 answer
1k views

Cannot activate "Workflows can use app permissions" Site Feature in Sharepoint Foundation 2019

I am trying to create a workflow (According to the "Approval - Sharepoint 2010" template) and to activate "Enable Content Approval" in it, this works fine, but it doesn`t do anything. Some research ...
user avatar
1 vote
1 answer
36 views

I am having an error in the event viewer multiple times

I am receiving below error in the event viewer multiple times: Unknown SQL Exception 10061 occurred. Additional error information from SQL Server is included below. A network-related or ...
AIM4DREAM's user avatar
  • 641
0 votes
1 answer
659 views

PowerPivot Schedule Refresh - A schedule cannot be enabled for a workbook with no external data sources

First of all, here is a bit about my SharePoint installation SpWeb = SharePoint front end SpApp = SharePoint application server SpDB = SharePoint Database OOS = Office online server Analysis ...
Angry Coder's user avatar
1 vote
2 answers
1k views

Faulting application name: csc.exe

I have the following SharePoint Farm: I noticed the CPU of the Search-Server runs costantly at 100% so I checked the Application Event-Viewer: Each entry is an Application Error: Faulting ...
Emaborsa's user avatar
  • 1,189
9 votes
1 answer
14k views

Username argument is invalid in SharePointOnlineCredentials - CSOM

I wrote a simple code in CSOM to get web title. Hope code is fine. When I execute my application I got an exception from my third line (clientContext.Credentials = new SharePointOnlineCredentials("...
Sivakumar Piratheeban's user avatar
0 votes
1 answer
87 views

IEnumerable<SPListItem>and LINQ Error

In the following code, the "FirstOrDefault" function returns a SPlistItem; it is a valid item. However, the "ToList" function throws an exception of "System.NullReferenceException". Why does ...
amsackett's user avatar
  • 379
1 vote
2 answers
2k views

Handle ListItem attachments via CSOM

I'm able to add OR remove attachments to/from a ListItem: Remove foreach (Attachment a in emailItem.AttachmentFiles) { a.DeleteObject(); } emailItem.Update(); ctx.ExecuteQuery(); Add foreach (...
Emaborsa's user avatar
  • 1,189
1 vote
0 answers
705 views

Microsoft.SharePointUpgrade.SPUpgradeException error

I installed sharepoint upgrade "KB3115293" to be able to restore a site collection created in another farm with the same version. After the installation, I excuted sharepoint configuration wizard in ...
Asma Sbaia's user avatar
0 votes
1 answer
3k views

Exception 'Value does not fall within the expected range' after deleting another web in site collection

I have a list 'projects' with a DispForm.aspx, and on that DispForm there are associated contacts for that element (contacts list has a direct lookup to the 'projects' list). for the contacts to be ...
Shihan's user avatar
  • 589
0 votes
0 answers
111 views

Server.Transfer() in SharePoint OR any equal alternative to that?

In my SharePoint solution, I want to transfer from one application page to another application page, both located in the same folder in file system like below: /MySiteCollection/_layouts/15/Business/...
SPBeginer's user avatar
  • 2,547
1 vote
1 answer
65 views

2013 - Error while searching with only with specific user

I'm using SharePoint Foundation 2013, updated to the latest CU available (november 2016). Two days ago I've fixed some search error that I've seen in ULS logs. I've re-created the index, then done a ...
Pepozzo's user avatar
  • 1,073
2 votes
0 answers
344 views

After system state restore: (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

So the system drive of our SBS 2011 server has crashed. We had a backup which we used to perform a systemstate recovery and non-authorative restore of Active Directory. Since the restore, our ...
Forza's user avatar
  • 71
3 votes
1 answer
170 views

Check List Author

I need to check the Author of a list, doesn't matter if GenericList or DocumentLibrary. I know there is the field list.Author, but for some lists an Microsoft.SharePoint.SPException: User cannot be ...
Emaborsa's user avatar
  • 1,189
1 vote
1 answer
657 views

System.Runtime.InteropServices.COMException while adding web part to page

Getting below exception when adding a webpart to page on Production. On Development server it works perfectly fine. Have been googling a lot but not able to get links for specifically this scenario. ...
user60999's user avatar
1 vote
1 answer
1k views

SharePoint 2013 Workflow Updating an Item of a task list

I am trying to update multiple items of a task list in a loop. But when my workflow reaches the step "Update an Item", it throws an exception "value does not fall within the expected range" while ...
mohd tahir's user avatar
  • 2,406
3 votes
0 answers
71 views

Exception by setting a column unique

I have a huge list, about 200000 items. Till yesterday a custom column called Nr was not unique and contained many doubles. Today I cleaned it removing items with double entries, tryied to set the ...
Emaborsa's user avatar
  • 1,189
1 vote
0 answers
157 views

Error in Powershell with .recycle() method

With the following code, I am getting this error in powershell: I could not find out whats wrong here? I am using recycle() method because in next step, i need to restore items from recycle bin. ...
SPBeginer's user avatar
  • 2,547
2 votes
1 answer
120 views

ItemUpdating event receiver method yielding COMException in MOSS 2007

I implemented an event receiver and attached it to a MOSS 2007 document library. I overrode the synchronous itemUpdating method and perform some validation before letting the update operation proceed. ...
Web User's user avatar
  • 229
1 vote
1 answer
537 views

Exception: The search request was unable to execute on FAST Search Server

I evaluate an application which will use search technology. In our SharePoint 2010 farm we use FAST Search for SharePoint 2010 as our search engine. There are 1424 results for following query: ...
Yavuz's user avatar
  • 333
2 votes
1 answer
2k views

Index out of range for delete in gridview

The following is the code to delete a row from Grid View and update the Content list thereby. But it gives Index out of range exception. protected void GridViewD_RowDeleting(object sender, ...
Shahroz Shaikh's user avatar
0 votes
0 answers
646 views

SP2013: Can't add my new content type to a list (0x8102005a)

I created a custom content type, and filled it with all of the fields that I need it to have. However, when I go to add it to my list, I get this fatal error instead. I checked the ULS logs, nothing ...
reversedelta's user avatar
1 vote
1 answer
522 views

ThreadAbortException on SPWeb.ProcessBatchData

I am trying to update ~2000 list items with SPWeb.ProcessBatchData. After exception on all items at a time, I tried them in small batches like 100 and 200 but after executing first 1 or 2 batches i.e. ...
Ashish's user avatar
  • 401
1 vote
1 answer
457 views

Security Exception when calling WCF Service from Sharepoint 2013 Visual webpart

Want to call WCF service from Sharepoint 2013 Visual Web Part; when using this Service from Console it works perfectly. I receive following Security Exception when using svc from webpart: Request ...
andriumota's user avatar
0 votes
0 answers
332 views

Requested value 'CheckBoxes' was not found

There's a weird thing happening with my Windows application. I have created a Sharepoint utility to automate the creation of content-types and site-columns. At a point where I try to get my available ...
Abhishek's user avatar
  • 163
2 votes
1 answer
3k views

How to get FaultException details?

I am getting exception as below while updating list column: System.ServiceModel.FaultException: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown. Server ...
Ashish's user avatar
  • 401
0 votes
1 answer
229 views

Why is IsCurrentUserMemberOfGroup throwing an exception when run on SPSite.RootWeb?

Running this code in PowerShell (or even in a web context in C#) gives an unexpected behavior: Calling IsCurrentUserMemberOfGroup directly on the RootWeb object gives an exception, and worse: it ...
anderaus's user avatar
  • 507
1 vote
1 answer
156 views

How can i write exception errors to a multiline text field in a SharePoint list from an event receiver

I have a document library on my SharePoint online site, when a user uploads a file in the library a c# itemAdded event is triggered to read the file and store the information in a separate list. This ...
Egor's user avatar
  • 45
1 vote
1 answer
12k views

WebPart: Could not find default endpoint element that references contract

We have a custom WebPart solution (SharePoint 2013 SP1) that needs to communicate with a Web Service that is not located on our SharePoint farm. I went through the regular motions of adding a Service ...
MAllen22842's user avatar
  • 1,030
1 vote
2 answers
1k views

"Page cannot be displayed" when uploading a file greater than 180MB

On our SharePoint 2013 Enterprise install (SP1), we are experiencing issues when uploading files greater than 180MB. When the dialog box states that the file is being uploaded, after approx 60 ...
Rob Sked's user avatar
  • 431
0 votes
1 answer
523 views

File is not checked out Exception in Publishing Page with WebParts

I have a problem with Sharepoint 2010. When I edit a publishing page (checked in) without webparts: 1 - (Checked out the page automatically) 2 - It's all OK I can edit the page. When I edit a ...
user2606180's user avatar
0 votes
2 answers
974 views

Field not found exception

I have an ASP.NET Web Service (ASMX) and a class for working with lists (CRUD operations). Web service's method calls method (retrieve item from list) from CRUD-operations class and then I recieve an ...
Denis Bednov's user avatar
3 votes
3 answers
6k views

New-SPWeb : Cannot find an SPSite object that contains the following Id or Url:

While Running Following command: New-SPWeb -url "https://xyz.com/sites/" -name "apple" -template STS#0 I received following error: New-SPWeb : Cannot find an SPSite object that contains the ...
allegro octopus's user avatar
0 votes
1 answer
1k views

Calling SPWeb.DoesUserHavePermissions() for "outdated" user accounts throws SystemException

I'm facing problems when calling SPWeb.DoesUserHavePermissions() for outdated user accounts. Within a timer job I want to check if all users in SPSite.RootWeb.SiteUsers still have access to that site:...
jcp's user avatar
  • 1,464
0 votes
1 answer
1k views

why I get an exception "the file has been modified by..." when changing fields?

I'm trying to change a field in the inner xlm of a document in a form library in Sharepoint 2013 but when I try to save the changes (second time, I click the Save button two times) I got an exception "...
Luis Molina's user avatar
0 votes
0 answers
140 views

Sandbox Proxy in SharePoint 2010-Unhandled exception was thrown by the sandboxed code wrapper's Execute method

I Implemented a Sandbox Proxy in SharePoint 2010 and deployed. But when I access it in SharePoint site it gives error which I wanted to overcome it sandboxed solution. "Unhandled exception was ...
Sivakumar Piratheeban's user avatar
0 votes
1 answer
2k views

Request for the permission of type 'System.Net.WebPermission error only for sandboxed solutions

I have created a farm solutions to access external webservice an created a webpart. After deployed the solution it works fine. Then requirement has been changed. So I changed the application to ...
Sivakumar Piratheeban's user avatar
1 vote
1 answer
7k views

Why do I get <nativehr>0x80131904</nativehr> when connecting to a Site-URL?

I have a virtual machine I use for SharePoint 2010 developement. On this machine I have all rights all permissions. The SQL Server runs there and SharePoint is installed. In this VM I created a ...
チーズパン's user avatar
1 vote
2 answers
578 views

Advanced Search "Does Not Contains" your query is malformed

When I am using advanced search and selecting the property from first dropdown and selecting "Does not equal" or "Does not contain" and clicking on search button, result is showing me that "Your ...
Varun Verma's user avatar
  • 1,767