Crystaldecisions.windows.forms.dll hướng dẫn dùng

CrystalDecisions.Windows.Forms.dll?

CrystalDecisions.Windows.Forms.dll is a dynamic link library (DLL) file that is part of the Crystal Reports software. This DLL provides Windows Forms controls and components that allow developers to embed reporting functionality in their applications. Crystal Reports is a business intelligence application that is used to design and generate reports from a variety of data sources. CrystalDecisions.Windows.Forms.dll contains the code that allows developers to incorporate Crystal Reports functionality into their own applications, such as the ability to display, preview, and print reports.

If the CrystalDecisions.Windows.Forms.dll is missing, any application that relies on it will fail to launch or function properly. You may receive an error message stating that the file is missing or that the application cannot start because the file is not found. To resolve the issue, you will need to reinstall the application that requires the missing DLL file, or you can try to download the DLL file from a reputable DLL library website and place it in the appropriate directory.

DLL research and information is supported by Artificial Intelligence and should be used as a helpful tool. However, it is important to keep in mind that this information may not be up-to-date or entirely accurate.

Download CrystalDecisions.Windows.Forms.dll

Select the .dll version you want to download. In most cases, this would be the latest version (32/64-bit) from the appropriate company. Use the filter provided to narrow down your results.

1 Files Available Updated: Aug 24th, 2018

CrystalDecisions.Windows.Forms.dll

by Business Objects

for Crystal Reports 11

Crystal Reports 11

Version 11.5.9709.1229 Language 1033 (U.S. English) SHA1 7681343a9693599a70d0c2887df84ac8c7ff14bf MD5 0e3704cc3b7f17582d1376d22867f2fd

324KB

Request a different version

Enter a specific version (32/64-bit, etc.) or specific software. Requesting .DLL files could improve your odds of success and increase the speed in which the .dll file is found.

1 – Lỗi in trực tiếp Report trên form \================================================================================ 1.1 – Failed to load database information. Error in File rptInvoice {6A24503F-DEA3-44A3-9913-35800DAEA39C}.rpt: Failed to load database information. \=> Nguyên nhân : Do crystal report thiết kế trên .NET Framework 2.0 tuy nhiên chương trình chạy trên VS2010(.Net 4.0) nên không tương thích \=> Cách khắc phục : Thêm addtribute “useLegacyV2RuntimeActivationPolicy” trong file App.Config trong tab “Starup”

——————————————————————————– 1.2 – The table %1 does not exist in the document. \=> Nguyên nhân : Do chưa login thành công vào server (lỗi 1.1) nên chưa thấy được metadata của table vì vậy truy xuất vào một trong những table bên trong sẽ bị lỗi. \=> Cách khắc phục : Xem lỗi (1.1)

——————————————————————————– 1.3 – Lỗi show report lên trắng hoặc không có gì thể hiện \=> Nguyên nhân : – Do report gọi từ store, table không chứa dữ liệu. – Do Report document không thiết lập được parameter values vào store. \=> Cách khắc phục : – Cách thiết lập report parameter cũ của report document chập chờn – Thiết lập theo cách mới : Dim obj As New ParameterDiscreteValue obj.Value = “XXX” Dim objParameterField = crViewer.ParameterFieldInfo(“@pstrXXX”) objParameterField.CurrentValues.Add(obj) sửa được 1 lỗi view report không có data -> ra report trắng Trường hợp report có sourceData là store: Nếu store này có kết quả trả về bằng cách thực thi 1 exec thì sẽ bị lỗi trên VS2010 là không có data Khắc phục: insert kết quả vào bảng tạm (

table) rồi

Select * from

table này thì ok, report lên data bình thường,

2 – Lỗi in trên report dialog

\================================================================================ 2.1 – Lỗi Invalid Index khi show report \=> Nguyên nhân : Do thư viện gán PrintOptions.PaperSize = mintPageIdty, mà Papersize là enum có giá trị trong Range \= > Cách khắc phục : ——————————————————————————– 2.2 – Failed to load database information. \=> Nguyên nhân : Do không apply và verify login information vào connection của report document \=> Cách khắc phục : Đối với từng connection của report document, phải gián thông tin login và verify database trước khi gán vào cho từng table. ——————————————————————————– 2.3 – File or assembly name crystaldescistion.shared or one of its dependencies ………not found \=> Chép các file dependency này vào thư mục thực thi của chương trình

3 – Lỗi khác lúc runtime \================================================================================ 3.1 – ReportDocument \=> Lỗi : COM object that has been separated from its underlying RCW cannot be used \=> Nguyên nhân : Lỗi COM \=> Cách khắc phục : – Phải đóng Report Document trước khi mở cái mới – Đóng form trong form main Private Sub frmMain_FormClosing(sender As System.Object, e As System. Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing For i As Integer = Application.OpenForms.Count – 1 To 0 Step -1 If Application.OpenForms(i).Name <> Me.Name Then Application.OpenForms(i).Close() End If Next End Sub

3.2 – Error in formula ——————————————————————————– \=> Lỗi : This field name is not known. Details: errorKind Error in File XXXX_cc {1793C34D-519B-42B0-A240-AAA5648A154E}.rpt: Error in formula vMainCode: ” ‘ + {.MainCode}’ This field name is not known. Details: errorKind \=> Nguyên nhân : \=> Cách khắc phục : không set được khổ giấy phiếu thu,hóa đơn

3.4 – Lỗi khi show report với nhiều table

——————————————————————————–

\=> Chi tiết lỗi : Logon failed. Error in File XXX {9BF6BA9E-40DE-4AAB-847F-ED1163D04678}.rpt: Unable to connect: incorrect log on parameters. \=> Test report : RPRTASSET \=> Test : User 015674, báo biểu/tài sản/tài sản – File name : XXX.rpt \=> Cách khắc phục : bỏ chế độ “Intergrated Security” trong report location xem hình : 2012-09-24_143715.png

3.5 – Operation illegal on linked parameter ——————————————————————————– Error in File rpt_spsplrimportreport {F7F90E54-D6B9-42D4-AB99-9EECD8838B0E}.rpt: Operation illegal on linked parameter.

3.7 – UFL ‘u25idautomation.dll’ that implements this function is missing.

——————————————————————————– UFL ‘u25idautomation.dll’ that implements this function is missing. \=> Nguyên nhân : Khi sử dụng crystal report có barcode, thì có sử dụng thư viện UFL (User Function Libraries) những thư viện này hỗ trợ dịch barcode fonts.

\=> Cách khắc phục : – Cài đặt thư viện này – Hoạc không dùng thư viện mà dùng fornular.

3.8 – Lỗi khi chạy trên Windows 64bit ——————————————————————————– An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium) that is required. Please go to http://www.businessobjects.com/support for more information.

\=> Nguyên nhân : Crystal report chưa hỗ trợ Windows 64bit \=> Cách khắc phục : – Sửa compiler option thành Windows X86

Post navigation