Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/31.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ASP.NET web应用程序中的Crystal报表查看器_Asp.net_Crystal Reports_Report_Viewer_Subreport - Fatal编程技术网

ASP.NET web应用程序中的Crystal报表查看器

ASP.NET web应用程序中的Crystal报表查看器,asp.net,crystal-reports,report,viewer,subreport,Asp.net,Crystal Reports,Report,Viewer,Subreport,我们有一个内部带有SAP Crystal Report Viewer的ASP.NET web应用程序,用于显示应用程序中的Crystal报表。我们正在尝试确定Crystal Reports或Crystal Report Viewer是否存在问题。我们创建了一些包含子报表的报表,并将它们加载到我们的应用程序中。每当我们尝试在报表查看器中运行包含子报表的报表时,它都会出错并失败。对于我们的任何其他报告,如果没有子报告,这从来都不是问题 我们已经创建了带有子报告的报告,其中程序是外部的。我们还尝试将子

我们有一个内部带有SAP Crystal Report Viewer的ASP.NET web应用程序,用于显示应用程序中的Crystal报表。我们正在尝试确定Crystal Reports或Crystal Report Viewer是否存在问题。我们创建了一些包含子报表的报表,并将它们加载到我们的应用程序中。每当我们尝试在报表查看器中运行包含子报表的报表时,它都会出错并失败。对于我们的任何其他报告,如果没有子报告,这从来都不是问题

我们已经创建了带有子报告的报告,其中程序是外部的。我们还尝试将子报告嵌入到报告中。我们还尝试调用子报告或向子报告发送参数。他们似乎都帮不了忙

错误#1

存储过程中的参数太多了,但是 当我们检查应用程序时,它具有相同数量的参数

错误#2是:


这些报告在我们的开发人员机器上工作,并作为Crystal报告项目在Visual Studio中运行。在两台不同的机器上。但是,当我们尝试在应用程序中通过crystal report viewer运行它时,他们通常会给出错误#1

您是否尝试在crystal Reports中对您的报告执行数据库验证?它可能与您的数据库不同步

另外,作为创建自己的web查看器的替代方法,请在上查看Report Runner web Portal

 /aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4
'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