My problem is that when I ran my project locally it worked just fine. But when I publish to my IIS server I get an error saying.
Could not load file or assembly 'Microsoft.Owin' or one of its dependencies
When I fixed the Microsoft.Owin problem there was a problem with System.Web.Http. Why is it only a problem after I publish?
For some reason that I can't explain (please do if you know why) it worked to use my web.release.config
instead of web.debug.config
. I copied my entire web.debug.config
to web.release.config
and it worked.