装了英文版的后呢出现了如下错误: 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
两种解决办法:
1、装英文版的Treeview
2、web.config里
<globalization requestEncoding="gb2312" responseEncoding="gb2312" />
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