Could not load file or assembly 'Microsoft.VisualStudio.Web.PageInspector.Loader

后端 未结 14 1813
清酒与你
清酒与你 2020-12-12 23:31
Could not load file or assembly \'Microsoft.VisualStudio.Web.PageInspector.Loader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\' or one of its depen         


        
14条回答
  •  猫巷女王i
    2020-12-12 23:52

    Had a similar problem (another assembly) and for me it was a missing line in the web.config on the machine. A line that I think lets the web server load (any?) dll. I had to add "*" to the compilation-assemblies list in the web.config:

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config
    

    Like this

        
          
            ...
            
          
        
    

    To find it I had to compare the file with one from a working server. So it seems to me that It really is a load failure, but to determine why it fails, we need to be Sherlook H.. Normally I use a tool like ProcessMonitor to find out why I get a Load Failure, but this time, of course, it gave me no useful output.. IIS never tried to load the assembly!

提交回复
热议问题