Sap Crystal Reports For .net Framework 4.0

Posted on by admin
  1. Sap Crystal Reports For .net Framework 4.0

PurposeThis wiki details the steps necessary to ensure successful deployment of Crystal Reports for Visual Studio 2010 runtime. The wiki is strictly limited to deployment of CRVS2010 runtime only and does not describe any additional intricacies of setup projects as these are beyond the scope of Crystal Reports. For detail beyond the scope of this wiki, see Microsoft documentation.

OverviewUsing the Crystal Reports for Visual Studio 2010 merge modules (MSM files) requires additional dependencies. These must be added and installed on a client computer before the Crystal Reports runtime. An additional merge modules is required if the reports take advantage of the Crystal Reports mapping feature (MapInfo MapX). If the project requires localized reporting, localization merge modules must also be added to the deployment project.

Building the projectOpen Visual Studio 2010 and select New Project. From the Templates pane select “Other Project Types” then “Visual Studio Installer” and finally “Setup Project”. Fill out the name of the setup project and select the location where you want the project to be saved to. In the “Solution Explorer”, right click on your project name. In the popup menu, hover over “Add” and select Merge Module.

Do not select File. This will not add the msm file as a merge module, thus leading to errors when a report is attempted to be loaded by the deployed application. The following is an example of an expected error. An error occurred creating the form. How to view code in adobe animate. See Exception.InnerException for details. The error is: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.Select CRRuntime13x.msm.

The x in the msm name denotes the Service Pack of the merge module. If your application is to be localized, add the required localization merge module. The CRRuntime13x.msm is a configurable merge module. The configuration allows the developer to remove unwanted database driver dlls. To see dlls that can be removed from the merge module, click on the msm file name in the Solution Explorer.

In the Properties, expand the 'ModuleProperties' node. Any and all of the listed dlls can be removed by simply setting their property to 0 (zero). Ensure that database driver dll or dlls required by the report are not excluded(!). The next step is to ensure that the is included in the deployment project. This is a Crystal Reports for Visual Studio 2010 dependency. The actual Microsoft Visual C 2005 merge modules are; MicrosoftVC80CRTx86.msm, MicrosoftVC80MFCx86.msm, MicrosoftVC80ATLx86.msm and MicrosoftVC80OpenMPx86.msm It is up to the developer of the application to ensure that this dependency is either included in the setup project and installed before the Crystal Reports runtime.

Or, that the client computer has been updated with the dependency before running the setup project. Missing dependencies will cause errors regarding failure to register a number of files on install of the setup project. The following is a typical error produced if the C dependencies are missing. Module C:Program FilesSAP Business ObjectsCrystal Reports for.NET Framework4.0CommonSAP BusinessObjects Enterprise XI 4.0win32x86crtslv.dll failed toregister. HRESULT -214010895.

Sap Crystal Reports For .net Framework 4.0

Contact your support personnel. The final step is compiling the application. The setup executable will be in the Release folder.Localization Merge ModulesNote that the English runtime msm is called CRRuntime13x.msm. However, along with this msm, you will find a number of language msm files. For example CRRuntime13xde.msm. This is a localization support msm file - German in this case. Languages supported include Spanish, Japanese, Korean and more.

For more information regarding localization of, where topics discussed include the following:. Setting up the custom resources file directory. Configuring multilingual client support for Windows application.

Crystal

To configure browser-based localization. Language Resource Files. Compiling the resource files.

To configure Page-Based localization for a web page. To configure environment-based localization for a websiteMapInfo MapX Merge ModulesOne additional MSM file to be aware of is CRRuntime13xmaps.msm.

This MSM is required if your reports use the Crystal Reports mapping feature. For more information see the KBase.

64 bit Applicaton DeploymentIt is important to understand that the VS2010 IDE is 32 bit and thus any project running within the VS2010 IDE is 32 bit. When a project is compiled in a 64 bit mode, it cannot be tested in the VS2010 IDE. As there are no 64 bit merge modules for CRVS2010, deployment of 64 bit applications will have to be done via the use of the 64 bit MSI file.

For more details and considerations regarding 32 bit and 64 bit deployments, see the article. Deploying Custom User Function LibrariesUser Function Library (UFL) is dynamic link library (DLL), created by an application developer. As this is essentially '3rd party' DLL, it is not included in any merge module and thus it is up to the application developer to ensure that this custom dll is deployed and configured correctly on any client computer. Note that there are three types of UFLs, each with its own set of deployment and configuration requirements. The types of UFLs are C+, COM and.NET. C+ UFLs simply need to be installed into a directory where the application will be able to find it.

The CRVS2010 bin directory is suggested (C:Program Files (x86)SAP BusinessObjectsCrystal Reports for.NET Framework 4.0CommonSAP BusinessObjects Enterprise XI 4.0win32x86). COM UFLs can be deployed to any directory, but must be registered using regsvr32.exe. VS.NET UFLs must be added to the Global Assembly Cache. For more information on VS.NET UFLs, see the blog.Deploying XML Based Reports Using CRDBXML.DLL Database DriverThe database driver CRDBXML.DLL is not included with any version of Crystal Reports that bundles with VS.NET. This includes CR 9.1 (VS 2003), CR 10.2 (VS 2005) and CR 10.5 (VS 2008). CVS2010 also does not include the CRDBXML.DLL. All stand-alone versions of Crystal Reports include the CRDBXML.DLL driver.

However, the driver requires the installation of the Java framework. No Crystal Reports MSM or MSI file installs or configures the Java framework. For details see KBase on how to obtain the DLL for CRVS2010. See KBase on how to deploy the CRDBXML.DLL.

Last WordEnsure the report files is added to the deployment projectReports added to the application as a strongly-typed object do not need to be added to the setup projectEnsure the runtime is supported on the Operating System. For more information see the wikiFix Packs, Service Packs or any other updates for CRVS2010 cannot be applied directly to a deployed computer Related ContentRelated DocumentsRelated Notes.

Thank you for your reply, are you know it is free or no?Yes, the developer version is free. Install the developer kit on a web server to have reports that export to pdf and many other file formats. Just send over the crystal reports file created in visual studio to the web server when done. Justgo to the link above and ask on their forums because they handle tasks very well.Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. 'Sherlock holmes' 'speak softly and carry a big stick' - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering- Yoda. Blog - http://www.computerprofessions.co.nr.

Thank you for your reply, are you know it is free or no?Yes, the developer version is free. Install the developer kit on a web server to have reports that export to pdf and many other file formats. Just send over the crystal reports file created in visual studio to the web server when done. Justgo to the link above and ask on their forums because they handle tasks very well.Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. 'Sherlock holmes' 'speak softly and carry a big stick' - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering- Yoda.

Blog - http://www.computerprofessions.co.nr.