Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Crystal Reports through ASP

Status
Not open for further replies.

ching0418

MIS
Mar 6, 2002
96
HK
We have an asp web application and used Crystal Reports
7 to show reports in a web browser with the help of crweb.dll.
Now we have upgraded to Crystal Reports 10 Professional but instead of seeing
the report in the browser, we get a dialog box asking if we want to save
or open the report.
What do we need to do to see the reports in the browser again?
We also noticed that there are no mappings for .rpt and .cri in the IIS.
Using: Windows 2003, SQL server 2000, Internet Information Services
 
Hi ching0418,
I am also new at this, but we did the same upgrade you are talking about. What I had to do was take one of their examples and use that ASP code instead of the old code I was using. Also use the new files they link to. (Ex. AlwaysRequiredFields.asp, ...)
I don't know what a .cri file is, but what I had to do is create a view in SQL Server instead of the .qry file I was using, I then relinked my report to the view. This blows away all the field in the report because you are linking to a new recordsource. I had to drag all the fields back onto the form and reformat them. It went pretty quick once I started.
I hope this is kind of what you were looking for.
Take care,
ksbigfoot
 
I also tried that, the one with the SimplePreviewReport.asp and .rpt.... I ran it as is and it worked, but when I replaced the report name with my own report in the SimplePreviewReport.asp and placed the actual report where the SImplePreviewReport.rpt is, an error message was displayed:

Error Occurred creating Report Object: File not found.

Did I miss something why I had this error? Do I have to do something else than just simply changing the report name?

please help! thanks in advance.

 
I tried using Crystal Enterprise. I published my report and through the Crystal Enterprise, I can view my report. But when I accessed the report in my own ASP page by a link directing to where the report is located, i received this error message:

Error encountered by Crystal Page Server
--------------------------------------------------------------------------------



The error message returned is:

Internal error. [On Cache/Page Server: DBL9ZC1S.BIRGMA.COM]


please help me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top