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

[718 byte] By [KlausAschenbrenner] at [2008-2-5]
# 1

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

DanJonesMSFT at 2007-10-3 > top of Msdn Tech,SQL Server Katmai,SQL Server Katmai Manageability & Tools...
# 2

>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
  1. In Object Explorer, right-click Surface Area Facet, and then click New Policy.

  2. In the Create New Policy dialog box, in the Name box, type Off By Default.

  3. Select the Enabled box.

  4. In the Condition box, select Mail Off.

  5. Near the Group box, click New.

  6. In the Create new group dialog box, type Restricted Servers as the name of the new group, and then click OK.

  7. In the Group box, select the new Restricted Servers group.

  8. In the Applies to box, select Server.

  9. 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.

AlexeyYeltsov at 2007-10-3 > top of Msdn Tech,SQL Server Katmai,SQL Server Katmai Manageability & Tools...
# 3

Alexey, Please file the bug through connect.

Thanks,
Dan

DanJonesMSFT at 2007-10-3 > top of Msdn Tech,SQL Server Katmai,SQL Server Katmai Manageability & Tools...

SQL Server Katmai

Site Classified