cazlouise cazlouise - 6 months ago 46
C# Question

Could not load file or assembly 'System.Web.Http.WebHost, Version=, Culture=neutral, PublicKeyToken

I have tried anything i could regarding this issue by setting the custom error as OFF. Basically what i am trying to do is deploying my application to a server however i keep getting this error, which stops me on accessing the application. its my first time seeing this error.

I could really do with some help.
Thank you in advance.

enter image description here


I think this might help you.

select the System.Web.Http.Webhost assembly in your references and alter the 'Copy Local' property to True. This site might give you an idea :