Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASPNET account needs access to a database

Status
Not open for further replies.

Luzian

Programmer
Nov 27, 2005
103
0
0
US
I'm not too familiar with SQL Server security, so I'll need a walkthrough.

I have set up windows authentication, not mixed mode.
 
Let me be more clear with what I want:
I need to configure a SQL Server 2005 database security so a certain windows account can perform operations on that database.
 
Use these commands while the database you want to grant access to is selected


sp_grantlogin 'YourMachineName\ASPNET'
sp_grantdbaccess 'YourMachineName\ASPNET'

Walid Magd (MCP)

The primary challenge of every software development team is to engineer the illusion of simplicity in the face of essential complexity.
-Grady Booch
 
You'll have to create a new login, and allow that user to access the database(s) you want.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top