question

weisnh avatar image
0 Votes"
weisnh asked ·

System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation.

Hi there,

there are two WFE in my SharePoint Farm, when I access my SharePoint one of WEFs through CSOM. It turns out (500) Internal Error. Meantime I found the following error in Windows Event Viewer. How should I solve it out.



WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/22643445
Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be activated due to an exception during compilation. The exception message is: The Web application at http://win-cvr30lpg5md:8001/_vti_bin/client.svc/ProcessQuery could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.. ---> Microsoft.SharePoint.SPException: The Web application at http://win-cvr30lpg5md:8001/_vti_bin/client.svc/ProcessQuery could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
at Microsoft.SharePoint.Utilities.SPUtility.ConfigServiceHostIfClaimsAuth(ServiceHost serviceHost)
at Microsoft.SharePoint.Client.SPClientServiceHost.OnServiceHostOpening(ServiceHost serviceHost)
at Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHost.OnOpening()
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
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.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
Process Name: w3wp
Process ID: 2896

office-sharepoint-server-itpro
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I'm checking how the things are going on about this issue. Whether the post helps you?

You can accept the post as answer if it helps.

0 Votes 0 ·
trevorseward avatar image
0 Votes"
trevorseward answered ·

Try running Install-SPApplicationContent on the impacted SharePoint server(s).

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

weisnh avatar image
0 Votes"
weisnh answered ·

Hi Trevorseward,

see you once again. I solve it out buy using AAM. I assign another record in AAM (Custom) and the value is http://win-xxxxxxx:8001 to http://win-xxxxxxx:8001

impacted URL is http://win-xxxxxxx:8001

I have no idea whether or not it is better solution. but I suppose the logic should be right.

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Congratulations on solving this issue and thanks for sharing your solution.

You can mark your latest reply as the answer if you would like.

It will do great help to those who meet the similar question in this forum.

Thanks again for your contribution.

0 Votes 0 ·