Deploying C# with Crystal Reports
-
I recently created an application which had a couple crystal reports. I used VS2005. On the development machine it was ok but when i tried on the production machine, somehow i'm getting on error about a libray that is missing. Can anyone please help i'm stranded. Part of the error i'm getting is as follows: ystem.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. File name: 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() Thanks in advance
-
I recently created an application which had a couple crystal reports. I used VS2005. On the development machine it was ok but when i tried on the production machine, somehow i'm getting on error about a libray that is missing. Can anyone please help i'm stranded. Part of the error i'm getting is as follows: ystem.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. File name: 'CrystalDecisions.ReportAppServer.CommLayer, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() Thanks in advance
Do you have crystel reports loaded on the prod machine? You need to actually install the crystel dll's on your prod server or your app won't work. If you have a 32 bit machine try: CRRedist2005_x86.msi http://support.businessobjects.com/communityCS/FilesAndUpdates/cr_net_2005_mergemodules_mlb_x86.zip.asp[^] Hope that helps. Ben
-
Do you have crystel reports loaded on the prod machine? You need to actually install the crystel dll's on your prod server or your app won't work. If you have a 32 bit machine try: CRRedist2005_x86.msi http://support.businessobjects.com/communityCS/FilesAndUpdates/cr_net_2005_mergemodules_mlb_x86.zip.asp[^] Hope that helps. Ben
Or you can configure a merge mudule in your project installer. There, you can put a crystal serial number so that it'll work in your custumers' machine. It worked to me some time ago. Do some kind of research about this subject. You've to download these merge modules. Good luck kubben... :]