Tag Archives: site-binding

Error while loading Infopath form ” An error occurred while trying to connect to a web service ” SharePoint 2010

Error :

We are getting below error while loading infopath form in SharePoint 2010:

error connecting webservice infopatherror-1

error connecting webservice infopatherror-1

Solution :

This has nothing to do with Infopath forms data connection or republish.

We have to make an entry in HOST file for each of WFE’s & adding site binding in the IIS web site for the web application having issue. This fixed the issue.

error connecting webservice infopatherror-2

error connecting webservice infopatherror-2

error connecting webservice infopatherror site binding

error connecting webservice infopatherror site binding

Advertisements
WebHost failed to process a request service client.svc cannot be activated

WebHost failed to process a request service client.svc cannot be activated

Advertisements
Advertisements

WebHost failed to process a request service client.svc cannot be activated

I installed SharePoint 2010 and SharePoint designer 2010. If i try to open a site with the SharePoint designer it tries to open the site but gives a error in the event log is the following: "WebHost failed to process a request service client.svc cannot be activated"

WebHost failed to process a request.

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

Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.

Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.

Parameter name: item

at System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item)

at System.Collections.Generic.SynchronizedCollection`1.Add(T item)

at System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses)

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

at System.ServiceModel.Activation.ServiceHostFactory.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: 3464

Solution :

What happened I created a site and in IIS I made a new binding so there was http://microsoftsharepointsupport.blogspot.com default from sharepoint and http://www.microsoftsharepointsupport.blogspot.com this is a multiple binding which caused the error.

Advertisements
Advertisements