求助:网页程序内有treeview,已运行就报错
入题,查了很多资料还是没有解决,服务器没有安装vs,
承诺对于最终帮助解决问题的单独给50分,大家一定要帮帮我呀,已经浪费了很多时间了!
运行现象:
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>
------解决方案--------------------你的服务器支持asp.net 2.0吗?需要安装.Net framework 2.0
asp:TreeView 是asp.net 2.0中才有的