I'm using SQL Server and IIS 5.0.
I have a web page that I demo to clients; there are a handful of demo logins, and each prospect gets their own temporary password. I wrote an ASP interface that lets me log in, select a demo account, and change it's password for the next client.
This page changes both a SQL table that contains the user info, plus executes the sp_password stored procedure to change the password for the appropriate demo user.
Everything used to work fine, but now, when it executes the sp_password call, its giving this error:
Old (current) password incorrect for user. The password was not changed.
So then I have to manually change the password in Enterprise Manager. My method is that the ASP uses a connection string that connects as the specific demo user, and then calls the sp_password statement, which *should* be executed as that user. If I login using query analyzer and execute the same statements, it works no problem.
I'm not finding much that helps on google, etc.....anyone have any ideas? Anything? Thanks.
I have a web page that I demo to clients; there are a handful of demo logins, and each prospect gets their own temporary password. I wrote an ASP interface that lets me log in, select a demo account, and change it's password for the next client.
This page changes both a SQL table that contains the user info, plus executes the sp_password stored procedure to change the password for the appropriate demo user.
Everything used to work fine, but now, when it executes the sp_password call, its giving this error:
Old (current) password incorrect for user. The password was not changed.
So then I have to manually change the password in Enterprise Manager. My method is that the ASP uses a connection string that connects as the specific demo user, and then calls the sp_password statement, which *should* be executed as that user. If I login using query analyzer and execute the same statements, it works no problem.
I'm not finding much that helps on google, etc.....anyone have any ideas? Anything? Thanks.