这个问题我也遇到过。不过错误的行好象是79行和82行。我是把$wwwroot/webctrl_client/1_0/treeview.htc的79行和82行的两个字符串改为空来解决的

解决方案 »

  1.   

    我知道的。你是不是装的是中文版的?
    两种解决办法:
    1、装英文版的Treeview
    2、web.config里 
    <globalization requestEncoding="gb2312" responseEncoding="gb2312" />
      

  2.   

    应该是TreeView的问题,再下一个新的版本吧
      

  3.   

    http://msdn.microsoft.com/downloads/samples/internet/ASP_DOT_NET_ServerControls/WebControls/default.asp
      

  4.   

    ymyy (ymyy)我的办法没用吗?
      

  5.   

    装了英文版的后呢出现了如下错误:
    Server Error in '/Welloa2000' 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: File or assembly name Microsoft.Web.UI.WebControls, or one of its dependencies, was not found.Source Error: 
    Line 1:  <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
    Line 2:  <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="Welloa2000.WebForm1" %>
    Line 3:  <%@ Register TagPrefix="iewc1" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
     Source File: C:\Inetpub\wwwroot\Welloa2000\WebForm1.aspx    Line: 1 Assembly Load Trace: The following information can be helpful to determine why the assembly 'Microsoft.Web.UI.WebControls' could not be loaded.
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral, PublicKeyToken=31bf3856ad364e35
     (Fully-specified)
    LOG: Appbase = file:///C:/Inetpub/wwwroot/Welloa2000
    LOG: Initial PrivatePath = bin
    Calling assembly : (Unknown).
    ===LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
    LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
    LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.116, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/welloa2000/537f6a22/241dfe7/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/welloa2000/537f6a22/241dfe7/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Welloa2000/bin/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Welloa2000/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/welloa2000/537f6a22/241dfe7/Microsoft.Web.UI.WebControls.EXE.
    LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/welloa2000/537f6a22/241dfe7/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Welloa2000/bin/Microsoft.Web.UI.WebControls.EXE.
    LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/Welloa2000/bin/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.EXE. 
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
      

  6.   

    Version=1.0.2.116,是中文的,英文的要改Version=1.0.2.226,
      

  7.   

    如果发布的话,bin目录要包含Microsoft.Web.UI.WebControls.dll