troubleshooting Question

Permissions error running Classic ASP with a SQL Server 2005 database

Avatar of falsit
falsitFlag for United Kingdom of Great Britain and Northern Ireland asked on
ASPMicrosoft IIS Web ServerMicrosoft SQL Server 2005
5 Comments1 Solution361 ViewsLast Modified:

I have a SQL Server 2005 running on my local Vista business machine, with IIS7 installed.  

I have a classic ASP application that fine on other systems, but not on my IIS7 system.

The error seems obvious enough!

Microsoft OLE DB Provider for SQL Server error '80004005'
Login failed for user 'MScrmuser01'. Reason: The password of the account must be changed.
/MS/includes/Security.asp, line 71

I have removed the account, chnaged the password, many times!   Even tried a new username, passwords are correct.

ASP connection string:
Dim Connection_01
Connection_01 = "Provider=SQLOLEDB;Data Source=localhost;" _
                  & "Initial Catalog=MS; User Id=MScrmuser01; Password=df43faf24;" _
                  & "Connect Timeout=15;Network Library=dbmssocn;"
Any ideas why it won't work?

If it matters, this database came from another server, restored it from a BAKup file.   I removed the user after restoring it and recreated it.    

Any ideas?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros