CyberUnDead
asked on
ASP.NET Crystal Reports 2008 (FULL 12.0.2000.0)
I have developed a ASP.NET Web Application using the CR.NET 2008 Basic (10.5.3700.0). runtime. I am ready to use the full version of Crystal Reports 2008 so I installed the Developers Edition.
I have upgraded the reports/solution using the automatic tool see attached screenshot: Crystal_Reports_2008_Solut ion_Conver sion.png. The Business Objects Visual Studio Integration Manager tool shows that I am using the full runtime (12.0.2000.0).
The application compiles and runs fine. However when I load a report a into the CrystalReportViewer the first time I receive the error:
Value cannot be null. Parameter name: inputString
The second time the report viewer is empty (blank) no error. I have scoured my code and the report itself and I can not find the parameter/variable inputString. Now development started in 2007 in Visual Studio 2005 with VB.NET and over the years has been migrated to C# in Visual Studio 2008. The reports however were always targetting the CR.NET Basic runtime. I need the full version to utilize the royalty free Developer's Advantage license from SAP.
I am including screenshots to illustrate the report working and not working.
I can change the assembly references in the web.config from 12.0.2000.0 back to 10.5.3700.0 and the report shows up correctly again.
Visual-Studio-Integration-Manage.png
Working-Report.png
Not-Working-Error.png
Crystal-Reports-2008-Solution-Co.png
I have upgraded the reports/solution using the automatic tool see attached screenshot: Crystal_Reports_2008_Solut
The application compiles and runs fine. However when I load a report a into the CrystalReportViewer the first time I receive the error:
Value cannot be null. Parameter name: inputString
The second time the report viewer is empty (blank) no error. I have scoured my code and the report itself and I can not find the parameter/variable inputString. Now development started in 2007 in Visual Studio 2005 with VB.NET and over the years has been migrated to C# in Visual Studio 2008. The reports however were always targetting the CR.NET Basic runtime. I need the full version to utilize the royalty free Developer's Advantage license from SAP.
I am including screenshots to illustrate the report working and not working.
I can change the assembly references in the web.config from 12.0.2000.0 back to 10.5.3700.0 and the report shows up correctly again.
Visual-Studio-Integration-Manage.png
Working-Report.png
Not-Working-Error.png
Crystal-Reports-2008-Solution-Co.png
ASKER
mlmmc:
I don't follow do you mean as references? I am attaching a screenshot of my project's references which do list 12.0.2000.0. I did change my setup projects prerequisites to look for/install Crystal Reports 2008 full runtime but this problem is occurring during debug mode on my development PC.
Crystal-Reports-References.png
I don't follow do you mean as references? I am attaching a screenshot of my project's references which do list 12.0.2000.0. I did change my setup projects prerequisites to look for/install Crystal Reports 2008 full runtime but this problem is occurring during debug mode on my development PC.
Crystal-Reports-References.png
Did you also replace the viewer?
mlmcc
mlmcc
ASKER
mlmcc:
I am including the markup code from the Master Page that hosts the CrystalReportsViewer. I use a tag prefix so I am including the appropriate lines from the web.config. The first defines the tag while the second as previously established determines the assembly reference.
I am including the markup code from the Master Page that hosts the CrystalReportsViewer. I use a tag prefix so I am including the appropriate lines from the web.config. The first defines the tag while the second as previously established determines the assembly reference.
// ASPX Page Markup
<crystalReports:CrystalReportViewer ID="crystalViewer" runat="server" AutoDataBind="true"/>
// Web.Config
<add tagPrefix="crystalReports" namespace="CrystalDecisions.Web" assembly="CrystalDecisions.Web"/>
<add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Looks good but I am not a web/ASP person.
If it is getting the viewer from the VS2008 assembly, that is based on CR10 and doesn't support optional parameters.
mlmcc
If it is getting the viewer from the VS2008 assembly, that is based on CR10 and doesn't support optional parameters.
mlmcc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have used CR2008 with an application so I wasn't aware of that.
Click the DELETE QUESTION link in the question body and follow the prompts to close this question using your last comment as the answer.
mlmcc
Click the DELETE QUESTION link in the question body and follow the prompts to close this question using your last comment as the answer.
mlmcc
mlmcc