程序生成的时候无误,但"调试-->开始执行"的时候经常有下面的一个错误出现,注销或重启以后就没问题了.
请问坛子里面的高手,如何解决啊??注:分析器错误信息: 访问被拒绝:“microsoft.web.ui.webcontrols”中的“microsoft.web.ui.webcontrols”可能会是其他的一些,比如我写的自定义控件的名字.“/WebApplication3”应用程序中的服务器错误。
--------------------------------------------------------------------------------配置错误 
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“microsoft.web.ui.webcontrols”。源错误: 
行 256:                <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 257:                <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
行 258:                <add assembly="*"/>
行 259:            </assemblies>
行 260:
 源文件: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config    行: 258 程序集加载跟踪: 下列信息有助于确定程序集“microsoft.web.ui.webcontrols”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = microsoft.web.ui.webcontrols
 (Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/WebApplication3
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: microsoft.web.ui.webcontrols
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webapplication3/4c790788/4b8c4c7/microsoft.web.ui.webcontrols.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/webapplication3/4c790788/4b8c4c7/microsoft.web.ui.webcontrols/microsoft.web.ui.webcontrols.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/WebApplication3/bin/microsoft.web.ui.webcontrols.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=null 
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2032; ASP.NET 版本:1.1.4322.2032

解决方案 »

  1.   

    webcontrols应该是不用注册的吧?把dll拷贝到bin目录下就行的呀?
      

  2.   

    我已经引用了microsoft.web.ui.webcontrols.dll这样的文件了啊....会不会是我安装的问题呢..alickjoe(博子),我单位其他的人也基本上没遇见这个问题,就让我撞上了.
      

  3.   

    把程序拷到别的文件夹下试试 不要放在c:/inetpub/wwwroot目录下
      

  4.   

    .net开发,老出一点莫名奇秒的问题, 俺也不知道咱的了