开发者

Crystal Reports in VS 2010 not working on Web Server

I am using crystal reports to generate a report and save it as a PDF in a folder. Everything works fine on the local machine. The code is working fine and the report is generated and saved as a PDF as well.

Now, coming to the server, I do not have a VS 2010 installed on the web server. But I had a website application created in ASP.NET framework in VS2010 that I deployed on the server and it is working fine even with no VS2010 on the server.

But now I had to generate the crystal report and save it in the folder. This is another module of the same website. But when I put the .aspx and .aspx.cs and .rpt file on the server, I get an error "Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified".

So, I tried installing the crystal report package from here but it says it needs VS 2010 for completing the installation. So, n开发者_StackOverflow社区ot sure if I can do it without VS 2010 on the server.

Is there any way to do it with no VS 2010 on the server, or I have to install VS 2010 for sure on the server, or any other installation that can help me?


You need the Crystal Reports 2010 Redistributable located here (The SAP website is not the friendliest):

SAP Crystal Reports, developer version for Microsoft Visual Studio Updates & Runtime Downloads

P.S. : SAP website is subject to change, don't mind editing or commenting this answer with up to date info.


Install the Crystal merge modules on the server. You should never need to install visual studio on a server.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜