August 8, 2012 at 4:42 am
hi,
while enabling xp_cmdshell from value 0 to 1 we are getting the following error when we try to reconfigure it the error is-
'Address Windowing Extensions (AWE) requires the 'lock pages in memory' privilege which is not currently present in the access token of the process.'
please help me resolve this error.
Thanks
Rahul Singh
August 8, 2012 at 7:05 am
I'm pretty sure you didn't change only xp_cmdshell from 0 to 1, but you (or somebody else before you) changed AWE from 0 to 1.
In order to use AWE, you need to grant the lock pages in memory privilege to the SQL Server service user account.
Is this a 32 bit instance?
Do you really want to turn AWE on?
If so, grant the privilege and cycle the instance.
If not, set AWE back to 0 and forget about it.
Hope this helps
Gianluca
-- Gianluca Sartori
August 8, 2012 at 7:13 am
Please check that u r having enough memory(Physical) at server.
see below links
http://www.modhul.com/2007/11/08/using-address-windowing-extensions-awe-with-sql-server/
August 8, 2012 at 11:43 pm
ya it's a 32 bit instance.
I have also enabled AWE from 0 to 1
After disabling AWE the query is working fine now...
Thanks for ur reply.
August 9, 2012 at 2:03 am
I'm glad you sorted it out.
However, if it is a 32 bit server, you won't be able to use more than 3 GB of RAM without AWE enabled. Is that ok for you?
-- Gianluca Sartori
August 9, 2012 at 2:08 am
kool
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply