一个困惑了我很久的ASP.NET问题
症状如下:
“/WebDemoV2”应用程序中的服务器错误。
--------------------------------------------------------------------------------
配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误信息: 访问被拒绝:“RuntimeWebPro”。
源错误:
行 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
程序集加载跟踪: 下列信息有助于确定程序集“RuntimeWebPro”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = RuntimeWebPro
(Partial)
LOG: Appbase = file:///E:/Project/Web International MIS/Demo_V2/Runtime
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: RuntimeWebPro
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webdemov2/9cb6cc63/46463c6/RuntimeWebPro.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webdemov2/9cb6cc63/46463c6/RuntimeWebPro/RuntimeWebPro.DLL.
LOG: Attempting download of new URL file:///E:/Project/Web International MIS/Demo_V2/Runtime/bin/RuntimeWebPro.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: RuntimeWebPro, Version=1.0.1936.16846, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300
我怀疑是不是ASP.NET本身的问题,有时候我编译完Ctrl+F5执行后就显示上面这个报错页面,我无需做任何改动,只要等待大概10分钟左右,自动就好了。我尝试过Kill ASP.NET Worker Process也无效。我在多台机器上都碰到过类似问题了,有谁能帮忙解决一下吗?谢谢了!