zaterdag 16 januari 2010

ConfigMgr 2007 R2 SP2: Windows Server 2008 R2 and Management Point


I've been reinstalling my testenvironment to support Windows Server 2008 R2 instead of Windows Server 2008, but while installing SCCM 2007 R2 SP2 I ran into the following problem:

SMS Site Component Manager failed to install component SMS_MP_CONTROL_MANAGER on server.

The WebDAV server extension is either not installed or not configured properly.
Solution: Make sure WebDAV is installed and enabled. Make sure there is an authoring rule that allow “All users” read access to “All content”. Make sure the WebDAV settings “Allow anonymous property queries” and “Allow property queries with infinite depth” are set to “true” and “Allow Custom Properties” is set to false.

Now what? I am 100% sure I have the correct settings in WebDAV (according to the log also) but it doesn't seem to recognize it. After doing some searching on the internet I found the location of the configuration file of Webdav. This file is located in: C:\Windows\System32\inetsrv\config\schema\WebDAV_schema.xml. After opening this file up I noticed that the settings in this file were different from the settings I changed in the IIS Manager.

The settings were configured as:
<attribute name=”allowAnonymousPropfind” type=”bool” defaultValue=”false” />
<attribute name=”allowInfinitePropfindDepth” type=”bool” defaultValue=”false” />
<attribute name=”allowCustomProperties” type=”bool” defaultValue=”true” />

However they should be:
<attribute name=”allowAnonymousPropfind” type=”bool” defaultValue=”true” />
<attribute name=”allowInfinitePropfindDepth” type=”bool” defaultValue=”true” />
<attribute name=”allowCustomProperties” type=”bool” defaultValue=”false” />

After correcting these settings (remember you have to take ownership of the file to be able to change it) and restarting the World Wide Web Publishing Service and the SMS_SITE_COMPONENT_MANAGER the Management Point gets installed correctly. You can check if the installation is succesful in the logfile MPSetup.log in your SCCM\Logs directory. If succesful the log looks like this:
<01-16-2010 22:08:36> ======== Completed Installation of Pre Reqs for Role SMSMP ========
<01-16-2010 22:08:36> Installing the SMSMP
<01-16-2010 22:08:36> Passed OS version check.
<01-16-2010 22:08:36> IIS Service is installed.
<01-16-2010 22:08:36> checking WebDAV configuraitons
<01-16-2010 22:08:37> WebDAV is configured
<01-16-2010 22:08:37> No versions of SMSMP are installed. Installing new SMSMP.
<01-16-2010 22:08:37> Enabling MSI logging. mp.msi will log to C:\Program Files (x86)\Microsoft Configuration Manager\logs\mpMSI.log
<01-16-2010 22:08:37> Installing C:\Program Files (x86)\Microsoft Configuration Manager\bin\i386\mp.msi CCMINSTALLDIR="C:\Program Files (x86)\SMS_CCM" CCMSERVERDATAROOT="C:\Program Files (x86)\Microsoft Configuration Manager" USESMSPORTS=TRUE SMSPORTS=80 USESMSSSLPORTS=TRUE SMSSSLPORTS=443 USESMSSSL=TRUE SMSSSLSTATE=0 CCMENABLELOGGING=TRUE CCMLOGLEVEL=1 CCMLOGMAXSIZE=1000000 CCMLOGMAXHISTORY=1
<01-16-2010 22:08:57> mp.msi exited with return code: 0
<01-16-2010 22:08:57> Verifying CCM_CLIENT virtual directory.
<01-16-2010 22:08:57> Website path is IIS://LocalHost/W3SVC/1.
<01-16-2010 22:08:57> Connecting to IIS.
<01-16-2010 22:08:57> CCM_CLIENT is currently C:\Program Files (x86)\Microsoft Configuration Manager\Client.
<01-16-2010 22:08:57> Installation was successful.

One last thing. When creating a backup of the WebDav_schema.xml, do not create the backup in the same directory as the original file. All .xml files put in this directory will be read by IIS so your settings will not seem changed afterwards.

Good luck, I hope this helps.

Geen opmerkingen:

Een reactie plaatsen