Error in adding web-service to project

Jan 11, 2010 at 1:26 PM
Edited Jan 11, 2010 at 1:30 PM

I want to add service reference to the project which is a console application. But it doesn't work. It gives error as:


Add service reference error:

The HTML document does not contain Web service discovery information.
Metadata contains a reference that cannot be resolved: 'http://v-blue15:1110/sites/Lab07/_vti_bin/ListData.svc'.
The requested service, 'http://v-blue15:1110/sites/Lab07/_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.


Also in the event viewer it specifies as :


 

Application Server job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (4e9496fa-9e61-4b82-9284-c0c74cf6e31b).

Reason: The object you are trying to create already exists. Try again using a different name.

Technical Support Details:

System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name.

at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()

at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)


  

WebHost failed to process a request.

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

Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/ListData.svc' cannot be activated due to an exception during compilation. The exception message is: Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly 'Microsoft.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.. ---> System.TypeLoadException: Could not load type 'System.Data.Services.Providers.IDataServiceUpdateProvider' from assembly 'Microsoft.Data.Services, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)

at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)

at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)

at System.Type.GetType(String typeName, Boolean throwOnError)

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: 27632


 Please help me regarding the issue.