Problems and solutions after installing Crystal Report 9.2

zhaozj2021-02-16  45

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 After I have added configuration errors! ! ! -------------------------------------------------- ----------------------- First, in the .NET And its XCopy deployment! However, it seems to bring new issues --.NET program upgrade, migration problems ... upgrade no longer just simply installed, have to do it ... -------------- -------------------------------------------------- --------- Second, concept and principle 1. "Program Version" of various Crystal Reports programs ... Crystal Reports for Visual Studio .NET 2002Crystal Reports Management Components "Program Version" is 9.1.3300 .

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) is a CrystalReportViewer control label. -------------------------------------------------- ----------------------- Third, Question 1, Compiler error message: BC30560: "CrystalReportViewer" in Name Space It is not clear.

------------------------- 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: change Version = 9.1.3300.0 to Version = 9.2.3300.0. ------------------------ Summary: Conflict in other CrystalDecisions assessments, such as: Crystaldecisions.CrystalReports.Engine, Solutions. ------------------------------------------------ 6, Problem: Invalid report source ------------------------- Problem Analysis: ReportDocument, CrystalReportViewer Components and CrystalDecisions assembly are inconsistent: ---- --------------------- Solution: (1) Delete all CRYSTALDECSIONS assembly references; (2) Delete all ReportDocument, CrystalReportViewer components; (3) follow 2. Modify the toolbox settings for Visual Studio.NET; (4) Re-add components to automatically generate new references. ------------------------------------------------ 7, If you use VS.NET 2003 ... Problem: It's okay.

转载请注明原文地址:https://www.9cbs.com/read-22501.html

New Post(0)