“/TreeView”应用程序中的服务器错误。
--------------------------------------------------------------------------------配置错误 
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息: 访问被拒绝:“TreeView”。源错误: 
行 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 程序集加载跟踪: 下列信息有助于确定程序集“TreeView”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = TreeView
 (Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/TreeView
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: TreeView
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/treeview/8aa28402/5cc90487/TreeView.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/treeview/8aa28402/5cc90487/TreeView/TreeView.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/TreeView/bin/TreeView.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TreeView, Version=1.0.1456.33466, Culture=neutral, PublicKeyToken=null 

解决方案 »

  1.   

    搂主你把那个TreeView控件删除,重新从拖个控件近来,然后在去改相关的id,重新生成一下,在试试!
      

  2.   

    我刚试过不行呀。。还是出现同样的问题!。
    1、C:\Inetpub\wwwroot\webctrl_client\1_0  我也把所以的问件都放进去了2、C:\Inetpub\wwwroot\TreeView\bin\Microsoft.Web.UI.WebControls.dll但还是出现了问题。。谢谢刚才这位仁兄,加油啊。。
      

  3.   

    你用的时候,是不是在引用里面没有添加引用呀,你要用IE WEB controls 的控件里面的控件的时候,必须引用,好像引用的是 Microsoft.Web.UI.WebControls.DLL ,:)