From: Jay Walters (anonymous_at_discussions.microsoft.com)
Date: Thu, 3 Jun 2004 20:10:18 -0700
I don't think that's what he was trying to do :-)
I think he's a total newbie and just doesn't have a
proper connection string...
The error is : >> Login failed for user '(null)'.
If he was having trouble connecting with the ASPNET
account - it would say failed for <LOCAL>\ASPNET
>First uncheck anonymous access in directory security tab
of IIS, then in
>web.config put element <impersonate="true"> that will
allow to connect to
>SQL server under your account.
<email@example.com> wrote in message
>> I have been trying to test a code to connect to an
>> all i have done is used a datagrid to display some
data from pubs databse
>> i have used sqlconnection, sqldataadapter. i have
writted code under page
>> when i build and browse the page, I get the message,
>> Login failed for user '(null)'. Reason: Not associated
with a trusted SQL
>> Can you guys explain what is happening? It is really
>> Thanks Papri