cancel
Showing results for 
Search instead for 
Did you mean: 

CR for VS2010 - Progress animation issue

baby_cs
Explorer
0 Kudos

Hi,

We are in the software business for years.Till last year, our software was windows application. Now we are releasing the web interface for it. In our windows application we use crystal report for reporting. We have registered license for crystal 8.5 and 11. Now for the web, we are planning to use the same crystal features.

We downloaded CR for VS2010 and we changed configuration and everything. We tried to launch a report without parameters, it is working fine. When we trying to run a report with parameter it will show parameter popup and after giving parameter values when we press OK button it will show a progress animator and it will not close. This is what happening while pressing Next and Previous button. For Export button it is not showing any progress animation and it is working fine.

NB:

1. We are developing reports using CR 11. The same report we are using for our Windows application and web application.

2. Our windows application is developed in VDF and front end and SQL server as backend. We are using CR 11 SDK in windows application. It is working fine.

3. Our web application is developed in VS2010, SQL server and CR4VS2010, which is showing progress animation issue as mentioned above.

4. We changed CR2VS2010 to CRXIR2 for VS2005 it was working fine. We have issue only with CR4VS2010.

We are about to release our web application soon, so before releasing we want to buy the redistribution license for CR4VS2010 if there is any solution for this issue otherwise we need to think about CRXIR2.

Thanks

Baby C S

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

I'd like you to do the following tests:

1) In VS2010, create a new Windows app (see KB 1544669 - use the search box, top right corner of this web page)

2) The only code I want you to use is;

CrystalReportsViewer1.ReportSource = "<path to report that has parameters>

Make sure the report has no "Saved Data".

Run the app. The app should prompt for the parameters and then a database logon if one is required.

Does this app work?

3) In VS2010, create a new Web app

2) The only code I want you to use is;

CrystalReportsViewer1.ReportSource = "<path to report that has parameters>

Run the app. The app should prompt for the parameters and then a database logon if one is required.

Does this app work?

Also, let me know the CR assemblies referenced in your project and their version.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

baby_cs
Explorer
0 Kudos

Hi Ludek,

As you mentioned I created a sample web application, it is working fine.

But when I change the code as below it will show the problem.

_____________________________________________________________________________________________________

CrystalDecisions.CrystalReports.Engine.ReportDocument doc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();

doc.Load("C:\Program Files\.......\Report1.rpt");

this.CrystalReportViewer1.ReportSource = doc;

Response.Write("Ok");

_____________________________________________________________________________________________________

While debugging I found the last statement Response.Write("Ok"); is causing the issue. If we remove that statement and run it will work fine.

In our actual program we have created a class by inheriting ReportDocument and we are doing all the actions like assigning SelectionFormula, setting Database connection, dynamically assign values for some formula fields in the reports. (These all are part of customisation of our CrystalLayer). Just for a debugging purpose we put a Response.Write in our CrystalLayer class. That caused the issue. Now we removed it and it is working fine.

NB: This issue was not there in CRXIR2. I think the progress animation is using some javascript and the Response.Write we are using in our program not allowing that animation to stop.

Thanks

Baby C S

Edited by: babycs on Jan 19, 2011 5:05 AM

Edited by: babycs on Jan 19, 2011 5:06 AM

Edited by: babycs on Jan 19, 2011 5:20 AM

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

Re licensing for CRVS 2010 see:

/people/blair.wheadon/blog/2010/04/19/crystal-reports-for-visual-studio-2010-licensing

http://ecohub.sdn.sap.com/irj/ecohub/solutions/crystalreportsruntimeserver

/people/blair.wheadon/blog/2009/02/05/announcing-crystal-reports-developer-advantage-runtime-license

For more details, you will have to call sales at 866-681-3435

- Ludek

baby_cs
Explorer
0 Kudos

Hi Ludek,

Thanks for the links provided. I sent the details to our administration department.

Thanks

Baby C S

Edited by: babycs on Jan 19, 2011 5:09 AM