Policy Management - Enabling a policy
Hi!
I've followed the "Create the Off By Default Policy" lesson in BOL (ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_4deptrbl/html/98fde3c5-297c-4d95-981e-95700bbf5ccd.htm). But as soon as I want to enable the created policy I get the following error message inside SQL Server Management Studio:
"Execution Mode 'None' does not support Enabled 'True'
Why I can enable a policy with the execution mode "None". Is this a bug?
Thanks
Klaus Aschenbrenner
http://www.csharp.at
http://www.csharp.at/blog
Hi Klaus,
The enable/disable drives the state of the automation; this means that it is only meaningful to enable a policy that has an execution mode other than 'None'. A disabled policy can still be manually executed. We've already cleaned up the GUI some to make this a little more clear, you'll see this in a later CTP.
Cheers,
Dan
>it is only meaningful to enable a policy that has an execution mode other than 'None'.
We should file a doc bug then, because BOL advises to do confilicting things:
ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_4deptrbl/html/98fde3c5-297c-4d95-981e-95700bbf5ccd.htm
To create the Off By Default policy
-
In Object Explorer, right-click Surface Area Facet, and then click New Policy.
-
In the Create New Policy dialog box, in the Name box, type Off By Default.
-
Select the Enabled box.
-
In the Condition box, select Mail Off.
-
Near the Group box, click New.
-
In the Create new group dialog box, type Restricted Servers as the name of the new group, and then click OK.
-
In the Group box, select the new Restricted Servers group.
-
In the Applies to box, select Server.
-
In the Execution mode area, select None, and then click OK.
Dan, you want bug on Connect or will you guys take it from here?
[EDIT] Just remembered the "Send Feedback" button in BOL. Please let me know if you want that used instead.