This article was previously published under Q222828
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to shop a Commerce site, an error similar to the following occurs:
Microsoft OLE DB Provider for ODBC Drivers error '80040e4d' [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed- User: Reason: Not defined as a valid user of a trusted SQL Server connection. /storename/i_shop.asp, line 73
The DSN used to connect to the Commerce database is misconfigured to use Windows NT security instead of SQL Server standard security.
Change the DSN to use SQL Server standard security:
In Control Panel, open the ODBC Data Source Administrator.
On the System DSN tab, select the appropriate DSN and click Configure.
Click Next in the Microsoft SQL Server DSN Configuration dialog box.
Select With SQL Authentication using a login ID and password entered by the user radio.
In the Login ID field, enter the appropriate SQL Server Login ID. For example: sa.
In the Password field, enter the password associated with the Login ID, and then click Next.
Click Next twice.
Click Test Data Source to ensure that the DSN is configured properly.