如何在托管服务器上不安装 Reportviewer.exe 的情况下使用 RDLC 报告

发布于 2024-08-31 22:58:31 字数 222 浏览 2 评论 0原文

我使用 .net Framework 3.5 sp1 创建了一个 asp.net 报表服务器网站 目前在 Rackspace Cloud 上托管应用程序,他们不允许在服务器上安装 reportviewer.exe。 那么有没有一种解决方案可以让我在不安装 ReportViewer.exe 的情况下使用 Rdlc 报告。 急需解决方案..

I have created a asp.net Report server web site using .net frame work 3.5 sp1
currently hosting application on Rackspace Cloud where they don't allow reportviewer.exe to be installed on the Server.
So is there a solution where i can used the Rdlc report without installing ReportViewer.exe.
Need a solution Urgently..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

美人如玉 2024-09-07 22:58:31

下载适用于您正在开发的 RDLC 版本的报表查看器 redist...

8.0 是 VS 2005:

google“microsoft report 查看器 2005 可再发行 sp1”

9.0 是 VS 2008:

google“microsoft report 查看器 2008 可再发行 sp1”

10.0 是 VS 2010

谷歌“Microsoft Report Viewer 2010 Redistributable”,

然后:

  1. 在您的 PC 上安装 (ReportViewer.exe) 适当的版本,然后使用 gacutil.exe 从 GAC 中获取您需要的 dll,一旦获得 dll,就部署dll 与您的应用程序一起安装,就像您

  2. 使用您最喜欢的存档程序(即 7Zip)打开 ReportViewer.exe,然后解压缩 cab 文件,然后使用 7zip 打开 cab 并获取您需要的 dll。< /p>

完成、剪切、打印...

这只是我的想法 - 如果您需要更多详细信息,请告诉我(但以上内容应该足以让您越过界限)

download the report viewer redist applicable to the version of RDLC you are developing against...

8.0 is VS 2005:

google "microsoft report viewer 2005 redistributable sp1"

9.0 is VS 2008:

google "microsoft report viewer 2008 redistributable sp1"

10.0 is VS 2010

google "microsoft report viewer 2010 redistributable"

then either:

  1. install (ReportViewer.exe) the appropriate version on you PC and then get the dlls you need out of the GAC using gacutil.exe and once you have the dlls then deploy the dlls along with your applicaiton as you would any other dlls

  2. open up ReportViewer.exe with your favourite archive program (i.e. 7Zip) and then extract the cab file, then open the cab with 7zip and get the dlls you need.

done, cut, print...

this is just off the top of my head - let me know if you need more details (but the above should be enough to get you over the line)

土豪 2024-09-07 22:58:31

这是另一种方法,我发现它非常有用:

要获取全局程序集缓存文件夹中的文件,您可以执行以下操作:

Subst b: %windir%\assembly

找到此解决方案 此处

Here is another method, which I found very useful:

To get to the files in the Global Assembly Cache folder, you can do this:

Subst b: %windir%\assembly

Found this solution here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文