Friday, March 23, 2012

Login failed for user (null) , any ideas

I try to connect to the pubs database but get the following error:
Server Error in '/myWebApp' Application.
----
--
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Se
rver connection.
Im logged in as myself, and also I've created a SQLUSER login to access the
data, and assiged SQLUSER to userid but still no luck
any ideas?Check on the server that Authentication is so to "SQL Server and Windows"
and not just "Windows"
In Enterprise Manager, right click on the server > Properties > Security
Tab.
--
Mike Epprecht, Microsoft SQL Server MVP
Epprecht Consulting (PTY) LTD
Johannesburg, South Africa
Mobile: +27-82-552-0268
IM: mike@.NOSPAMepprecht.net
Specialist SQL Server Solutions and Consulting
"Lee" <anonymous@.discussions.microsoft.com> wrote in message
news:681F9E28-3428-4805-A062-CFD362FE4370@.microsoft.com...
quote:

> I try to connect to the pubs database but get the following error:
> Server Error in '/myWebApp' Application.
> ----

--
quote:

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

Server connection.
quote:

> Im logged in as myself, and also I've created a SQLUSER login to access

the data, and assiged SQLUSER to userid but still no luck
quote:

> any ideas?
|||Security is fine. and other ideas?
Lee|||> I try to connect to the pubs database
How? Could you show your code?

No comments:

Post a Comment