First time here? Check out the site's "greatest hits" or read a post from the archives. Feel free to leave a comment or ask a question, and consider subscribing to the latest posts via RSS or e-mail. Thanks for visiting!
« TechEd is Sold out: Sign up for my sessi... | Main | Logitech Harmony 880 Remote Control Revi... »

When trying to enable ASP.NET Session State on SQL Server 2005 Express this evening via:

c:\>aspnet_regsql -ssadd -sstype p -U sa -P password

I got:

An error occurred during the execution of the SQL file 'InstallSqlState.sql'. The SQL error number is 15501 and the SqlException message is: This module has been marked OFF.  Turn on 'Agent XPs' in order to be able to access the module. If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.

So, that's scary. After some looking for "Agent XPs" and finding ZERO results on Google, Richard Campbell suggested:

EXECUTE sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
GO

EXECUTE sp_configure 'Agent XPs', 1
RECONFIGURE WITH OVERRIDE
GO

EXECUTE sp_configure 'show advanced options', 0
RECONFIGURE WITH OVERRIDE
GO

I then ran aspnet_regsql again and all was good.

The real question is this: Is this new tightened security new to Beta 2 of SQL or just of SQL Express? Seems like it is to me. Is this something that aspnet_regsql should handle for me? Perhaps. Not sure if this is a bug or a feature.

Now playing: Matisyahu - Fire and Heights



Wednesday, April 27, 2005 9:13:55 PM (Pacific Standard Time, UTC-08:00)
I think its tightened security... although there's no reason the script couldn't have enabled Agent XPs for its set up and then disabled them again.

So call it a combination of tightened security and not telling anyone.
Comments are closed.

Contact

Sponsors

Hosting By

On this page...

Tags

Calendar

<December 2008>
SunMonTueWedThuFriSat
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Archives

Google Ads