crystal reports 10 and classic asp
I have an old windows 2003 32bit server running a classic asp intranet site that uses the crystal reports 10 activexviewer to display its crystal reports. The administrator of this system left the company and now I need to migrate this intranet site along with all the crystal reports into a new server (windows 2008 r2 x64). So far I've gotten the classic asp pages up and running on the new server but I have no idea how to run the crystal reports. I installed the crystal 10 developer edition from the cd and that installed fine but when trying to view a report from an asp page I get:
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/crystaltest/ADORecordSet.asp, line 7
line 7 from the asp page says: Set crObj = Server.CreateObject("CrystalRuntime.Application.10")
I found a readme file on the old server and it basically says this:
Business Objects Technical Support - BeginHere.zip
This Active Server Pages sample application is for use Crystal Reports 10.
This sample application demonstrates how to use the Report Designer Component (RDC) to preview a report.
1. Extract the contents of the zip file into a new folder.
2. Map a virtual directory in the Internet Service Manager to this new folder.
3. Make sure that this new directory has Read and Execute permissions. You may also want to turn on Directory Browsing.
4. Create any ODBC System DSNs required by the report.
5. Browse to this virtual directory and call SimplePreviewReport.asp
If you wish to use a different Report Viewer, you simply need to change the #include statement in SimplePreviewReport.asp which specifies the Report Viewer.
Last updated March 2004
I tried following these directions but I still can't figure out why the server won't display the page. I've searched around and found that I may need to register some dlls or something in that regard but which ones and where are they located? Also does anyone know if my new server (windows 2008 x64 with IIS 7.5) is even capable of displaying crystal reports using this method?
Ludek Uher replied
Many thanks for providing the steps on how to get this going - up to this point - on win 2008. Feedback like this will for sure help others bravely following in your footsteps
For the current error, see if this helps:
[1304024 - Error: The Crystal Report Viewer is unable to create its resource objects|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333303334333033323334%7D.do]
If not, what version is the crviewer.dll and or the craxdrt.dll?