I have an ASP MVC project that I have not done, but I need to upload it to the IIS server. This works, but when I download it and visit the website, I get this error:
Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Everything works locally, but not on the server. Things I've already tried:
- .NET Framework Recovery
- Trying to delete 2 lines from the .NET Framework webconfig (located in: C: \ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ Config), but cannot, because the file is being used. Unable to stop process due to Access Denied error.
I found that deleting these two lines might be the solution, but I cannot delete them:
<remove assembly="Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <add assembly="Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Is there something I am missing? Any help is much appreciated! thanks
source share