Re: proper permissions for aspnetdb membership access
- From: changliw@xxxxxxxxxxxxxxxxxxxx ("Charles Wang [MSFT]")
- Date: Thu, 05 Feb 2009 15:46:36 GMT
Hi Jrl,
From your connection string, the login account was the SQL login view,however the error message was for NT AUTHORITY\NETWORK SERVICE which is a
Windows built-in account.
It probably that there were some of your SQL procedure used EXECUTE AS for
impersonation. In this case, it might use the identity account of your web
application's application pool to execute the T-SQL statements.
I would like to post two methods here for your reference:
1. Open your SQL Server Management Studio (SSMS) with a local
administrator, create a login named NT AUTHORITY\NETWORK SERVICE from
windows, give it db_datareader and db_datawriter permission on your
database and then directly run the following statement to grant EXECUTE
permission to the NETWORK SERVICE user:
GRANT EXECUTE ON OBJECT::aspnet_CheckSchemaVersion To [NT AUTHORITY\NETWORK
SERVICE];
2. Open IIS, right click the Application pool that your web application
used, click Properties, switch to the Identity tab, change the account to a
domain user account which has the fixed server role sysadmin in your SQL
Server instance. If it does not exist in the logins of your SQL Server
instance, please manually add it in SSMS.
Please feel free to let me know if you have any other questions or
concerns.
Best regards,
Charles Wang
Microsoft Online Community Support
=========================================================
Delighting our customers is our #1 priority. We welcome your
comments and suggestions about how we can improve the
support we provide to you. Please feel free to let my manager
know what you think of the level of service provided. You can
send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
=========================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
=========================================================
.
- Follow-Ups:
- References:
- proper permissions for aspnetdb membership access
- From: JRL
- RE: proper permissions for aspnetdb membership access
- From: "Charles Wang [MSFT]"
- Re: proper permissions for aspnetdb membership access
- From: JRL
- Re: proper permissions for aspnetdb membership access
- From: JRL
- Re: proper permissions for aspnetdb membership access
- From: JRL
- proper permissions for aspnetdb membership access
- Prev by Date: Re: 2008 Express install fails because of 2005 tools?
- Next by Date: Re: proper permissions for aspnetdb membership access
- Previous by thread: Re: proper permissions for aspnetdb membership access
- Next by thread: Re: proper permissions for aspnetdb membership access
- Index(es):
Relevant Pages
|