I’m using the ASP.NET Web API in my site. When I add it to my Rackspace cloud site, the assemblies in my web.config aren’t recognized. I’m getting configuration errors, such as:
Could not load file or assembly ‘System.Json, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
Rackspace Support says I need to add the dll files. Does this mean they don’t support ASP.NET Web API? Is it possible to add the dll files myself? If yes, where do I get them from?
TIA
I was able to get this working by copying the DLL files from my C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies folder.