Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .