cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem deploying .Net project with Crystal Reports

Former Member
0 Likes
1,259

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

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]

Former Member
0 Likes

The wiki link is not working.

By the way, many links on the SAP website do not work. Sometimes one gets a page indicating a 404 error.

In this case, I got a page full of the stack trace.

Former Member
0 Likes

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

Answers (0)