配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误信息: 访问被拒绝:“ICSharpCode.SharpZipLib”。
源错误:
行 196: <add assembly=”System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/>
行 197: <add assembly=”System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”/>
行 198: <add assembly=”*”/>
行 199: </assemblies>
行 200: </compilation>
源文件: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198
程序集加载跟踪: 下列信息有助于确定程序集“ICSharpCode.SharpZipLib”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = ICSharpCode.SharpZipLib
(Partial)
LOG: Appbase = file:///D:/Inetpub/wwwroot/TopWin
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: ICSharpCode.SharpZipLib
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/topwin/c4e73ab5/7a26fd00/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/topwin/c4e73ab5/7a26fd00/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.DLL.
LOG: Attempting download of new URL file:///D:/Inetpub/wwwroot/TopWin/bin/ICSharpCode.SharpZipLib.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: ICSharpCode.SharpZipLib, Version=0.81.0.1407, Culture=neutral, PublicKeyToken=1b03e6acf1164f73
可以尝试把SharpZipLib.dll copy到bin目录下,然后重新引用