我重新建项目后,编译报错了 c:\WIN2K\Microsoft.NET\Framework\v1.1.4322\System.Data.dll Referenced class 'System.Data.DataSet' has base class or interface 'System.Xml.Serialization.IXmlSerializable' defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml'.
不好意思,我加了一个“System.Xml”的引用,上面那个问题是没有了,但是这个问题还是存在 “/fixincome”应用程序中的服务器错误。 --------------------------------------------------------------------------------分析器错误 说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误信息: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.源错误: 行 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="adminleft.ascx.cs" Inherits="FixIncome.admin.adminleft" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> 行 2: <%@ Register TagPrefix="iewc1" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> 行 3: <FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT> 行 4: <br> 源文件: E:\copyfromsywg20040213\3.5\FixIncome\admin\adminleft.ascx 行: 2 程序集加载跟踪: 下列信息有助于确定程序集“Microsoft.Web.UI.WebControls”无法加载的原因。 === Pre-bind state information === LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35 (Fully-specified) LOG: Appbase = file:///E:/copyfromsywg20040213/3.5/FixIncome LOG: Initial PrivatePath = bin Calling assembly : (Unknown). ===LOG: Publisher policy file is not found. LOG: No redirect found in host configuration file (C:\WIN2K\Microsoft.NET\Framework\v1.1.4322\aspnet.config). LOG: Using machine configuration file from C:\WIN2K\Microsoft.NET\Framework\v1.1.4322\config\machine.config. LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35 LOG: Attempting download of new URL file:///C:/WIN2K/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/fixincome/ec374abe/3c931066/Microsoft.Web.UI.WebControls.DLL. LOG: Attempting download of new URL file:///C:/WIN2K/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/fixincome/ec374abe/3c931066/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL. LOG: Attempting download of new URL file:///E:/copyfromsywg20040213/3.5/FixIncome/bin/Microsoft.Web.UI.WebControls.DLL. WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN -------------------------------------------------------------------------------- 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
to:CMIC(大象) 我安装了,现在出现的是“The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.”
c:\WIN2K\Microsoft.NET\Framework\v1.1.4322\System.Data.dll Referenced class 'System.Data.DataSet' has base class or interface 'System.Xml.Serialization.IXmlSerializable' defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml'.
“/fixincome”应用程序中的服务器错误。
--------------------------------------------------------------------------------分析器错误
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。 分析器错误信息: The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.源错误:
行 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="adminleft.ascx.cs" Inherits="FixIncome.admin.adminleft" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
行 2: <%@ Register TagPrefix="iewc1" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
行 3: <FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT>
行 4: <br>
源文件: E:\copyfromsywg20040213\3.5\FixIncome\admin\adminleft.ascx 行: 2 程序集加载跟踪: 下列信息有助于确定程序集“Microsoft.Web.UI.WebControls”无法加载的原因。
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///E:/copyfromsywg20040213/3.5/FixIncome
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WIN2K\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WIN2K\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/WIN2K/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/fixincome/ec374abe/3c931066/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///C:/WIN2K/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/fixincome/ec374abe/3c931066/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///E:/copyfromsywg20040213/3.5/FixIncome/bin/Microsoft.Web.UI.WebControls.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY TOKEN
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
我安装了,现在出现的是“The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match the assembly reference.”