Re: Problem deploying forms authorization
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Mon, 20 Aug 2007 02:58:17 GMT
Hi Haim,
Glad to hear from you.
Yes, seems you've got much progress on this, at least you've figured out
the original unexpected "remote access error....." (as it is caused by the
default sqlexpress provider setting).
For the new problem you met:
===========
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
============
I think it is a typical ASP.NET security issue that is caused by the
accessing SQL server database from IIS hosted enviornment. For IIS6, the
default worker process identity (security account) is "NT Authority\NETWORK
SERFVICE"(which as restricted permission), so it is likely that the
application get access denied or login failed error when accessing some
protected resource under this account.
Also, to make sure it is the process identity that cause the error, I
suggest you try the following test:
** change your ASP.NET applicaiton's IIS application pool identity from
"Network Service" to an interactive account(domain account or local one)
which has sufficient permission in SQL server database.
** Restart the application pool and application to see whether it can
correctly access the database now.
If the above work, that means the problem is related to the application
pool identityt and we should continue work on the permission of it(the
default Network Service account).
BTW, for the "asp_net roles" you said, is it a custom group you used on
your machine or do you mean a built-in group or role in application?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- References:
- Problem deploying forms authorization
- From: HIK
- RE: Problem deploying forms authorization
- From: Steven Cheng[MSFT]
- Re: Problem deploying forms authorization
- From: HIK
- Re: Problem deploying forms authorization
- From: Steven Cheng[MSFT]
- Re: Problem deploying forms authorization
- From: Steven Cheng[MSFT]
- Re: Problem deploying forms authorization
- From: HIK
- Problem deploying forms authorization
- Prev by Date: RE: 401 with Forms Authentication and Roles
- Next by Date: Re: Problem deploying forms authorization
- Previous by thread: Re: Problem deploying forms authorization
- Next by thread: Re: Problem deploying forms authorization
- Index(es):
Relevant Pages
|