0

I'm having trouble connectiong to my SQL Server database and get the following error:

Error Message

[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'gbadmin'. Reason: Not associated with a trusted SQL Server connection

flag

2 Answers

0

Solution

You probably didn't specify "Mixed Mode authentication" during the install.

  • Open The SQL Server Enterprise Manager
    Start menu > Programs > Microsoft SQL Server > Enterprise Manager)
  • Expand the tree-control until you can your server
  • Right click on the server name and "SQL Server Properties (Configure)" window will open
  • Select the Security tab
  • For "Authentication", select "SQL Server and Windows"
  • Click "OK" to close the window and then "Yes" to restart SQL Server

  • err

    link|flag
    0

    it doesn't work at all..

    link|flag
    Contact Fog Creek with the Send us an email link below. – Michel de Ruiter May 25 2012 at 12:10

    Your Answer

    Not the answer you're looking for? Browse other questions tagged or ask your own question.