cazlouise cazlouise - 1 year ago 145
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

Answer Source

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 :

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download