I have a asp.net web application that I was hosting somewhere.
I backed up the database and restored it locally.
Now when I run the application, it says myapp_user123011 doesn’t exist.
When looking at the security section for the db and the database server, I don’t see that user anywhere.
My web.config was changed to use the sa account.
Not sure where this user could be referenced?
I’m guessing this database user was imported into my database server (SQL Server 2008 R2) but for some reason isn’t showing up in the user list in the security sections).
How can I search and delete this user if this is the case?
(Note: I have searched the entire solution for that username and it doesn’t exist)
Silly me, my local website was redirecting to the live site when I clicked on a link which was hitting the db. And I had changed the password on the live server during the backup.