Hi.
I’m using Crystal Reports XI, Tomcat 5.0 to display a report on to a jsp.
When the report is about to be displayed, I get this error:
“Error
Logon failed
”
I’m absolutely sure the connection information I’m proving is correct. I tried printing out the connection information by calling oCrystalReportViewer.getDatabas eLogonInfos().getConnectionInfo(0).getAttributes().toString() ; and this text is shown:
{Server Name=mas3, Connection String=Server=s(mas3);User ID=s(admin);Password=, Database Name=, Database DLL=crdb_oracle.dll}
Apparently I’ve not set the Database Name, I dont know where to set it, just tried with this code: (It did not work though)
PropertyBag propertyBag = new PropertyBag();
propertyBag.put(“Database Name”, “m239”); oIConnectionInfo.setAttributes(property Bag);
Please, please… help me out with this issue as It’s driving me into crazy
Regards