Skip to Content
Former Member
Jun 26, 2015 at 07:30 PM

"Logon failed" when using the CrystalActiveXReportViewer control in CRXI


I have a VB6 application which runs fine on my development machine.

When I install it on a PC running Windows 7 Home Premium, I get a

"Logon failed." error message. The app uses the CrystalActiveXReportViewer


The code on my main form opens an Access 1997 database and populates

an ADO recordset. Then it show another form containing the Report Viewer


The code in the load event of the from containing the control follows:

Set repVendorMasterList = New dsrVendorMasterListNew

repVendorMasterList.Database.SetDataSource rsReport

repVendorMasterList.PaperOrientation = crPortrait

CRViewer1.ReportSource = repVendorMasterList


I suspect the "Logon failed." message is generated when the SetDataSource

property is set.

The only references I have selected in the VB project (in addition to the

default selections) are:

Crystal ActiveX Report Viewer Library 11.5

Crystal Reports ActiveX Designer Run Time Library 11.5

Microsoft ActiveX Data Objects 2.7 Library

My Setup program was built using InstallShield Express 2015. I selected the

following merge modules:




What do I need to do the fix this issue?