Solved

How to Open Crystal reports in ASP (Using Classical ASP not the .Net )

Posted on 2007-04-05
6
601 Views
Last Modified: 2013-12-23
How to Open Crystal reports in ASP (Using Classical ASP not the .Net )
0
Comment
Question by:arunkumarmanas
  • 2
  • 2
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 18857456
0
 
LVL 6

Expert Comment

by:nirojexpert
ID: 18912981
you can write a active-x control which will open the crystal reports and export to the required format and display to the user
asp-active-x dll-crystal reports-export-output file-web browser

this can be achieved from the traditional asp.
0
 

Author Comment

by:arunkumarmanas
ID: 18916438
Hi nirojexpert,

Can I have the sample code to write this asp-active-x dll.

Thanks for your response.
0
 
LVL 6

Accepted Solution

by:
nirojexpert earned 500 total points
ID: 18916920
try to follow these pseudo steps

1. create a active-x dll project in vb6
add crystal report viewer
create a method such as OpenReport(fileName, exportFormat, ExportDestination)
'this method should open the filename, and save in the exportFormat to the desintation
'you can automate this several ways

2. create the object from asp as
set myCRPT = server.CreateObject("CrptWriter.report")
myCRPT.OpenReport("C:\inetpub\wwwroot\file1.rpt", "html", "C:\inetpub\wwwroot\temp\file1.html")
'redirect the user to the report so that is is displayed
response.redirect "temp\file1.html"

can you try.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 19060951
I believe my comment should have provided information to resolve the issue.  Not sure this is worthy of a PAQ

mlmcc
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

792 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