[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ASP.NET Crystal Reports 2008 (FULL 12.0.2000.0)

Posted on 2009-05-07
7
Medium Priority
?
2,749 Views
Last Modified: 2012-05-06
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_Solution_Conversion.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
0
Comment
Question by:CyberUnDead
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 24325995
Did you change the applicationto use the CR2008 runtimes?

mlmcc
0
 

Author Comment

by:CyberUnDead
ID: 24326281
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
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24326574
Did you also replace the viewer?

mlmcc
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:CyberUnDead
ID: 24326757
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.
// 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"/>

Open in new window

0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24327036
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
0
 

Accepted Solution

by:
CyberUnDead earned 0 total points
ID: 24329918
Solved:

Apparently in Crystal Reports 2008 (12.0.2000.0) one has to explicitly declare the content body the report to be visible.   Wow.

[CrystalReportViewer].DisplayPage = true;

Where [CrystalReportViewer] is the name of your viewer object.

Thanks for all your attempts mlmcc.  It was a viewer problem in such my original code did not use this property and again apparently it is set to false as a default.  So it gave the impression my report was blank in reality it was hidden.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 24331303
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
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question