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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting logon prompt for unsecured database

Status
Not open for further replies.

TomBoardman

Programmer
Aug 25, 2006
26
US
I am using CR for Visual Studio 2005, for a windows ap, with an unsecured Access DB and when I try to print a report, the Logon prompt pops up. The user name defaults to "Admin" and the password is empty. I try to just press ok without entering a password but no success. I don't get the logon prompt when I run the report on my development machine, but have the problem on a client machine. Any suggestions?
 
The client probably doesn't have access to the folder.

Anyway, also make sure that you use the UNC path, not drive letter\path...

-k
 
Thanks for the response. I determined what the problem was. The servername on my development machine was being stored in the VB.Net embedded report so, when run on the client machine, the servername could not be found and was triggering the Logon prompt. I fixed the problem by changing the servername property to point to where the DB is located on the client's machine just before loading it into CR viewer and now everything is great!

Thanks again

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top