on 07-30-2015 3:33 PM
Hi All,
I always have this problem. I have wrote a web based application which works fine with Crystal Reports XI. I have now been asked to install it on to a Windows Server 2012 64bit but I cannot find the correct install for the re-distribution files.
Can anyone please help me find the correct re-distribution setup files?
Many Thanks,
Roger
Crystal Reports XI is old and has been out of support for several years. It is not officially supported on Win Server 2012.
However, if you do a search here (top right of your screen) on "Crystal XI Windows 2012" (without the quotes), you'll find a wealth of information about this configuration and how you might be able to get it to work even though it's not supported.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The latest version of Crystal does not come with an SDK. Instead, you need to download it from here: Use the latest version of the "Install Executable" for integration with Visual Studio. The other installs are various types of runtime installs to use when deploying your application. This version of the SDK only works with Visual Studio 2010 or newer (not 2015 yet - that will come with the next service pack).
Also, this SDK does not "play well" when installed side-by-side with an older version of the Crystal SDK.
-Dell
Hi Dell,
Thank you for your reply. I have downloaded and install the following MSI on our server:-
(v.13.0.14.1720)
But I am still getting this error:-
Inner Exception Type: CrystalDecisions.CrystalReports.Engine.LoadSaveReportExceptionInner Exception: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.Inner Source: CrystalDecisions.CrystalReports.EngineInner Stack Trace: at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Any help would be most appreciated.
Roger
Ok I am really confused now. I have installed on my development PC Crystal XI and VS2010. In my web application I have added references to CrystalDecisions.CrystalReports.Engine and Shared version 11.5.3700.0.
Which deployment do I need to get this to work on a Windows Server 2012 R1?
Any help please,
Roger
The Crystal XI SDK will NOT work with that configuration - it is not supported on either VS 2010 or Win Server 2012.
1. Make sure you uninstall the Crystal XI SDK - the new SDK does not "play well" when installed side-by-side with the old one.
2. If you're going to use VS2010, download and install the latest SP of SAP Crystal for Visual Studio from here: http://scn.sap.com/docs/DOC-7824. Use the "Install Executable" to get the integration into VS. This is available for free whether you have Crystal 2013 or not.
3. Use the runtime installs from the above link to install the SDK with your application. DO NOT install one of them on the development machine.
The new SDK will work with reports created in Crystal XI, so you will NOT have to upgrade the reports. However, the upgrade is very simple, just open a report in the new version (even in Crystal in VS) and save it.
-Dell
Also, the version of the runtime that you install will depend on your application. DO NOT target your application for "Any CPU" - you'll need to specifically select either 32-bit or 64-bit. You'll then install one of the SDK Runtimes for that "bit-ness". Most people are using the .msi installs for the runtime.
-Dell
Hi Dell,
Thank you so much for your reply. I have attached a screen shot of what I have installed on my developers PC. From the link above I am still not sure which one I should be installing on our Windows Server 2012.
From the download page, are the table columns simply different ways to install the SDK? I don't seem to be able to find the one's for the server.
Sorry to sound thick,
Regards,
Roger
Hi Dell,
Thank you very much for your reply.
I have installed on my development PC the latest Install EXE. In the existing web application I was referencing:-
CrystalDecisions.CrystalReports.Engine 11.5.3700.0
CrystalDecisions.CrystalReports.Shared 11.5.3700.0
I removed these and dropped the Crystal Reports Viewer on to a blank web form and this added the same as above plus others to my project but version 13. Great I thought but when I try and run my application I get the following errors:-
Error 21 Could not load file or assembly 'CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Error 22 Could not load file or assembly 'CrystalDecisions.ReportAppServer.Controllers, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Error 23 Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Error 24 Could not load file or assembly 'CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Error 25 Could not load file or assembly 'CrystalDecisions.ReportAppServer.XmlSerialize, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Error 26 Could not load file or assembly 'CrystalDecisions.ReportAppServer.ObjectFactory, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Error 27 Unknown server tag 'CR:CrystalReportViewer'. aspnet_client/system_web/4_0_30319/crystalreportviewers13/preview.aspx
Can you please help? I can no long run my application.
Many Thanks,
Roger
I have resolved the problem above by renaming 12 to 13 in the preview.aspx however on this line:-
ExportFormatType.PortableDocFormat, Page.Response, False, "")
I get 'The system cannot find the path specified.' and I am not sure why because this works on another server with Windows 2008 R2.
I have put traps in and I know it loaded the report okay but it errors on the line above.
You need to uninstall the 11.5 SDK! If you have Crystal XI r2 installed on this machine, then you'll need to do a "update" install on it to remove the .NET SDK but leave the Crystal application. The version 13 SDK will NOT work when installed side-by-side with the version 11.5 SDK.
For installing on the server, I suggest that you use one of the .msi files from the link above. Which one will depend on how you've compiled your application. Again, DO NOT compile it for "Any CPU", pick either "x86" or "x64" as the Platform Target.
-Dell
Thank you again for your advice. I have everything working on my development PC and it now loads the web form which references Crystal. But for some reason when I use the command ExportFormatType.PortableDocFormat, Page.Response, False, "") it reports an exception 'The system cannot find the path specified.' However on Windows server 2008 R2 it works fine.
Hi,
I have had to go back to my original setup adding CrystalDecisions.CrystaReports.Engine 11.5.3700 and CrystalDecisions.Shared 11.5.3700 but now on my development PC I get Failed To Load Report error on all reports.
I have installed Crystal XI R2 SP6 for creating my reports and have installed:-
SAP Crystal Reports Runtime Engine for .NET Framework (64-bit) 13.0.14.1720
SAP Crystal Reports version for Microsoft Visual Studio 13.0.14.1720.
The reason I have had to go back is because on our new server Windows 2012 R1 when I install the runtimes and try and print I get an exception on the HTTPExport saying The System could not find the path specified. I have outputted the path and it looks fine.
Any help much appreciated,
Roger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.