Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
- From: "Fernando Rodriguez, MCPD" <fernan82@xxxxxxx>
- Date: Thu, 6 Nov 2008 14:19:06 -0500
No, is not safe.
Is your web app by chance using windows authentication to connect to the sql server?
If so you should either create an account for the web app on the sql server and use that account to connect or if you must use windows auth to connect to the sql server then you need to enable impersonation in iis and your web app so that it accesses the db with the credentials of the user that's using the web app through IE. The latter method would only work with IE, if another browser is used the user will receive a username and password prompt where s/he must enter his/her windows credentials.
Att.
Fernando Rodriguez, MCPD
"Jack" <Jack@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:C549D695-4AA0-4910-8C05-1F7E5DF0DBA6@xxxxxxxxxxxxxxxx
Hi,
I have written a asp.net application in local machine with personal sql
server 2000. Now I have moved the application to iis6 with sql server 2000 in
windows 2003 server. This machine hosts other web application. When I am
trying to run first page of my web application I am getting the above error.
I found out that this can be solved by running sp_grantlogin 'NT
AUTHORITY\NETWORK SERVICE' to the master database. I am hardly aware of sql
server dba job. So I would like to know if this will be a safe operation.
Thanks in advance. Regards.
.
- Follow-Ups:
- Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
- From: Rick Byham, \(MSFT\)
- Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
- References:
- Prev by Date: Re: 15408 Revert Session Security Context"
- Next by Date: Failed upgrade and removal
- Previous by thread: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
- Next by thread: Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
- Index(es):
Relevant Pages
|