on ‎2011 Feb 09 9:57 AM
Hi all, Not sure if I have posted in the right forum, apologies if not.
I have built a .Net web app in VS2008, and have imported existing Crystal reports to use through the web. Every works on my machine. When it is deployed to the main server however, I am getting errors with the dlls,
"Parser Error Message: Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 42: <add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 43: <add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 44: <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 45: <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 46: <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></assemblies>
"
Now I have copied all my dlls into the bin folder of my application. I noticed something though,
I copied the dlls from C:\Program Files\Business Objects\Common\2.8\managed to my application bin folder, the version of the dlls being 10.5.0.1943, but when I add the dll reference to the project, it is added as version 10.5.3700.0. I've tried changing the reference in the web config file but I get the error :
Parser Error Message: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.0.1943, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
I am so confused by this.
Anyone have any ideas as I'm going mad here!
Cheers,
Louise
Request clarification before answering.
Not a problem. I moved the post to the .NET - SAP Crystal Reports forum.
The issue is that you can not copy the runtime. The CR.NET component relies on COM Interop for the backend report processing engine, so XCopy deployments won't work.
You must use either the MSI or MSM files for deploy the CR runtime. Check out [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki for the MSM / MSI downloads.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tried the link and it works fine for me...
Try to copy it into your browser:
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
I am using IE. I believe Firefox will not work too good...
- Ludek
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.