Syko10-96 Posted April 27, 2004 Posted April 27, 2004 Hey all, I'm having an issue connecting to an Oracle database on an ASP.NET page... I'm trying to simply connect to a table and display it in a DataGrid... I get the error "ORA-01005: null password given; logon denied" which would normally lead me to believe that the password is not in my connection string. However, it is. I can connect with a legacy ASP page with no problems. I've tried using OleDB and Oracle dataadapters, connections, etc... and they all end up with the same result... Is there something the database server itself needs in order for me to connect to it w/ .NET? Thanks! Quote
wessamzeidan Posted April 27, 2004 Posted April 27, 2004 Can you post the connection string to see if it has a problem Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
akiaz Posted April 27, 2004 Posted April 27, 2004 I know it seems too good to be true but you can go to: www.connectionstrings.com Make sure your connection string matches the example to eliminate this possibility. HTH Quote
Syko10-96 Posted April 28, 2004 Author Posted April 28, 2004 The connection string checks out - it works with the Generate Dataset and Prieview Data buttons on the Data Design toolbar... Anyhow, I seem to have sorted it out although I'm still unsure of what was causing the error - maybe a caching problem? Thanks for the suggestions :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.