<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>SharePoint 3.0</title><link>http://blogs.interknowlogy.com/billsheldon/category/91.aspx</link><description>SharePoint 3.0</description><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.111</generator><item><dc:creator>Bill Sheldon</dc:creator><title>Installing the WSS 3.0 Beta in a VPC after NewSID</title><link>http://blogs.interknowlogy.com/billsheldon/archive/2006/05/22/2705.aspx</link><pubDate>Mon, 22 May 2006 16:32:00 GMT</pubDate><guid>http://blogs.interknowlogy.com/billsheldon/archive/2006/05/22/2705.aspx</guid><description>&lt;P&gt;&lt;/P&gt;&lt;FONT face="Times New Roman" color=#000000 size=3&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;So you are trying to install the Beta Windows Sharepoint Services 2007 in a Virtual PC.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;The install seemed to run fine, and you&amp;#8217;ve started the configuration process and you have just gotten the error: &lt;STRONG&gt;Exception: System.InvalidOperationException: This access control list is not in canonical form and therefore cannot be modified&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;There isn&amp;#8217;t much documentation on this but from what I can tell unless you follow the unofficial solution below it is a show stopper. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;The cause, well if you tried to save time by having a VPC image preset with Windows Server 2003 and just copied that image and then ran something like NewSID on that image you got this error. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Something in the SID reset logic isn&amp;#8217;t clean enough and the Sharepoint installation picks up on the SID issue and doesn&amp;#8217;t actually create the correct security settings and corrupts your registry in a minor way.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Since I hate the thought of needing to forever wait through the Windows Server installation process, I wanted a solution to the problem. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I found a few hints that talked about things like making sure you have the latest version of NewSID and or running the Sysprep.exe utility that ships as an optional tool on the Windows Server DVD. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;The fact is I attempted several different combinations of these tools in an attempt to resolve the configuration errors and they don&amp;#8217;t clean up the issue, which brought me to digging through the actual details of the error.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;The good news is that the configuration wizard for WSS can be run repeatedly so I could debug each of the issues that cause this error in Step 4 of the configuration process.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;The first issue is fairly simple.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;It occurs in your systems Users and Groups. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;WSS creates three new security groups: WSS_ADMIN_WPG, WSS_RESTRICTED_WPG, and WSS_WPG. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Only the third of these is corrupt.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 37.4pt"&gt;The WSS_WPG group in my experience with this error is missing it&amp;#8217;s members the LOCAL SERVICE and NETWORK SERVICE accounts need to be part of this security group.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 37.4pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 37.4pt"&gt;The next two issues both involve registry keys and require you to use the Run command to open &amp;#8220;Regedit&amp;#8221; and hack on your registry.&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=2&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;The first key at issue is located in the HKEY_CLASSES_ROOT hive. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;(Note this isn&amp;#8217;t the order the errors appear but my choice for editing.)&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;From within this hive go to the AppID key. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Within the AppID key find the key {6002D29F-1366-4523-88C1-56D59BFEF8CB}. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;Right click on the key (starting with 6002) and select &amp;#8220;Permissions&amp;#8230;&amp;#8221; from the context menu. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;At this point you should get a warning dialog indicating that this key&amp;#8217;s permissions are corrupt. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Say OK to the error message and go into the permissions dialog.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;That dialog will look similar to this one:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;IMG src="http://nerdnotes.com/blog/content/binary/RegEditPermissions.bmp" border=0&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;Notice the &amp;#8220;Advanced&amp;#8221; button. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Select it to get to the dialog you actually need:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;IMG src="http://nerdnotes.com/blog/content/binary/RegEditAdvPerms.bmp" border=0&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt;&lt;/o:p&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;On this dialog you&amp;#8217;ll note that my example shows a set of non-inherited permissions, it&amp;#8217;s this list that has some problems. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;You basically need to Add LOCAL SERVICE, NETWORK SERVICE and WSS_ADMIN_WPG as having full control on this key and sub keys. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Additionally the SYSTEM and Administrators permissions should be for this key and all sub keys and any references to any User or Power User specific permissions that are not inherited should be deleted.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=1 start=3&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in"&gt;Once you have updated the first key it&amp;#8217;s time to move to HKEY_LOCAL_MACHINE to get to the second set of keys.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;These keys are under Software\Microsoft\Shared Tools\Web Server Extensions\12.0.&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;The WSS Key under the above path needs it&amp;#8217;s permissions corrected, and when you right click it and select &amp;#8220;Permissions&amp;#8230;&amp;#8221; you will again be warned that it&amp;#8217;s permission hierarchy is corrupt. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Say &amp;#8216;OK&amp;#8217; again and head in as above.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;In this case on the second screen take a moment and select &amp;#8220;Replace permission entries on all child objects with entries shown here that apply to child objects&amp;#8221;.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;Next delete any pre-existing permissions which are not inherited and then add a new permission for WSS_WPG.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;In this case when adding the permission you do not use full control instead use the settings shown in the screen shot below. &lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Once this has been added &amp;#8220;Apply&amp;#8221; these changes and return to Regedit.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt;&lt;/o:p&gt;  &lt;IMG src="http://nerdnotes.com/blog/content/binary/RegEditWSS_WPGPerms.bmp" border=0&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;Next go to the key &amp;#8220;ComponentsToRegister&amp;#8221; located below the WSS key you were just in.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Again right click and go to the advanced screen.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;This time you need to add WSS_ADMIN_WPG to the list of those granted permission and then set it&amp;#8217;s special permissions with the screen shown below. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt; &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;IMG src="http://nerdnotes.com/blog/content/binary/RegEditWSS_ADIMN_WPGPerms.bmp" border=0&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;At this point you can close regedit and restart the Sharepoint configuration wizard.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;It should run past steps 1-3 very quickly and then successfully get through step 4.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Once step 4 is complete the remaining 6 steps should complete without issue.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;For me this is a quicker alternative to building a new image for each time I reinstall WSS.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;Now on to my next task, adding the Office Sharepoint Server (OSS) to the mix.&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;I&amp;#8217;ll post if it has any issues of its own. &lt;/P&gt;&lt;/FONT&gt;&lt;img width="0" height="0" src="http://nerdnotes.com/blog/cptrk.ashx?id=93c5d391-39aa-4905-be2e-c12233a9d929"&gt;&lt;img src ="http://blogs.interknowlogy.com/billsheldon/aggbug/2705.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>