I have an custom service with one dll. Everything was working fine. However, I've decided to simply add one line to the code:

RequestFormat = WebMessageFormat.Json,

Specifycing request format, nothing huge. I've published WSP package, deployed with -GacDeployment flag, and now I'm getting such an error in event log:

Exception: System.ServiceModel.ServiceActivationException: The service '/_vti_bin/XXX/XXX/XXX.svc' cannot be activated due to an exception during compilation.  The exception message is: Could not load file or assembly 'Microsoft.SharePoint.Client.ServerRuntime, Version=, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified

I've checked GAC, and have both 15.0.0 and 16.0.0 versions of this dll present under folder:


Any ideas?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.