开发者

How can i use RDLC Report without installing Report viewer.exe on the hosted server

开发者 https://www.devze.com 2022-12-29 18:13 出处:网络
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.

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..


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)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消