Server Error in '/10' Application.
--------------------------------------------------------------------------------Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type System.Web.UI.WebControls.TreeView from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.Source Error:
Line 144:<tr height="328">
Line 145: <td valign="top" bgcolor="#E0E9EF">
Line 146: <asp:TreeView ID="TreeView1" runat="server" Font-Size="X-Small" BorderStyle="None" ForeColor="Black" NodeWrap="True" ShowLines="True" ExpandDepth="1">
Line 147: </asp:TreeView>
Line 148: </td>
Source File: G:\10\main.aspx Line: 146
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
--------------------------------------------------------------------------------Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type System.Web.UI.WebControls.TreeView from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.Source Error:
Line 144:<tr height="328">
Line 145: <td valign="top" bgcolor="#E0E9EF">
Line 146: <asp:TreeView ID="TreeView1" runat="server" Font-Size="X-Small" BorderStyle="None" ForeColor="Black" NodeWrap="True" ShowLines="True" ExpandDepth="1">
Line 147: </asp:TreeView>
Line 148: </td>
Source File: G:\10\main.aspx Line: 146
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
解决方案 »
- rand.Next(a,b)什么意思?
- 在方法中调用按钮事件。
- asp.net C# 删除ACCESS语句错误..........
- 在部署ASP.NET编写的程序时,在“添加项目输出组”对话框中,只能看到“内容文件”,看不到“主输出”,请问为什么?在线等,急死了~~~
- FCKeditor限制上传的Upload修改,请高手给点帮助
- 我刚装不久的vs2005坏了,什么原因呢???
- 有关Button的onClientClick问题, 大家都要用到的,都进来看看.
- 一个关于网站登录的问题(100分相赠)
- 我的iis啊
- 我的项目中有两个cs文件,但只编译出一个dll文件?怎样将他们编译成两个dll?
- 10.000000求上传问题
- 读取数据库的图片遇到问题!!1
这个报告的错误是找不到你TreeView控件引用的dll找到那个dll把它放到bin的目录下面应该就好了吧
那你先发布一下就可以了
就是网站项目右键 发布网站
然后把发布的文件放到虚拟目录下面应该就没有错了
不过我感觉如果你在VS中运行的时候没有问题即使直接放到虚拟目录里面应该也不会有错的
怪异
还有记得方过去的时候虚拟目录的ASP.Net属性要设置为2.0
Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
应该用asp.net2.0吧,
从装一次试试吧
然后把它放到生成出来的Bin目录下
应该可以解决啦