/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4
我们有一个带有SAP Crystal Report Viewer的ASP.NET Web应用程序,用于显示我们在应用程序中使用的Crystal报表。我们试图确定我们的Crystal Reports或Crystal Report Viewer是否有问题。我们创建了一些包含子报告的报告,并将它们加载到我们的应用程序中。每当我们尝试在报告查看器中运行带有子报告的报告时,它都会提供错误并失败。对于我们其他任何没有子报告的报告来说,这从来都不是问题。ASP.NET Web应用程序中的Crystal Report Viewer
我们已经创建了子报表,其中的程序是外部的。我们也尝试在报告中嵌入子报告。我们还尝试让子报告调用或向子报告发送参数。他们似乎都没有帮助。
错误#1是存储过程中的参数太多 - 但是当我们检查我们的应用程序时,它有相同数量的参数。
错误#2:
'C:\inetpub\wwwroot\Train\Reports\Rpt_PublicSafetyProposed.rpt' could not be loaded! The error message is: Length cannot be less than zero. Parameter name: length#### at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at reportdisplay.ConfigureReportParameters() in C:\inetpub\wwwroot\Train\reportdisplay.aspx.vb:line 58 at reportdisplay.ConfigureCrystalReports() in C:\inetpub\wwwroot\Train\reportdisplay.aspx.vb:line 22
报告我们的开发机器上工作运行它的Visual Studio的水晶报表项目。在两台不同的机器上。但是,当我们尝试通过应用程序中的Crystal报表查看器运行它时,它们通常会提供错误#1