I am having issues upgrading a site from 8.2 to 9. I am thinking a an outside web service (web service on another server) call is the issue.
To troubleshoot, I setup a base Kentico 9 site then added a web service reference.
I get the following error on the demo base Kentico 9 site after adding the web reference.
Reference.svcmap: Could not load file or assembly 'System.Web.Http, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
After the failure in Kentico 9, I set up a new test basic test site using ASP.net Web Forms site 4.5 framework in VS2015 and added the same web reference. The basic ASP.net site work fine with the web reference.
Hi Roman, found the answer to it. The web service was set up incorrectly in version 8. I am not sure why it did not failed then. Here is the link to the solution.
Can you see System.Web.Http.dll in bin folder of your application?
You may need to restore nuget packages if any or add reference manually.
Please, sign in to be able to submit a new answer.