Reputation: 75
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, not 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?
Upvotes: 1
Views: 3959
Reputation: 4620
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.
Upvotes: 1
Reputation: 26940
Install the Crystal merge modules on the server. You should never need to install visual studio on a server.
Upvotes: 0