Upgrading to 8.2 to Kentico 9

David Pearson asked on December 12, 2016 21:05

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=, 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.

Correct Answer

David Pearson answered on December 15, 2016 15:34

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.


0 votesVote for this answer Unmark Correct answer

Recent Answers

Roman Hutnyk answered on December 13, 2016 11:06 (last edited on December 13, 2016 11:13)

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.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.