Using Crystal Reports XI with classic asp

早过忘川 提交于 2019-12-13 02:57:06

问题


I am trying to use Crystal Reports XI for viewing/edits reports in classic ASP. I run into following error on this line :

Set session ("oApp") = Server.CreateObject("CrystalRuntime.Application") 

Error:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

I went through all the solutions found online but couldnt find resolution.

I am using IIS7.

Please help.


回答1:


There are many DLL's that have to be registered. The easiest way is to install the runtime libraries from SAP (the makers of Crystal Reports). You can find them on the SAP website. Don't have an exact address for you as they don't make it real easy to find. If I find it, I'll update my answer.

Also, the version number is not required unless you have more than one version installed and want to use less than the latest version. Otherwise Server.CreateObject("CrystalRuntime.Application") will automatically use the newest version installed.




回答2:


You will need to register the DLL's, however it is complex to register these manually as some of the DLL's have dependencies and you will have to register them in a particular order.

Rather install the runtime libraries, the following link has links on how to get the runtime libraries for old versions of Crystal Reports and Xcelsius

http://scn.sap.com/docs/DOC-27613



来源:https://stackoverflow.com/questions/14779990/using-crystal-reports-xi-with-classic-asp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!