Hi,
We've written an ASP web application that accesses the Oracle database for various retrieve / store functions as we go. On the first screen the user enters their Oracle username and password, and these values are POSTed to each page and used whenever it needs to make a connection. We can connect using a valid login/password just fine, but an invalid combination returns an OLEDB error. Anyone know how we can catch an OLEDB error and display a user-friendly "Invalid login / password" message onn that first screen instead?
I know it's really an ASP question, but surely we can't be the only people on the planet who've tried to do this?
DaveAre you familiar in general with catching errors thrown by OLE DB/ ODBC? What language are you writing your application in?
Justin
Mmm, its pretty clear he's using the ASP programming language. Try some On Error statements... Double-check your username/password is right. But even before the attempt to make a successful conncetion through your ODBC Manager.
No comments:
Post a Comment