By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

Database login failure

P: n/a
sh
I have a web service that logs into a database and retrieves information.

Everything works fine if the login is successful. However if the login
is unsuccessful, I can't get the web service to let go of the error and
get a good login again.

The scenario is as follows:

The user sends a request to the web service.
The web service tries to log in, fails and returns an error to the user.
The user tells me about it and I fix the problem.
The user tries again, and still gets the unsuccesful login.
I stop IIS and restart it (hoping to, perhaps, get the error out of
memory). The user tries again and still get the same error message.

The only way I can get the thing to work again is to comment out a line
in my web service code, and recompile the web service. Then it logs in
successfully.

Can anyone fill me in as to what is going on here? Especially as to why
stopping and starting IIS still won't clear up the problem.

Thanks
Jan 8 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.