Skip to Content
0
Former Member
Jul 02, 2007 at 01:07 PM

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

130 Views

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