请大神指点——灾难性故障

风寒晓 2015-10-29 08:43:51
隔几天打开OA,就会出现这样的情况,重启IIS就好了,求大神抽空指点。


Server Error in '/EFNET' Application.

Could not load file or assembly 'SharpZipLib, Version=0.3.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. 灾难性故障 (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'SharpZipLib, Version=0.3.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. 灾难性故障 (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'SharpZipLib, Version=0.3.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' could not be loaded.


警告: 程序集绑定日志记录被关闭。
要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。
注意: 会有一些与程序集绑定失败日志记录关联的性能损失。
要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

Stack Trace:


[FileLoadException: Could not load file or assembly 'SharpZipLib, Version=0.3.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. 灾难性故障 (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]
tw.com.dsc.dscDotNet.kernelBasePage.DSCBasePage..cctor() in d:\打包區\PlatformUtil_2.2\PlatformUtil_Component\ClassLib\KernalBasePage\DscBasePage.cs:2773

[TypeInitializationException: The type initializer for 'tw.com.dsc.dscDotNet.kernelBasePage.DSCBasePage' threw an exception.]
tw.com.dsc.dscDotNet.kernelBasePage.DSCBasePage..ctor() in d:\打包區\PlatformUtil_2.2\PlatformUtil_Component\ClassLib\KernalBasePage\DscBasePage.cs:2654
tw.com.dsc.easyflowDotNet.kernelBasePage.EFDSCBasePage..ctor() +107
EasyFlow.AppUtil.EFHome.EFHomePage..ctor() +60
ASP.src__common_apputil_efhome_efhomepage_aspx..ctor() +13
__ASP.FastObjectFactory_app_web_k35s_106.Create_ASP_src__common_apputil_efhome_efhomepage_aspx() +20
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
...全文
1203 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
风寒晓 2015-10-29
  • 打赏
  • 举报
回复
引用 1 楼 slwsss 的回复:
System.IO.FileLoadException: Could not load file or assembly 'SharpZipLib 缺少这个SharpZipLib库
先谢谢回复。但是为啥重启IIS 就又不报错了呢。
slwsss 2015-10-29
  • 打赏
  • 举报
回复
System.IO.FileLoadException: Could not load file or assembly 'SharpZipLib 缺少这个SharpZipLib库

8,327

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 IIS
社区管理员
  • IIS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧