Help with deploying Crystal Report embedded Visual Studio 2008 website - c#

I have been trying to get around this error for a day now and have not had much luck. I have a VS 2008 project that uses the embedded Crystal Reports which of course runs fine locally, but when deploying to my remote server the reports will no longer run.
I gathered that it was because I didn't have the right Crystal Reports components installed on my server. So I attempted to add the dll files into my project directly which did work to resolve some of my errors but their is still a missing reference.
The missing reference is on the 'CrystalDecsions.ReportAppServer.ClientDoc' which is located in my GAC.
Is there anyway to get around this problem OTHER THAN installing the msi file on the server?

I had a similar problem with 2005 a while ago, the only way I was about to get around the problem was to install the crystal reports redistributable on the server. Is there any reason that you're hesitant to install an MSI on your server?

Related

Hexadecimal code in Visual Studio designer, Crystal Reports 13.0.5

I have problem with Crystal Reports. I am using Visual Studio 2015 and Crystal Reports 13.0.5, Windows Server 2012 R2.
Runtime works fine, but I can see only hexadecimal code when I'm trying to open rpt files in designer. Thing is I can't change version of Crystal Reports, because every app is written on this version.
I have tried to find solutions in internet with no success. Also I have tried to reinstall both runtimes and dev version many times.
Any ideas what might be an issue ?
Tomek

crystal reports does not load after deployment

I have created a window application in vs 2010,framework 4.0. using C#.
My PC is window X P, 32 bit. I have use 4-5 crystal reports in the project.
All reports are working fine when i run the program locally means in debugging mode. But when I install the setup project, crystal report stop working. It doesn't showing any
error but It hangs the whole system.
I have searched in Google a lot but not got any specific solution.
I had installed crystal report run time version, yet its not working. What should i do now?
have you installed Crystal reports on server where you are deploying your application?
i would suggest install this package on deployment server CR Redistributable package CRRedist2008
i hope this will solve your issue and also have a look at this post hope this will your help too http://www.actualinstaller.com/help/crystal-reports.html

sharp develop can't open web applications written with vs 2010

My colleague sent me a web project written in Visual Studio 2010. I only have Sharp Develop. when I open the project, I get a number of error messages:
The imported project "c:\program files(x86)\MsBuild\Microsoft\VisualStudio\v10.0\WebApplication\Microsoft.WebApploication.targets" was not found. Confirm that the path....
See:
What do I need to do to fix this??
Download and install the Visual Web Developer Express 2010, it should install all the required libraries to your system. You can then use Visual Web Express to edit the solution, but chances are high that Sharp Develop will also be able to open it.
If you want a little more up-to-date editing experience, you can try upgrading the solution to Visual Studio Express for Web 2013 by installing that and resolving any upgrade issues that might come from that.

Unable to open .RPT file in VS 2010

I have installed Visual Studio 2010,it doesn't include crystal Reports,so i downloaded SAP Crystal Report externally from MSDN and installed SAP Crystal Reports
When i open Visual Studio 2010 i am unable to design existing .RPT files, but when i run an application existing Reports opens
so what can be reason that i cant design .rpt files?
You probably need to install Crystal Reports For Visual Studio 2010 on your developer machine as well as Runtime Engine.
There are actually two versions of Crystal Reports provided :
- Crystal Reports Redistribution Version.
- Crystal Reports For Visual Studio.
Be sure that you have downloaded the right one.
If the problem insists try to uninstall CR and clean registry and all stuff and then re-install again.
Hope it helps

Visual Studio 2010, Crystal Report for Visual Studio 2008 and ClickOnce

I'm in a bit of trouble here. I upgraded one of our Winforms products from VS2008 to VS2010 about 4 weeks ago. The conversion was fine but we used Crystal Reports so had to install the VS2010 Crsytal Reports for Visual Studio 2010 Beta 2. This was fine and gave me the designer etc. back for crystal. I chose not to convert the reports when the solution opens so they are still setup for the original version of crystal.
We then continued with 4 weeks worth of development and now I come to do my first ClickOnce deploy under Vsiaul Studio 2010 and I'm having serious issues. ClickOnce Application files are set to having CrystalReports related modules as Prerequisites. I still want the end user to use the Crystal Reports for VS2008 rather than the runtime for 2010 which is ridiculously big and a beta.
When I publish the manifest is saying that the dependency for crystal is on version 14.0.2000.0 (VS2010 version of crystal report) but all the DLL references in the projects are set to use specific version and to point to 10.5.3700.0 (VS2008 version of crystal report). This means when trying to install from ClickOnce it fails saying:
"Unable to install or run the application The application requires that assembly CrystalDecisions.CrystalReports.Engine Version 14.0.2000.0 be installed in the Global Assembly Cache (GAC) first)"
I can't work out why the manifest is intent on using that version number given all the references are pointing to another version. If I bundle the VS2010 crystal runtimes that are beta into the ClickOnce deploy then the client gets the opposite error message saying that 10.5.3700.0 is required. If I install 10.5.3700.0 on the client they get a working system but I have to install the 10.5.3700.0 version manually and before that they've first had to endure an epic install of the 2010 runtime (14.0.2000.0) which doesn't even get used.
Essentially I am trying to get the manifest to say 10.5.3700.0 or figure out why VS2010 is intent on putting a newer version number in there.
Please help. Thanks
I converted the solution back to VS2008. Going back was relatively seamless. Since Crystal is in beta, the runtimes used to be ridiculously big, and I was losing large amounts of time on the ClickOnce deploys. The rollback solved all three.
I'm not happy about going back but the realities of using Crystal Reports in the year 2010 are pretty bad. I'll monitor progress from SAP as I know they are aiming to reduce runtimes this quarter and move out of beta.
Do you have the new CR stuff installed on your computer where you are building the application? If so, it's probably referencing the assemblies in the GAC.
You can try copying the assemblies you need into the project and setting the reference to point at the local copies, then on the reference set "copy local" to true. This will make sure it is referencing the local copies and not the ones in the GAC.
If that doesn't work, I would try copying the prerequisite for the previous version of Crystal Reports from the VS2008 folder to the VS2010 folder. You will find the packages here:
C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages (64-bit machine)
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages
Then close and reopen Visual Studio, and the old prerequisite should show up in VS and allow you to select it.

Categories

Resources