PC Review


Reply
Thread Tools Rate Thread

Connection with SQL server failed

 
 
BIJU
Guest
Posts: n/a
 
      12th Jan 2008
Hai,
I am a new in ASP.NET. I tried to connect ASP.net(VB) with SQL server 2000.
I got the connection failed message as Login Failed for user 'NT
AUTHORITY\NETWORK SERVICE' " ie. System. Data.sqlclient.sqlException: Login
Failed for user 'NT AUTHORITY\NETWORK SERVICE'. Kindly provide solution.
Thank you in advance
Thanks and regards
BIJU
(E-Mail Removed)
 
Reply With Quote
 
 
 
 
Riki
Guest
Posts: n/a
 
      12th Jan 2008
BIJU wrote:
> Hai,
> I am a new in ASP.NET. I tried to connect ASP.net(VB) with SQL server
> 2000. I got the connection failed message as Login Failed for user 'NT
> AUTHORITY\NETWORK SERVICE' " ie. System. Data.sqlclient.sqlException:
> Login Failed for user 'NT AUTHORITY\NETWORK SERVICE'. Kindly provide
> solution. Thank you in advance
> Thanks and regards
> BIJU
> (E-Mail Removed)


As the error message says: Login Failed.
Make sure you add a login to your SQL Server for the NETWORK SERVICE windows
account.
And make sure that that login has access to your database.

--

Riki


 
Reply With Quote
 
BIJU
Guest
Posts: n/a
 
      12th Jan 2008
Hai Riki,
Thanks 4 ur response. I am using windows NT authentication for SQL SERVER.
How I can check whether I add a login to your SQL Server for the NETWORK
SERVICE windows account. and have login has access to your database. Kindly
provide solution
BIJU


"Riki" wrote:

> BIJU wrote:
> > Hai,
> > I am a new in ASP.NET. I tried to connect ASP.net(VB) with SQL server
> > 2000. I got the connection failed message as Login Failed for user 'NT
> > AUTHORITY\NETWORK SERVICE' " ie. System. Data.sqlclient.sqlException:
> > Login Failed for user 'NT AUTHORITY\NETWORK SERVICE'. Kindly provide
> > solution. Thank you in advance
> > Thanks and regards
> > BIJU
> > (E-Mail Removed)

>
> As the error message says: Login Failed.
> Make sure you add a login to your SQL Server for the NETWORK SERVICE windows
> account.
> And make sure that that login has access to your database.
>
> --
>
> Riki
>
>
>

 
Reply With Quote
 
Riki
Guest
Posts: n/a
 
      12th Jan 2008
In SQL Server 2000 Enterprise Manager, go to Security-Logins.

--

Riki

BIJU wrote:
> Hai Riki,
> Thanks 4 ur response. I am using windows NT authentication for SQL
> SERVER. How I can check whether I add a login to your SQL Server for
> the NETWORK SERVICE windows account. and have login has access to
> your database. Kindly provide solution
> BIJU
>
>
> "Riki" wrote:
>
>> BIJU wrote:
>>> Hai,
>>> I am a new in ASP.NET. I tried to connect ASP.net(VB) with SQL
>>> server 2000. I got the connection failed message as Login Failed
>>> for user 'NT AUTHORITY\NETWORK SERVICE' " ie. System.
>>> Data.sqlclient.sqlException: Login Failed for user 'NT
>>> AUTHORITY\NETWORK SERVICE'. Kindly provide solution. Thank you in
>>> advance
>>> Thanks and regards
>>> BIJU
>>> (E-Mail Removed)

>>
>> As the error message says: Login Failed.
>> Make sure you add a login to your SQL Server for the NETWORK SERVICE
>> windows account.
>> And make sure that that login has access to your database.
>>
>> --
>>
>> Riki




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection to server has failed Holly Ellis Windows Vista Mail 6 31st Aug 2009 04:45 AM
The connection to the server has failed. Desiree Windows Vista Mail 4 23rd Feb 2009 08:33 PM
connection to server failed?? ivy Windows Vista Mail 1 29th Feb 2008 12:11 AM
connection to server failed Jonnie Angel Windows Vista Mail 12 30th Nov 2007 01:33 PM
The connection to the server has failed. =?Utf-8?B?c21pZ2tlbmRyYQ==?= Windows Vista Mail 10 27th Jun 2007 01:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:42 AM.