有时编译项目时总是出现这样的错误,如下.然后如果打开该项目的所有页面都会出现这个提示,要不等很长一段时间,要不重启电脑,才可以恢复正常错误提示如下:
“/web”应用程序中的服务器错误。
--------------------------------------------------------------------------------配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“DataProvider”。源错误:
行 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>
源文件: d:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198 程序集加载跟踪: 下列信息有助于确定程序集“DataProvider”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = DataProvider
(Partial)
LOG: Appbase = file:///D:/ocCard/OCardSite/web
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: DataProvider
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/web/ff2664fd/bc524b08/DataProvider.DLL.
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/web/ff2664fd/bc524b08/DataProvider/DataProvider.DLL.
LOG: Attempting download of new URL file:///D:/ocCard/OCardSite/web/bin/DataProvider.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: DataProvider, Version=1.0.2040.41893, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300
“/web”应用程序中的服务器错误。
--------------------------------------------------------------------------------配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“DataProvider”。源错误:
行 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>
源文件: d:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config 行: 198 程序集加载跟踪: 下列信息有助于确定程序集“DataProvider”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = DataProvider
(Partial)
LOG: Appbase = file:///D:/ocCard/OCardSite/web
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: DataProvider
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/web/ff2664fd/bc524b08/DataProvider.DLL.
LOG: Attempting download of new URL file:///D:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/web/ff2664fd/bc524b08/DataProvider/DataProvider.DLL.
LOG: Attempting download of new URL file:///D:/ocCard/OCardSite/web/bin/DataProvider.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: DataProvider, Version=1.0.2040.41893, Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300
为什么会这样呢?
高人快现身帮我们解答下下呀,谢谢了