-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: Kaushalendra
Message 2 in Discussion
Instead of Manoj try
this
Data Source = "." or DataSource =
(local);
>From : Kaushalendra
Pandey
E-Mail: [EMAIL PROTECTED] Or [EMAIL PROTECTED]
MCP
ID : 3468456 (VB.Net With 95% Marks)
----- Original Message -----
From:
manoj_shukla
To: MumbaiUserGroup
Sent: Wednesday, 08 February, 2006 4:54
PM
Subject: DB Connection prob (ASP.net with
SQL Server
New Message on MumbaiUserGroup
DB
Connection prob (ASP.net with SQL Server
Reply
Reply to Sender Recommend
Message 1 in
Discussion
From: manoj_shukla
hello
i am creating a simple db connectivity application in
ASP.net.
as a back end i am using SQL Server.
dim con as new
sqlconnection()
con.connectionstring="Data
Source=manoj;Initial Catalog=northwind;Integrated
Security=SSPI"
con.open()
dim sql as string="select * from
customers"
dim da as new
sqldatadapter(sql,con)
--------------------
-------------
the line in red (con.open())
gives following error message
Login Failed
manoj/asp.net
i used .net 2003 as well as 2005
but the error is same
i think there is any prob with connection string.
but this ConnectionString is working Fine in VB.net With
ASP.net
what should be the problem pls. help me
regards
manoj
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]