cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration Error while deploying a C#.NET application with Crystal Reports.

Former Member
0 Kudos

Post Author: siffon

CA Forum: Deployment

When I deployed my C# application in another system with .NET Framework 2.0 but no Visual Studio 2005 installed. Can anybody help me to get the crytal reports?

Error-Could not load file or asembly 'CrystalDecisions.CrystalReports.Engine,Version 10.2.3600.0,...' or one of its dependancies.The system cannot find the file specified.

I crated a setup project and followed the following steps:-

In File System, Right click on Appllication Folder (It creates folder at Win/Sys path generally) -> Add -> Project Output -> select Primary output & other needed files.

Up to this is general Deployment process. If your application includes Crystal Reports you need to do some extra.

a) Adding Merge Module:-

· Right Click on Setup project -> Add -> Merge Module

· Select u2018Crystal_regwiz2003.msmu2019, Crystal_Managed2003.msm, Crystal_Database_Access2003_enu.msm, Crystal_Managed2003.msm

· Click on Open.

b) Now important thing is that When you run this Set up on another sytem it will give you error of u201CKeycode32.Dllu201D

The error is due to not giving Registration key to Merge Module File u2018 u2018Crystal_regwiz2003.msmu2019 To do that Right Click on u2018Crystal_regwiz2003.msmu2019 and select Properties.

In properties select u2018(MergeModuleProperties)u2019 ->

Enter your key at u2018License Keyu2018.

Now the License key can be your Crystal Report product key or you can get it from,

Help(Menu of dot net) -> About Microsoft Development Environment.

There you will see the string u201CCrystal Reports for Visual Studio .NET AAP50-GS00000-U7000RNu201C(can be different for different versions).Your key is 'AAP50-GS00000-U7000RN'.

Now build the solution & set up is ready.

But when I try running the setup file, I get the following eror. Can anybody help me out to fix this error?

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 35:

Source File: C:inetpubwwwrootFABPSetupweb.config Line: 37

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.

=== Pre-bind state information ===

LOG: User = EC4CHS-153240ASPNET

LOG: DisplayName = CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304

(Fully-specified)

LOG: Appbase = file:///C:/inetpub/wwwroot/FABPSetup/

LOG: Initial PrivatePath = C:inetpubwwwrootFABPSetup in

Calling assembly : (Unknown).

===

LOG: This bind starts in default load context.

LOG: Using application configuration file: C:inetpubwwwrootFABPSetupweb.config

LOG: Using host configuration file: c:winntmicrosoft.net rameworkv2.0.50727aspnet.config

LOG: Using machine configuration file from C:WINNTMicrosoft.NETFrameworkv2.0.50727configmachine.config.

LOG: Post-policy reference: CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/fabpsetup/628df9fd/6fb2742c/CrystalDecisions.ReportAppServer.ClientDoc.DLL.

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/fabpsetup/628df9fd/6fb2742c/CrystalDecisions.ReportAppServer.ClientDoc/CrystalDecisions.ReportAppServer.ClientDoc.DLL.

LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/FABPSetup/bin/CrystalDecisions.ReportAppServer.ClientDoc.DLL.

LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/FABPSetup/bin/CrystalDecisions.ReportAppServer.ClientDoc/CrystalDecisions.ReportAppServer.ClientDoc.DLL.

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/fabpsetup/628df9fd/6fb2742c/CrystalDecisions.ReportAppServer.ClientDoc.EXE.

LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/fabpsetup/628df9fd/6fb2742c/CrystalDecisions.ReportAppServer.ClientDoc/CrystalDecisions.ReportAppServer.ClientDoc.EXE.

LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/FABPSetup/bin/CrystalDecisions.ReportAppServer.ClientDoc.EXE.

LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/FABPSetup/bin/CrystalDecisions

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Post Author: TLusby

CA Forum: Deployment

I got it work. I removed the .msm for 2003 and added the the VS 2005 one.

Former Member
0 Kudos

Post Author: TLusby

CA Forum: Deployment

I've got the same issue. I was wondering if this post worked for you. Right now I'm getting Load Report Failed, when I go to load the Crystal Report from the form.

Former Member
0 Kudos

Post Author: ejthunder

CA Forum: Deployment

It looks like you're trying to deploy with the CR.NET merge modules for VS2003. You'll need to deploy the CR.NET merge modules for VS2005 instead.

You can find the merge modules for the various versions at this link on the BOBJ site:http://support.businessobjects.com/downloads/merge_modules.asp

Choose the correct version. If you're using the bundled edition of CR.NET that ships with VS2005 - CR.NET 2005, then click on the link for VS2005. If you're using CR XI Developer, or CR XI R2 Developer then click on the link for the version you're using.

The CR.NET 2005 merge modules have deployment instructions in the download.

I hope this helps!

EJ