RDLC PDF导出服务器上的抛出错误 [英] RDLC PDF export throwing error on server

查看:128
本文介绍了RDLC PDF导出服务器上的抛出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,



在我的应用程序中,用户实际上可以以pdf格式导出,但在我将我的应用程序上传到服务器后,在尝试导出时,它是将对象引用设置为未设置为对象的实例



应用程序在我的本地主机上正常工作,我将感谢任何可能有类似帮助的人的帮助挑战。



我尝试了什么:



我做了一个在线研究很少,流行的建议是在报告中查找隐藏行并更改可见性属性以显示我所做的,但问题无法解决。

Hello Everyone,

In my application users can actually export in pdf format, but after i have uploaded my application to the server, while trying to export, it's throwing object reference not set to the instance of an object

the application is working just fine in my local host, i will appreciate any assistance from anyone who may have had similar challenge.

What I have tried:

I have done a few researches online, the popular suggestion was to look for hidden row in the report and change the visibility property to show which i did, yet the issue not resolve.

推荐答案

请检查所有ReportViewer的DLL文件的版本。



在项目参考中,检查所有ReportViewer DLL的版本。 ReportViewer的所有DLL文件的版本必须相同。



然后检查您托管的那些文件的版本。你会在托管应用程序的bin文件夹中找到这些文件。



DLL的本地版本和托管版本都必须匹配。
Kindly check the Versions of all ReportViewer's DLL files.

In Projects Reference, check the version of all ReportViewer's DLL. The version for all the DLL files of ReportViewer must be same.

Then check the version of those files which u have hosted. U'll find those file in bin folder of your hosted application.

Both the local and hosted version of DLL must Match.


这篇关于RDLC PDF导出服务器上的抛出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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