Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

ListData.svc fails on certain webs in a site with NullReferenceException at Microsoft.SharePoint.Linq.ListDataService..ctor

$
0
0

Hi

We have OData Rest ListData.svc service failing under some of the webs in the same site collection and in different site collections under the same web apps, anonymous access disabled.ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2 is installed.

Examples:

https://webapp.company.com/L1SubWeb/_vti_bin/ListData.svc succeeds

https://webapp.company.com/L1SubWeb/L2SubWeb/_vti_bin/ListData.svc fails

or

https://webapp.company.com/sites/RootWebOne/_vti_bin/ListData.svc succeeds

https://webapp.company.com/sites/RootWebTwo/_vti_bin/ListData.svc fails

I've reproduced this on two different farms, the service fails with

"

Request Error 
The server encountered an error processing the request. See server logs for more details.

"

LogName:     Application

Source:       System.ServiceModel 3.0.0.0

Date:         27.12.2012 ****

Event ID:     3

Task Category: WebHost

Level:        Error

Keywords:     Classic

WebHost failed to process a request.

 Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/30180123

 Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/ListData.svc' cannot be activated due to an exception during compilation. The exception message is: Exception has been thrown by the target of an invocation.. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.SharePoint.Linq.ListDataService..ctor()

I reviewed the following

For security reasons DTD is prohibited in this XML document ... and problem with REST connection to sharepoint foundation 2010 lists

to no avail yet.

Any hints would be appreciated.


Viewing all articles
Browse latest Browse all 13778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>