Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

The service '/_vti_bin/listdata.svc' cannot be activated due to an exception during compilation.

$
0
0

Hi,

I am getting the below error when i am trying to access ListData.svc :

WebHost failed to process a request.

Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/52464344

Exception: System.ServiceModel.ServiceActivationException: Theservice '/_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.ArgumentException:An item with the same key has already been added.

   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

   at Microsoft.SharePoint.Linq.DataServiceDataContext..ctor(String requestUrl)

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

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.ServiceModel.Description.ServiceDescription.CreateImplementation(Type serviceType)

   at System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts)

   at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)

   at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)

   at Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)

   at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

   --- End of inner exception stack trace ---

   at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

   at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)

Process Name: w3wp

Process ID: 912


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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