突然间,当我尝试使用IIS为Web应用程序提供服务时,我一直在此计算机上发生奇怪的COMException。我从来没有遇到任何问题。Web应用程序出现随机COMException“该句柄无效”
堆栈跟踪:
[COMException (0x80070006): The handle is invalid. (0x80070006 (E_HANDLE))] [FileLoadException] System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +0 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
我怎样才能解决这个问题?我需要这台服务器今天晚些时候进行演示。
事情我已经尝试:
- 停止/启动IIS中
- ASPNET_REGIIS -i
- 重启
我想过把这个问题放在ServerFault上,但我相信这是ASP.NET的问题 – 2010-02-03 15:17:49
最奇怪的事情是这样的:我在这个web应用程序中没有COM对象。 – 2010-02-03 15:20:20