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!

crystal report "logon failed"

Status
Not open for further replies.

mrathi

Technical User
Oct 27, 2003
115
US
Hi,
I have created a asp.net webpage with a crystal report viewer on it. When I am working with the development machine, it just works fine. I have oracle client installed on my development machine and i am using VS .Net 2003. Here is the string that sets the database login :

rpt.setdatabaselogin("user", "password")

Also, I am using a view from Oracle database to populate my report.

However, when I take all this stuff to my laptop, I get the logon failed error. Any advice would be very helpful.

Thanks
 
From that I would have to assume that the report can't access the database. Start by checking the obvious things such as "Can you connect to the db"?


----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
I had this problem also. I'm trying to remember exactly what I did to fix it. I think it was the way I had IIS configured. My settings that I have now are:

I have anon access turned on, allow IIS to control the password, integrated windows authentication on.
 
i too believe that it is a problem with the database connection. However, how do I do the database connection in crystal report apart from the one I have already mentioned.

I used the samples provided vy crystal decisions, but somehow they say you have to provide the table information and my report is being populated from a view.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top