• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1295
  • Last Modified:

ODBC Erro

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

0
vijyant
Asked:
vijyant
1 Solution
 
Booda2usCommented:
*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
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now