Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Failed using VB6 and CR XI

Status
Not open for further replies.

pungy

Instructor
Aug 5, 2007
71
US
VB6 Enterprise Edition; Crystal Report XI Developers Edition

I have written a VB6 application that uses the CRViewer and I call various reports based on user input. This is done in a "stand-alone" environment. I AM NOT using nor DO I access a server. On my development PC, everything works fine.

I created a "setup" script using InnoScript and Inno Setup. I then took the "setup" and installed the application on a PC that does not have Crystal Reports or Visual Basic installed. When I run the application on that PC, all parts of the application work fine except when I try to access the reports, I am getting a "Login Failed" message.

What could cause this problem? Am I possibly forgetting a ".dll" file in my setup? If so, what one?

I appreciate your help,
Thanks,
Sam
 
Hi,
Is the data in a database that needs a logon or permissions set..Does your app take care of that?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
The database is a MS Access Database (2003). It does not have any passwords on it. I don't understand what's going on.
 
Hi,
Does the user account that is used on the PC to run the app have rights to access the Access database file(s)?

[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Turkbear:
"Does the user account that is used on the PC to run the app have rights to access the Access database file(s)?"

yes it does, actually-- I have 3 systems at home. None of my systems have Security (file password protection) on them.

My next step is to Install VB6 and CR XI on one of my other systems. Copy my App files over to that PC and try the Package and Deployment on that PC. I'll let you know if that works. (I will not be able to do it until tomorrow.)

If you have any other ideas, please shoot them to me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top