在Web服务器上部署Crystal Report [英] Deploying Crystal Report on web server

查看:127
本文介绍了在Web服务器上部署Crystal Report的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Web开发的新手.我使用crystalreport开发了devlpd网站.所有页面工作正常,但是当我在页面上添加crystalreportviewer时,再次刷新页面时返回"http-500内部服务器错误",它在我所在的行上显示"NullReferenceException:对象引用未设置为对象的实例"使用的CrystalReportViewer控件.但是,它在我的LAN服务器上运行良好.有人可以提前帮我解决吗.

Hi, I m new to web development.I devlpd website using crystalreport. all the pages works fine but when i add a crystalreportviewer on the page it returns "http-500 internal server error" on refreshing the page again it shows "NullReferenceException: Object reference not set to an instance of an object" on the line where I used CrystalReportViewer control.However It is running fine on my LAN server. Can anybody help me out.thnx in advance.

推荐答案

ImranRoomimirza写道:
ImranRoomimirza wrote:

NullReferenceException:对象引用未设置为对象的实例"在使用CrystalReportViewer控件的行上.但是,它在我的LAN服务器上运行良好

NullReferenceException: Object reference not set to an instance of an object" on the line where I used CrystalReportViewer control.However It is running fine on my LAN server



看起来您的LAN服务器上安装了Crystal Viewer,因此所需的DLL可用.当您尝试在系统中使用它时,应用程序无法找到所需的DLL,因此也找不到异常.



It looks like you have Crystal Viewer installed on your LAN Server and thus the needed DLL''s are available. When you are trying to use it in your system, application is unable to find the needed DLL and thus the exception.


ImranRoomimirza写道:
ImranRoomimirza wrote:

就是这种情况.但是我的生产服务器在Unix上,因此我无法运行CRredis2005.msi文件将所需的dll文件上传到GAC.因此,我将所需的dll复制到了bin文件夹中

that is the case. but my production server is on unix and hence I m unable to run CRredis2005.msi file to upload required dll file to GAC. So,I copied the required dll in the bin folder itself



您确定,这就是有问题的DLL吗?我想可能还有我更多.您需要列出所需的DLL,如果只是一个或两个,则可以复制该系统并将其放入PC GAC ....,从而在您的PC上注册使用.试试吧!



You sure, thats the one DLL in question? I think there might me more. You need to list out the needed DLL, if its just one or two, you can copy that your system and put in your pc GAC.... thus registering it on your PC for use. Try it!


这篇关于在Web服务器上部署Crystal Report的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆