Its so unsatisfying when that fixes it. [cid:image001.jpg@01CD069B.5C97EB50] ________________________________ James Boman ■ Telephone: +61 (08) 7200 1100 ■ Mobile: +61 (0) 417 857 298 ■ Web: http://www.ipmo.com.au || http://www.projectserver.com.au
From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Tuesday, 20 March 2012 12:46 PM To: ozMOSS (ozmoss@ozmoss.com) Subject: [RESOLVED] VS2010 can't connect to ListData.svc Rebooted all farm servers. :| From: ozmoss-boun...@ozmoss.com<mailto:ozmoss-boun...@ozmoss.com> [mailto:ozmoss-boun...@ozmoss.com]<mailto:[mailto:ozmoss-boun...@ozmoss.com]> On Behalf Of Paul Noone Sent: Tuesday, 20 March 2012 11:57 AM To: ozMOSS (ozmoss@ozmoss.com<mailto:ozmoss@ozmoss.com>) Subject: VS2010 can't connect to ListData.svc Hi all, A quick net search reveals I'm not alone with this issue but I've applied all suggested resolutions and still can't connect. I can hit the service URL through a browser both locally and remotely over http. But VS keeps chucking bizarre errors. Initially I was getting 404 or 400 errora. Since disabling anonymous access and Windows Auth on the _vti_bin directory and installing ADO.NET 1.5 CTP2 I am now receiving this error: The HTML document does not contain Web service discovery information. Metadata contains a reference that cannot be resolved: 'http://dev/_vti_bin/ListData.svc'. The requested service, 'http://dev/_vti_bin/ListData.svc' could not be activated. See the server's diagnostic trace logs for more information. If the service is defined in the current solution, try building the solution and adding the service reference again. And the Event log: Log Name: Application Source: System.ServiceModel 3.0.0.0 Date: 20/03/2012 11:44:35 AM Event ID: 3 Task Category: WebHost Level: Error Keywords: Classic User: SYD \moss Computer: DEV Description: WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/38493088 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() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) 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 System.ServiceModel.Web.WebServiceHost..ctor(Type serviceType, Uri[] baseAddresses) at System.Data.Services.DataServiceHost..ctor(Type serviceType, Uri[] baseAddresses) at Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHost..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) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath) Process Name: w3wp Process ID: 4148 Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="System.ServiceModel 3.0.0.0" /> <EventID Qualifiers="49154">3</EventID> <Level>2</Level> <Task>5</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-03-20T00:44:35.000000000Z" /> <EventRecordID>51971</EventRecordID> <Channel>Application</Channel> <Computer>DEV </Computer> <Security UserID="S-1-5-21-671855840-1878179929-22317393-21179" /> </System> <EventData> <Data>System.ServiceModel.ServiceHostingEnvironment+HostingManager/38493088</Data> <Data>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() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) 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 System.ServiceModel.Web.WebServiceHost..ctor(Type serviceType, Uri[] baseAddresses) at System.Data.Services.DataServiceHost..ctor(Type serviceType, Uri[] baseAddresses) at Microsoft.SharePoint.Client.Services.MultipleBaseAddressDataServiceHost..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) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)</Data> <Data>w3wp</Data> <Data>4148</Data> </EventData> </Event> WTF? Can anyone else connect to this service successfully?
<<inline: image001.jpg>>
_______________________________________________ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss