系统为win2000,用的是vs.net2003和CrystalReport10,系统没重装前还能运行,但重装后就出现以下错误了:
无效的类别字符串
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 无效的类别字符串
源错误:
行 44: TextObject Textdw,Textny;
行 45:
行 46: Textdw=cry.ReportDefinition.ReportObjects["Text14"] as TextObject;
行 47: Textny=cry.ReportDefinition.ReportObjects["Text13"] as TextObject;
行 48: Textdw.Text=dw;
源文件: C:\Inetpub\wwwroot\Zxwy\htgl\bbdwsc.aspx.cs 行: 46
堆栈跟踪:
[COMException (0x80004005): 无效的类别字符串
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218
[Exception: 加载报表失败。]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +269
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +739
CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +417
CrystalDecisions.CrystalReports.Engine.ReportDocument.s() +74
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition() +32
Zxwy.htgl.bbdwsc.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\Zxwy\htgl\bbdwsc.aspx.cs:46
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +753
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
急!!!!!!!!
请大家帮帮忙。