how to give proper permission for asp.net in sql server express
From: Chen Xiyang (settinghead_at_hotmil.com)
Date: 03/01/05
- Next message: Nick Malik [Microsoft]: "Re: Cannot connect to Local SQL Server"
- Previous message: Mark Lewis: "Cannot connect to Local SQL Server"
- Next in thread: Curt_C [MVP]: "Re: how to give proper permission for asp.net in sql server express"
- Reply: Curt_C [MVP]: "Re: how to give proper permission for asp.net in sql server express"
- Reply: Chris Podmore: "RE: how to give proper permission for asp.net in sql server express"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 01 Mar 2005 22:50:46 +0800
hi,
i have a problem which bothered me for a long time. i tried to connect
my asp.net page with sql server express 2005 and always got some error
msg telling that the current nt account doen't have enough permission.
i know this happens because i havn't given proper permission to the
internet guest account. i tried the following sql statements in visual
studio, but no one worked:
sp_grantlogin 'machine_name\ASPNET'
sp_grantlogin 'IUSR_MACHINE_NAME'
sp_grantdbaccess 'machine_name\ASPNET', 'Common User'
sp_grantdbaccess 'machine_name\ASPNET', 'DBO'
sp_grantdbaccess 'IUSR_MACHINE_NAME', 'Common User'
sp_grantdbaccess 'IUSR_MACHINE_NAME', 'DBO'
......
besides the problem, now i begin to be messed up with those sql server
permission stuff. anyone can help to figure it out? or is there any
article that can help me have a better understanding of that?
thanks.
- Next message: Nick Malik [Microsoft]: "Re: Cannot connect to Local SQL Server"
- Previous message: Mark Lewis: "Cannot connect to Local SQL Server"
- Next in thread: Curt_C [MVP]: "Re: how to give proper permission for asp.net in sql server express"
- Reply: Curt_C [MVP]: "Re: how to give proper permission for asp.net in sql server express"
- Reply: Chris Podmore: "RE: how to give proper permission for asp.net in sql server express"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|