I had created a domain user after logging in i get error
database connection failed
error =80040e4d
error message=idispatch error # 3149
description microsoft odbc SQl server driver login failed

and if add that user in domain admin group it works fine

Who is Participating?
Booda2usConnect With a Mentor Commented:
*error =80040e4d
error message=idispatch error # 3149*
These errors are generated if SQL Server does not accept the logon account and/or password being submitted. Could be that a corresponding SQL Server account has not been setup for the Windows NT account used to access the database.
Verify that a SQL Server authentication login or a Windows NT authentication login exists in SQL Server for the Windows user account that IIS uses to access the ASP page. If a login does not exist, use the SQL Server Enterprise Manager to create it. Also, when creating an ODBC Data Source Name (DSN) in the ODBC Administrator, make sure to choose the appropriate authentication method when you configure the DSN and to test the DSN in the ODBC Administrator to verify that it is working correctly.

For information on how to configure SQL Server authentication or Windows NT authentication for SQL Server, please refer to the following Microsoft Knowledge Base articles:

Q247931 INF: Authentication Methods for Connections to SQL Server in Active Server Pages

Q183060 INF: Troubleshooting Guide for 80004005 and Other Error Messages
Hope this helps...Booda2us
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.