Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
tried to update from V7.5.3 to V7.15.1. When I tried to update I got the above error. What I did
Downloaded and extracted
Replaced bin,umbrco,umbraco client folders with old site
merged the settings in web.config file
I got the following error
Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Could not load file or assembly 'System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
tried to update from V7.5.3 to V7.15.1. When I tried to update I got the above error. What I did
I got the following error
Hi Sarath,
Check the version System.Web.Http which you have in your bin directory. Then check which version your web.config reference. They should match.
Mila
Hello Sarath,
the dll reference might be missing or the the dll version and web.config version of dll are different
Hi
just had the same issue after upgrading some packages (did a few, so can't say which one).
but what had changed in the web.config was this line:
had become
I changed it back to
4.0.0.0
and the site now boots (not 100% sure if all the packages work, but that is next on the list.Thanks. It works
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" button below.
Continue discussion