Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
1answer
13 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 ...
0
votes
0answers
23 views

exception from hresult 0x80040e14 after workflow errors

I'm facing a problem with SharePoint 2013. I have an internal list with a simple workflow associated that triggers when an item is created. The workflow populates a "users" type field with the string ...
0
votes
1answer
80 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 ...
0
votes
0answers
163 views

Mailbox unavailable. The server response was: 5.7.1 Unable to relay for

We have configured SMTP server on our Dev Env. Have done the required settings in CA. Below is the code to prepare email subject, body and other parameters and to send email LstEmailer emailData = ...
0
votes
0answers
23 views

Hosted site can run SharePoint designer workflow but not Visual Studio workflow

There is a hosted site where my SharePoint designer site workflows are able to run but my Visual Studio site workflows get an error. The Visual Studio workflows work on other hosted sites so it's not ...
1
vote
2answers
327 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 ...
6
votes
1answer
5k 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("...
0
votes
1answer
58 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 ...
1
vote
2answers
869 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 (...
1
vote
0answers
274 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
61 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/...
1
vote
1answer
47 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 ...
2
votes
0answers
159 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 ...
3
votes
1answer
158 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 ...
1
vote
1answer
268 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. ...
0
votes
1answer
778 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 ...
2
votes
0answers
53 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 ...
1
vote
0answers
101 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. ...
2
votes
1answer
85 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. ...
1
vote
1answer
438 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: ...
2
votes
1answer
686 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, ...
0
votes
0answers
481 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 ...
1
vote
1answer
330 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. ...
1
vote
1answer
363 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 ...
0
votes
0answers
234 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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
201 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 ...
1
vote
1answer
145 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 ...
1
vote
1answer
10k 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 ...
1
vote
2answers
923 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 ...
0
votes
1answer
475 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 ...
0
votes
2answers
558 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 ...
3
votes
3answers
4k 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 ...
0
votes
1answer
725 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:...
0
votes
1answer
923 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 "...
0
votes
0answers
127 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 ...
0
votes
1answer
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 ...
0
votes
0answers
3k views

Could not find default endpoint element that references contract 'ServiceReference1.IService1' in the ServiceModel client configuration section

I created a WCF service application using SharePoint and in the same solution I have created a SharePoint project to call WCF service. When I deploy the solution it gives a warning. The 'contract' ...
1
vote
1answer
5k 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 ...
1
vote
2answers
427 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 ...