Hi thanks for replying i used all alternatives present in the 
www.connectionstring.com, but it is giving same error.

Login failed for user computername\ASPNET

Ex:Dim con As New SqlConnection("USER ID=sa;integrated 
security=true;Trusted_Connection=False;database=northwind")

Dim com As SqlCommand

com = New SqlCommand("Select * from Categories", con)

con.Open()

Please give some solution.

 

Mischa Kroon <[EMAIL PROTECTED]> wrote:Have a look at your connectionstring 
this is probably set to use the aspnet 
account / trusted connection.

Just change this to a connectionstring which includes the correct name / 
password combo.

For more info on the connectionstrings:
www.connectionstrings.com


----- Original Message ----- 
From: "sheetal" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, August 01, 2005 7:07 PM
Subject: [AspNetAnyQuestionIsOk] Login failed for user computername\ASPNET


> Hi,
>      thiz iz my first question in this group.I am using Windows XP 
> operating system and i installed sql server 2000. When i am trying to 
> connect to the sqlserver in asp.net i am getting this is error
> "Login failed for user systemname\aspnet". I used the default user Sa and 
> also customized user of the database but  same error.But its working in 
> vb.net windows application. I searched 2 find the solution but nothing 
> helped me.
>
> Thanks in advance,
> sheetal
> 


SPONSORED LINKS 
Programming languages C programming language Computer programming languages 
Java programming language C programming language History of computer 
programming language 

---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "AspNetAnyQuestionIsOk" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------




                
---------------------------------
 Too much spam in your inbox? Yahoo! Mail gives you the best spam protection 
for FREE!
http://in.mail.yahoo.com

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h8mt7fc/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1122968843/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to