Problems after installation Crystal Report 9.2 and solutions (Author: Hyperion .NET, update: 2003-10-19) ----------------------- -------------------------------------------------- Directory: 1. Introduction II, concept and principle three, problem 1 2. When copying the Crystal Report Viewer, the Control Create Error is displayed. 3. When you create a Crystal Report Viewer, the Control Create Error is displayed. 4, analyzer error message: Base class includes field "CrystalReportViewer1", but its type is incompatible with the type of Crystaldecision.Web.crystalReportViewer. 5, Analyzer Error Message: Found the program set list of "CRYSTALDECSISIONS.SHARED" not match the assembly reference. 6, problem: invalid report source 7, if you use VS.Net 2003 ... 8, problem: Washing a new project in Web.config, there is no
Crystal Reports for Visual Studio .NET 2003 Program Crystal Reports Management Component's "Program Version" is 9.1.5000.0.
Crystal Reports 9 program (only for Visual Studio 2002) Crystal Reports Management Components is 9.2.9466.x.
Crystal Reports 9.2 program (file versions "with Visual Studio 2002 and 2003) Crystal Reports management components are 9.2.9500.x. ------------------------------------------------2, The Crystal Report Viewer version in Crystal Report Viewervs.NET is 9.1.3300.0, the Crystal Report Viewer version in Crystal Report 9.2 is 9.2.3300.0 After adding the Crystal Report Viewer to the Form, add the following code in the ASPX file, is missing . Code (1) <% @ Register TagPrefix = "cr" Namespace = "CrystalDecisions.Web" Assembly = "CrystalDecisions.Web, Version = 9.1.3300.0, Culture = neutral, PublicKeyToken = 692fbea5521e1304"%> is provided to introduce namespace CrystalDecisions. Web. Code (2)
------------------------- Problem Analysis: After the Design View deletes Crystal Report Viewer, the code (1) still exists, if this time Add a new version of Crystal Report Viewer, can cause two different code (1): <% @ register tagprefix = "cr1" name "name" asmbly = "Crystaldecisions.Web, Version = 9.2.3300.0, Culture = neutral, PublicKeyToken = 692fbea5521e1304 "%> <% @ Page language =" vb "Codebehind =" Analysis.aspx.vb "AutoEventWireup =" false "Inherits =" Research_VB.Analysis "%> <% @ Register TagPrefix =" cr " Namespace = "Crystaldecisions.Web" Assembly = "Crystaldecisions.Web, Version = 9.1.3300.0, Culture = neutral, publickeyToken = 692fbea5521e1304"%> ------------------------------------------------------------------------------------------------------------------------------------------------------ ----- Solution: Remove the Crystal Report Viewer and all code (1), re-add Crystal Report Viewer. ------------------------------------------------2, When copying the Crystal Report Viewer, "Control Creating Errors" is displayed. -------------------------- When copying the Crystal Report Viewer, the code (1) will not be copied. ------------------------- Solution: Handmade Copy Code (1). ------------------------------------ 3, When you create a Crystal Report Viewer, the Control Create Error is displayed. ------------------------- Question: If you are not a residual code (1), it is a incredible thing ... ---------- --------------- Solution: (1) Delete the Crystal Report Viewer control in "Design View"; (2) Remove Code to "HTML View" (1) (3) Create Crystal Report Viewer; if "Control Creating Errors" is displayed, switch to the HTML view, then switch the "Design" view, automatically recover! ! ! ------------------------------------------------ 4, Analyzer error message: The base class includes field "CrystalReportViewer1", but its type is incompatible with the type of Crystaldecision.Web.crystalReportViewer.
------------------------- Question: Code (1) is not the current version of Crystal Report Viewer ----------- -------------- Solution: Delete Crystal Report Viewer and all code (1), re-add Crystal Report Viewer. ------------------------------------ 5, Analyzer error message: The found list definition named "CrystalDecisions.Shared" is not matched with the assembly reference. Source File: E: /Web/Venditionsystem/web.config line: 15 Context Load Tracking: The following information helps to determine the reason why the assembly "CRYSTALDECSIONS.SHARED" cannot be loaded. ------------------------- Problem Analysis: The assembly CRYSTALDECISIONS.SHARED In Web.Config is defined by cr for vs.net version The project is quoted in the project is CR 9.x version ... ------------------------- Solution 1: New solution, Add a Crystal Report Viewer in the form, automatically generate a new version of the program set list in the web.config, then copy this web.config ... Solution 2: Modify the old version of the old version in Web.config Checklist definition:
There is no discharge control after the upgrade has no code (1)! ! ! Problem Analysis: If you use VS.Net 2003, Crystal Reports 9 (version 9.2.0.x) cannot run correctly, you need to upgrade to CR 9 (version 9.2.x). The specific problem is as follows: - Add new Reports to the project, but does not generate the corresponding report class file - Add a new report or report viewer (Viewer) to the project, but not automatically add the required reference - unable to create a strong-type report (Strongly-Typed Report) instance solution: Upgrade to CR 9 (version 9.2.2.x). ------------------------------------- ----------- 8, question: No
Add assembly = "crystaldecisions.crystalreports.Engine, Version = 9.2.3300.0, Culture = neutral, publickeytoken = 692fbea5521e1304" /> 9, problem: It is not. There is no discharge control after the upgrade has no code (1)! ! ! 10, problem: invalid report source ------------------------------------ 1, install Crystal Report 9.2 ... First uninstall the previous version of Crystal Report, such as Crystal Report for vs.net, Crystal Report 9.0 ... and then install! This avoids many problems: -------------------------------------- 2, modify Visual Studio. NET's toolbox setting (1) Right-click "Toolbox", select Custom Toolbox, enter the Custom Toolbox dialog; (2) Select ".NET Framework Components" tab, click "assembly Name "column header, make it sorted according to" assembly name "; (3) Deselect all CRYSTALDECISIONS version of 9.1.xxxx.x; (4) Click" Browse "button, select C: / Program Files / Common files / Crystal Decisions / 2.0 / managed "folder, were added CrystalDecisions.CrystalReports.Engine.dll: adding components ReportDocument, ReportClass, CrystalDecisions.Web.dll: adding components CrystalReportViewerCrystalDecisions.Windows.Forms.dll: adding components CrystalReportViewer-- ------------------------------------ 3, "Older Reports Document" upgrade ... Crystal Report 9.2 Opens a report, make any operation, then revoke, and finally save it, will upgrade the report.
Note: After upgrading, you cannot use the old version of Crystal Decisions products ... -------------------------------- ---- 4, "the old version of CrystalDecisions assembly reference" changes ...... (1) CrystalDecisions assembly: CrystalDecisions.CrystalReports.EngineCrystalDecisions.WebCrystalDecisions.Enterprise.ReportCrystalDecisions.ReportSourceCrystalDecisions.Shared etc ...... (2) storing " Program collection references "file - project file; extension is ?? Proj, for example: C # project extension is csproj original reference, such as CrystalDecisions.web:
-------------------------------------- 6, "Web.config, Crystal Reports the assembly 'upgrade ...... original quote: