After installing Crystal Report 9 Advanced EDTION Chinese version, there are more Crystal Report 9 folders in the MSDN of VS.NET, which is obviously the help documentation of the Crystal Report 9 Advanced EDTION. In this, "Deploying Windows Applications", which is deployed here, how to deploy Crystal Reports, how to deploy Crystal Reports Description, is basically consistent with the Crystal deployment instructions with the vs.net itself, that is, "if You deployed Windows applications use the ADO.NET dataset, requiring VC_CRT and VC_STL merge modules. "This description, in fact, I use the ADO.NET dataset in my program, you must pack VC_CRT and VC_STL merge module package Enter the MSI, follow the instructions to resize a MSI installation file, install it to three target machines.
After installation, run the program, display the report, error:
Load crpe32.dll failed
The Crystal Report 9 Advanced EDTION Chinese version of the Chinese version of the help file can't be found, helplessly go to Crystal's official website support.crystaldecisions.com to find no questions, find About Crystal Report 9 Upgrade Document "Merge Modules for Simplified Chinese Crystal Reports 9 and .net" A file name is CR9NetMergeModules_chs.zip file, is a consolidated package deploying Crystal Report 9, pressing this file, seeing the readme.txt file, According to the description, the detailed documentation of this merge package is downloaded CR9NET_DEPLOYMENT.PDF.
I really don't know, I am angry. It turns out that the deployment of Crystal Report 9 is completely different from random help documents, and the document of the random band should be applied to the Crystal Report for .NET version, the deployment of Crystal Report 9 is not applicable.
Below is the step of deploying CRYSTAL REPORT 9 in CR9NET_DEPLOYMENT.PDF:
Open the Windows application.
In the Solution Explorer, right-click on the Windows application solution, point to Add, and then click New Project.
In the Add New Project dialog, select Install and Deploy Projects in the Project Type pane, then select Install Projects in the Template pane. Click the "OK" button.
In the Solution Resource Management, right click on the installation item, point to Add, and then click Project Output.
In the Add Project Output Group, select "Main Output" and click OK.
All dependencies are automatically added, such as DOTNETFXREDIST_X86_ENU.MSM and DotNetCrystalReports.msm.
You need to exclude DotNetCryStalReports.msm in the project, right-click on the right click of this module in the Solution Explorer, and select "Exclude".
In the Solution Explorer, right-click the installation item, point to Add, and then click Merge Module.
In the Add Module dialog box, select the following to add the merge module to the installation item, and then click Open:
ReportEngine.msm,
Crnetruntime.msm
license.msm
Mapping.msm (optional, when using geographic maps in the report) VC_CRT.MSM, VC_STL.MSM (if you deploy Windows Application Use the ADO.NET dataset, you also need to include VC_CRT and VC_STL merge modules)
In the Solution Explorer, right-click the license.msm file and select Properties.
In the Properties window, expand MergeModuleProperties, then enter a valid license key in the License Key Properties box.
Note You must provide a license key whenever a Crystal Reports application is deployed.
From the Generate menu, select "Generate Solution" to generate an application
OK, after this time the MSI is installed on three target machines, the results are as follows:
1. Win XP machine is all normal, displayed, exported, and exported Word documents are normal.
2. Win2000 machine, or then, the report shows normal, but once the export icon in the report monitor is clicked, the entire program will die, and the task manager displays "unresponsive" and can only be turned off.
3. WIN98 second edition machine, the report shows normal, but once you click the export icon in the report monitor, you will appear.
"Document C: /Windows/temp/temp_3bbd1e66-a59b-4001-a8e4-3ebfd436ab2d.rpt error: invalid export DLL or export format."
In this way, I don't know why the export of two versions of Win2000 machine will cause the program to die (actually I installed two Win2000 machines, the result is like this), I don't know why Win98 On the second edition, the version of Crystal for .NET is everything, and the Crystal Report 9 version will be wrong when exported. If you know, please tell me, my QQ: 362682, Email:
CHNKING@163.net