Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Getting error:

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.

Restarted the service, server, and all the computers in between. I suspect it's not connecting to the domain server - any way to check about this?

share|improve this question
How are you logging in? Via Enterprise Manager / Sql Management Studio? – NoCarrier Aug 31 '09 at 20:33
up vote 1 down vote accepted

Found this, hopefully its of use to you ;)

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Oliver Salzburg Aug 19 '12 at 14:53

Try using sqlcmd with the -E option, to make sure it's trying to use Integrated Security.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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