On my laptop I use Visual Studio 2010 and Crystal reports, but when I moved my application to another PC without Visual studio installed, my application got error:
"CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception".
I copied Crystal reports dll and add reference and path inside my app but I got same error.
Then I tried install Crystal reports on the PC but got error:
"you must already have visual studio 2010 installed to proceed with this installation".
How do I install Crystal reports on the PC without installing Visual Studio 2010?
download crystal report for runtime to be installed on client PC, you wont need to install crystal report and visual studio try it here
for 32bit http://www.4shared.com/rar/3MOtCA7w/crforvs_redist_install_32bit_1.html, and look for other site if it is 64 bit.
filename for 32 bit= CRRuntime_32bit_13_0_2.msi; for 64 bit CRRuntime_64bit_13_0_2.msi, that solved my problem when deploying my applicatyion to client pc.
Related
I have Visual Studio 2019. I developed a SAP Crystal Report in version 13.0.3500.0. But my project has many SAP Crystal Reports using version 13.0.19.
On my machine, I have installed from
But on the server, I have installed SAP Crystal Reports version 13.0.19 runtime only.
I want to use SAP Crystal Report version 13.0.19 in Visual Studio 2019.
Do have any idea how to do this?
I think you need to install the latest (sp 31) one from the below link which supports the earlier version too. It might be overwriting the existing version (see similar issue:- Crystal Reports for VS2019)
https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/
or
https://www.crystalreports.com/download/
How to choose that you can check via prerequisites requirements:
https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/#direct-download-link
I develop a Visual Basic application under Visual Studio and I use Crystal Report to generate the reports. Now I have to distribute the application with other users but without installing Visual Studio or Crystal Report.
I searched on the internet, I found tracks but I can not solve the problem (I do not find the crystal files reports in the Merge Modules folder) or I do not do things correctly.
I use: Visual studio 2010, Crystal Report 2010 (64 bits)
In case of web app you nedd to install crystal report redistributable on web server.
In windows app you need add crystal reports in the prerequisites section
I am running VS professional 2015 on my Windows 10 professional, and I needed to install the Crystal Reports runtime on my computer so I can build projects with CrystalDecisions.CrystalReports.Engine and CrystalDecisions.Shared, version 13.0.2000.0.
I also currently have Crystal Reports 2008, version 12.0.0.683 installed on my computer to create reports outside VS 2015.
On our company server, there was a .msi file and a .exe file. Like an idiot, I ran the .msi file without knowing:
To integrate "SAP Crystal Reports, developer version for Microsoft Visual Studio" into VS 2010 or 2012 (SP 7 and higher) or VS 2013 (SP 9 or higher) or VS 2015 RC (SP14) - VS 2015 (fully - SP 15), you must run the Install Executable. Running the MSI will not fully integrate Crystal Reports into VS. MSI files by definition are for runtime distribution only.
So after running the .msi file and realizing my mistake, I ran the "Uninstall" option from the .msi file and checked my GAC. The CrystalDecisions has been uninstalled from my "GAC_32" and "GAC_64" folders. However, the strange part is that in my "GAC_MSIL" folder, it has the CrystalDecisions version 12.0.2000.0.
GAC_MSIL folder - but no CrystalDecisions folders in GAC_32 or GAC_64
I checked my Control Panel -> Programs -> Programs and Features and nowhere can I find "SAP Crystal Reports runtime engine for .NET Framework (64-bit)" and "SAP Crystal Reports, version for Microsoft Visual Studio", so I figured the uninstall was successful.
When I try to run the .exe file this time, I get an error saying that it cannot run the installation due to the following error:
SAP Crystal Reports runtime installation error window
So I checked EventViewer -> Windows Logs -> Application, and the error log said it was an error at installation 1603 and "Product: SAP Crystal Reports, version for Microsoft Visual Studio -- You must already have Visual Studio 2010 or Visual Studio 2012 installed to proceed with this installation."
I talked with my boss and he said he doubts I need VS 2012 and it does not make sense to have both VS 2012 and 2015 on my computer. Unfortunately, I cannot build projects using CrystalDecisions v.13 like our production server, and building the project using the CrystalDecisions v.12 on my computer will cause the project to fail if I release it to production.
I checked other questions on StackOverflow, and I saw some solutions:
Install VS 2012 - not an option unless a last resort; we have VS 2015 only - unless if installing a "community" version of VS 2012 would do the trick.
Do a system restore - one person suggested because I ran the .msi file instead of the .exe, it messed up my assembly, so doing a system restore before I ran the .msi file could fix it and allow me to install CR runtime correctly, but again, my boss says he wouldn't recommend it
Try running the CR runtime setup from the SAP website with a newer version other than v.13 for my x64 bit machine that will integrate with VS 2015 without needing VS 2012 - then the newer version of my CR runtime when I build my projects will be different from the CR runtime on the production server and there will be conflicts when I release my project on the production server.
Alter/delete my assembly files because running the .msi file screwed up my assembly cache - Really risky; I don't know the first thing about assembly files and I could mess up my computer. And would deleting manually the "CrystalDecisions" folders from my "GAC_MSIL" folder even work if the GAC_32 and GAC_64 folders do not have "CrystalDecisions"?
None of these solutions are preferable, so does anyone have any other solutions I cannot see that work?
Thank you for your patience. I could just bash my head against the desk because I ran the .msi file instead of reading the directions carefully. I feel like an idiot...
To all those who are wondering, my boss and I fixed the issue and it was incredibly simple!
It turns out that we needed some Visual Studio 2012 tools installed on the computer before running the executable. We needed to install those SDK libraries in Visual Studio 2015 before running the installation of the "CRforVS_13_0_6.exe" file.
So I went to "Control Panel" -> "Programs and Features" -> selected Visual Studio Professional 2015 and clicked the "Change" button to go to the following menu:
Installing new Visual Studio 2015 SDK Features
We checked the "Windows 8.1 and Windows Phone 8.0/8.1 Tools" and made sure "Tools and Windows SDKs" was checked.
After updating, I restarted my computer and tried to run the Crystal Reports v13 for Visual Studio .exe again.
It worked!
So it looks like my boss's doubt was incorrect; you do need some VS 2012 components to run the CR v13 installation for Visual Studio!
Putting this here for future reference!
i have a web application with visual studio 2008 and crystal report 2008 and all thing is fine
BUT
when i installed SAP crystal report 2010 , my be it crash with CR 2008
when i run my APP i get this message
Could not load file or assembly CrystalDecisions.VSDesigner Version=10.5.3700.0
i do some solutions
1 - i open web.config file and delete the row of CrystalDecisions.VSDesigner - my app run fine but reports not working
when i add this row again my app not running
please . i do alot of research about this problems but no HOPE
thanks for ur time
In Vs 2003 the Runtime of Crystal reports was bundled in the program setup when you create the installer and installed, but with vs 2005 and later you have to install it.
I think here you can find the msi
http://scn.sap.com/docs/DOC-27917
The dll version of the Runtime that ships with vs is different from the various version of Crystal reports, so you have to install the right one
There's a good chance that installing the new version of Crystal Reports wiped your previous assemblies out of the GAC and replaced them with a newer version. From SAP:
As each version of Crystal Reports has its' own specific runtime which
must be correctly deployed, it is critical that the deployed runtime
be in agreement with the Crystal Reports assemblies for Visual Studio
.NET referenced in your project.
Your error looks like it is trying to find a DLL from Crystal Reports 10.5 and as the above link suggests, it does not like having differing versions of crystal reports running side by side.
I am developing c# application using visual studio 2010.. Now i want to use crystal report in my project but I am using Visual studio 2010 first time.. So when I add crystal report in project then it creates .mht file and ask me to download SAP crystal reports..
http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
Several downloading options as shown in above link.. I have tried by downloading several setups which includes
1.SAP Crystal Reports, version for Visual Studio 2010 - Click Once
2.SAP Crystal Reports, version for Visual Studio 2010 - Click Once (32 Bit)
But after installation of this still no effect in visual studio and still asking me for download..
One more thing I want mention that my system is of 32 bit thats why i cant go for 64b bit..
I think this is the same question as here:
Use Crystal Reports 2011 in Visual Studio 2010
Finally I found the solutions..
By downloading the product
1)SAP Crystal Reports, version for Visual Studio 2010 - Standard
As this works fine and integrated successfully with visual studio 2010 IDE..