<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>nitashav</title><link>http://blogs.iis.net/nitashav/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Diagnose Failures with Remote Management</title><link>http://blogs.iis.net/nitashav/archive/2007/12/18/diagnose-failures-with-remote-management.aspx</link><pubDate>Tue, 18 Dec 2007 21:52:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2066919</guid><dc:creator>NitashaV</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/nitashav/rsscomments.aspx?PostID=2066919</wfw:commentRss><comments>http://blogs.iis.net/nitashav/archive/2007/12/18/diagnose-failures-with-remote-management.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P align=center&gt;&lt;B&gt;Diagnose Failures with Remote Management&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Good place to start if you want to learn about how to configure remote administration for IIS Manager: &lt;A href="http://learn.iis.net/page.aspx/158" mce_href="http://learn.iis.net/page.aspx/158"&gt;http://learn.iis.net/page.aspx/158&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This is a long overdue blog entry. It's an attempt to help you all diagnose any issues you might come across while using Remote Manager. My assumption is that you know how to get started and have run into issues while using the Remote Manager. This is based on frequently asked questions on iis.net forums. This troubleshooting applies to all remote management (i.e. downlevel --&amp;gt; 2K8 and 2k8--&amp;gt;2k8).&lt;/P&gt;
&lt;P&gt;&lt;B&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/B&gt;&lt;B&gt;Cannot connect to the remote server?&lt;/B&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure the client and the server are using the same build. For example, Server Beta 3 Remote Manager client will not work with a RC1 server build and so on... &lt;/LI&gt;
&lt;LI&gt;Refer to the blog about Remote Management Behavior Matrix located at: &lt;A href="http://blogs.iis.net/nitashav/archive/2007/04/23/remote-management-behavior-matrix.aspx" mce_href="http://blogs.iis.net/nitashav/archive/2007/04/23/remote-management-behavior-matrix.aspx"&gt;http://blogs.iis.net/nitashav/archive/2007/04/23/remote-management-behavior-matrix.aspx&lt;/A&gt; ; there might be problems because of acls.&lt;/LI&gt;
&lt;LI&gt;Look at the Event Viewer (eventvwr.msc) log: *wmsvc has a good supportability story; events are logged with detailed error message and stack trace. Most of the time, looking at the Event Viewer will tell you what the problem might be.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;B&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/B&gt;&lt;B&gt;Cannot connect to the remote server after updating *wmsvc bindings?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;If this happens after you updated the port on which wmsvc is configured to run, check if the firewall is turned on for the server. If it is, add a new exception rule for the port on which wmsvc is running (default value: 8172). Now try connecting to the server again.&lt;/P&gt;
&lt;P mce_keep="true"&gt;If this does not solve the problem, run the following commands from cmdline &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;netsh http show sslcert&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Ensure that the port 8172 (the one on which wmsvc is running) has ssl certificate bindings. Also make sure the cert hash matches the one to which wmsvc is bound to (in the Management Service UI)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Sample output:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;c:\&amp;gt;netsh http show sslcert&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SSL Certificate bindings:&lt;/P&gt;
&lt;P&gt;-------------------------&lt;/P&gt;
&lt;P&gt;IP:port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0.0.0.0:8172&lt;/P&gt;
&lt;P&gt;Certificate Hash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : f06ae62a5275a818338f05ecc80707335be1e204&lt;/P&gt;
&lt;P&gt;Application ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : {00000000-0000-0000-0000-000000000000}&lt;/P&gt;
&lt;P&gt;Certificate Store Name: MY&lt;/P&gt;
&lt;P&gt;Verify Client Certificate Revocation&amp;nbsp;&amp;nbsp;&amp;nbsp; : Enabled&lt;/P&gt;
&lt;P&gt;Verify Revocation Using Cached Client Certificate Only: Disabled&lt;/P&gt;
&lt;P&gt;Usage Check&amp;nbsp;&amp;nbsp;&amp;nbsp; : Enabled&lt;/P&gt;
&lt;P&gt;Revocation Freshness Time: 0&lt;/P&gt;
&lt;P&gt;URL Retrieval Timeout&amp;nbsp;&amp;nbsp; : 0&lt;/P&gt;
&lt;P&gt;Ctl Identifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : (null)&lt;/P&gt;
&lt;P&gt;Ctl Store Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : (null)&lt;/P&gt;
&lt;P&gt;DS Mapper Usage&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;/P&gt;
&lt;P&gt;Negotiate Client Certificate&amp;nbsp;&amp;nbsp;&amp;nbsp; : Disabled&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;EM&gt;netsh http show urlacl&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Ensure that the url https://*:8172/ (port on which wmsvc is configured to run on) shows up in the list of reserved urls&lt;/P&gt;
&lt;P&gt;Sample output:&lt;/P&gt;
&lt;P&gt;c:\&amp;gt;netsh http show urlacl&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;URL Reservations:&lt;/P&gt;
&lt;P&gt;-----------------&lt;/P&gt;
&lt;P&gt;Reserved URL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : https://*:8172/&lt;/P&gt;
&lt;P&gt;User: NT SERVICE\WMSvc&lt;/P&gt;
&lt;P&gt;Listen: Yes&lt;/P&gt;
&lt;P&gt;Delegate: No&lt;/P&gt;
&lt;P&gt;SDDL: D:(A;;GX;;;S-1-5-80-257763619-1023834443-750927789-3464696139-1457670516)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you see that bindings are not correctly configured (using netsh commands in the previous paragraph), the problem might be that the machine key does not have permissions for the administrator trying to tweak wmsvc bindings. In that case, try the following --&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Take ownership for the machine key&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;takeown /F %ProgramData%\Microsoft\Crypto\RSA\MachineKeys\bedbf0b4da5f8061b6444baedf4c00b1* /R&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Acl the machine key such that administrators group has read permissions&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;icacls %ProgramData%\Microsoft\Crypto\RSA\MachineKeys\bedbf0b4da5f8061b6444baedf4c00b1* /grant Administrators:(R)&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Reserve the port 8172 for wmsvc&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;netsh http add urlacl url="https://*:8172/" User="NT SERVICE\wmsvc"&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Associate the cert with the port&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;netsh http add sslcert ipport=0.0.0.0:8172 certhash=&amp;lt;certHash&amp;gt; appid={d7d72267-fcf9-4424-9eec-7e1d8dcec9a9}&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;B&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/B&gt;&lt;B&gt;Do not want to see the prompt on client every time you connect to the remote server?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Make sure your server uses a trusted root certificate for wmsvc. Basically create a trusted root certificate (if you don't already have it) and on the Management Service feature page assign this certificate to be used by the service. This will ensure the client does not get a prompt asking if they trust the server (since the certificate isn't trusted).&lt;/P&gt;
&lt;P&gt;4) &lt;B&gt;If all else fails:&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Post your issue on iis.net forums (&lt;A href="http://forums.iis.net/" mce_href="http://forums.iis.net/"&gt;http://forums.iis.net/&lt;/A&gt;) with repro steps and details. It would be great if you could send the eventvwr.msc log along with exception and call stack (see below for details on how to get the exception and call stack) &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Attach windbg to wmsvc.exe&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;windbg -pn wmsvc.exe&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Load the sos.dll and set a break point if a managed exception happens&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;.loadby sos mscorwks&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;sxe clr&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;Then hit go&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;g&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;UL&gt;
&lt;LI&gt;When it breaks, print the exception and the call stack and send it to us @ iis.net/forums.&lt;/LI&gt;&lt;/UL&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;!pe&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;!clrstack&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;*WMSVC is the service for Remote administration on the server side and can be configured in the UI in the Management Service Page. You can get some more information about this at &lt;A href="http://learn.iis.net/page.aspx/158/remote-administration-for-iis-manager/"&gt;http://learn.iis.net/page.aspx/158/remote-administration-for-iis-manager/&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2066919" width="1" height="1"&gt;</description></item><item><title>Remote Management Behavior Matrix</title><link>http://blogs.iis.net/nitashav/archive/2007/04/23/remote-management-behavior-matrix.aspx</link><pubDate>Tue, 24 Apr 2007 01:09:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1678792</guid><dc:creator>NitashaV</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/nitashav/rsscomments.aspx?PostID=1678792</wfw:commentRss><comments>http://blogs.iis.net/nitashav/archive/2007/04/23/remote-management-behavior-matrix.aspx#comments</comments><description>&lt;h2&gt;Introduction
&lt;/h2&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;Have you tried to use the IIS7 UI for remote administration? There is a matrix of scenarios remote administration caters to. Read on to see how powerful and rich this story in IIS7 is...
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;I find this remote management behavior matrix to be very useful to get the different remote administration scenarios to work and also to help diagnose 401's. Knowing what identity does what in each scope (server, site, application) helps me ensure the correct set of acls needed at different paths; instead of "give full control everywhere and make it work".
&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;Prerequisites
&lt;/h2&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;A &lt;strong&gt;pre-requisite&lt;/strong&gt; for remote management via the IIS7 UI is to start the remote administration service (wmsvc) on the server machine. The configuration of wmsvc deserves another blog which I will post soon. 
&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;Getting Started
&lt;/h2&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;General rules of thumb (valid for every item in the matrix below):
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;/span&gt;&lt;span style="font-size:7pt;"&gt;  &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;Redirection.config, applicationHost.config and administration.config are always read (even when you connect to site and app)
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;/span&gt;&lt;span style="font-size:7pt;"&gt;  &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;Redirection.config is always read using the identity in which the service wmsvc runs (by default: NT Service\WMSVC)
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;/span&gt;&lt;span style="font-size:7pt;"&gt;  &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;If (configurationRedirection is enabled in Redirection.config)
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;o&lt;/span&gt;&lt;span style="font-size:7pt;"&gt;    &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;Server Config files (applicationHost.config, administration.config) are always read using the username and password specified in redirection.config
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;Else  //&lt;/span&gt;
		&lt;span style="font-family:Verdana;font-size:10pt;"&gt;configurationRedirection is disabled
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:72pt;"&gt;&lt;span style="font-family:Courier New;font-size:10pt;"&gt;o&lt;/span&gt;&lt;span style="font-size:7pt;"&gt;    &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;Server Config files (applicationHost.config, administration.config) are always read using the identity in which wmsvc runs (NT Service\WMSVC by default)
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;/span&gt;&lt;span style="font-size:7pt;"&gt;  &lt;/span&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;UI does nothing special when trying to read Root web.config (asp.net counterpart of applicationHost.config)
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;
 &lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Now let's get to the matrix for other specifics&lt;/strong&gt;&lt;/span&gt;:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;
 &lt;/p&gt;&lt;p style="margin-left:36pt;"&gt;
 &lt;/p&gt;&lt;div style="margin-left:30pt;"&gt;&lt;table style="border-collapse:collapse;"&gt;&lt;tr style="height:42px;background:#4bacc6;"&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:solid 2.25pt;border-left:none;border-bottom:solid 2.25pt;border-right:none;"&gt;&lt;p style="text-align:center;"&gt;&lt;span style="color:white;font-family:Verdana;font-size:12pt;"&gt;&lt;strong&gt;Connect as:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:solid 2.25pt;border-left:none;border-bottom:solid 2.25pt;border-right:none;"&gt;&lt;p style="text-align:center;"&gt;&lt;span style="color:white;font-family:Verdana;font-size:12pt;"&gt;&lt;strong&gt;Windows Administrator&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:solid 2.25pt;border-left:none;border-bottom:solid 2.25pt;border-right:none;"&gt;&lt;p style="text-align:center;"&gt;&lt;span style="color:white;font-family:Verdana;font-size:12pt;"&gt;&lt;strong&gt;Windows User&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;border-top:solid 2.25pt;border-left:none;border-bottom:solid 2.25pt;border-right:none;"&gt;&lt;p style="text-align:center;"&gt;&lt;span style="color:white;font-family:Verdana;font-size:12pt;"&gt;&lt;strong&gt;IIS Manager User&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:89px;"&gt;&lt;td style="background:#4bacc6;padding-left:7px;padding-right:7px;border-left:none;"&gt;&lt;p&gt;&lt;span style="color:white;font-family:Verdana;font-size:7pt;"&gt;Out of the box experience &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="background:#d8d8d8;padding-left:7px;padding-right:7px;"&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Server connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows admin when writing to the server config files ( applicationHost.config, administration.config and root web.config) 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows admin when reading from and writing to the site's web.config 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="background:#d8d8d8;padding-left:7px;padding-right:7px;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;span style="color:#0070c0;"&gt;Server connection: &lt;/span&gt;N/A
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows user when reading from and writing to the site's web.config 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;
							&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;&lt;td style="background:#d8d8d8;padding-left:7px;padding-right:7px;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;span style="color:#0070c0;"&gt;Server connection:&lt;/span&gt; N/A
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;Site's web.config file is read from and written to using the identity in which wmsvc runs (NT Service\WMSVC)
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;
							&lt;/span&gt; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:354px;"&gt;&lt;td style="background:#4bacc6;padding-left:7px;padding-right:7px;border-left:none;"&gt;&lt;p&gt;&lt;span style="color:white;font-family:Verdana;font-size:7pt;"&gt;Site or app on UNC&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;"&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Server connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows admin when writing to the server config files(  applicationHost.config, administration.config and root web.config) 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;If unc credentials are specified for the unc share, UI will read the site's web.config file using those unc credentials and write as windows administrator
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;-&lt;/span&gt;      &lt;span style="font-family:Verdana;"&gt;If unc credentials are not specified for the unc share, UI will read from and write to the site's web.config file as windows administrator
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;span style="color:#0070c0;"&gt;Server connection:&lt;/span&gt; N/A
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;If unc credentials are specified for the unc share, UI will read the site's web.config file using those unc credentials and write as windows user
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;If unc credentials are not specified for the unc share, UI will read from and write to the site's web.config file as windows user
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding-left:7px;padding-right:7px;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;span style="color:#0070c0;"&gt;Server connection:&lt;/span&gt; N/A
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;If unc credentials are specified for the unc share, UI will read the site's web.config file using those unc credentials and write using the identity in which wmsvc runs (NT Service\WMSVC)
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;If unc credentials are not specified for the unc share, UI will read from and write to site's web.config using the identity in which wmsvc runs (NT Service\WMSVC)
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;em&gt;*( see note below)
&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;em&gt;*( see note below)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="height:89px;"&gt;&lt;td style="background:#4bacc6;padding-left:7px;padding-right:7px;border-left:none;border-bottom:solid 2.25pt;"&gt;&lt;p&gt;&lt;span style="color:white;font-family:Verdana;font-size:7pt;"&gt;Configuration Redirection is enabled in Redirection.Config &lt;strong&gt;
								&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:white;font-family:Verdana;font-size:7pt;"&gt;Config files:
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:white;font-family:Verdana;font-size:7pt;"&gt;applicationHost.config administration.config&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="background:#d8d8d8;padding-left:7px;padding-right:7px;border-bottom:solid 2.25pt;"&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Server connection: 
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;Server files are read using the username and password specified in redirection.config
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows admin when writing to the server config files(  applicationHost.config, administration.config and root web.config) 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows admin when reading from and writing to the site's web.config 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="background:#d8d8d8;padding-left:7px;padding-right:7px;border-bottom:solid 2.25pt;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;span style="color:#0070c0;"&gt;Server connection:&lt;/span&gt; N/A 
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;UI impersonates as the windows user when reading from and writing to the site's web.config 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="background:#d8d8d8;padding-left:7px;padding-right:7px;border-bottom:solid 2.25pt;"&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:7pt;"&gt;&lt;span style="color:#0070c0;"&gt;Server connection:&lt;/span&gt; N/A
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;Site connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;Site's Config is read from and written to as the identity in which wmsvc runs (NT Service\WMSVC)
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#0070c0;font-family:Verdana;font-size:7pt;"&gt;App connection:
&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:18pt;"&gt;&lt;span style="font-size:7pt;"&gt;-          &lt;span style="font-family:Verdana;"&gt;same as the site connection 
&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;p&gt;
 &lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;&lt;strong&gt;*NOTE: &lt;/strong&gt; If NT Service\WMSVC does not have permissions to the UNC share (which will be the case for unc shares on another machine, wmsvc means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the unc share.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Verdana;font-size:10pt;"&gt;&lt;strong&gt;&lt;em&gt;Recommendation:&lt;/em&gt;&lt;/strong&gt; do *not* use Network Service identity – it is a possible security risk since that's the identity asp.net apps run under. With acls to this account, you have just opened your content/configuration up for anyone to access via an aspx page (ouch!)
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;  &lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=1678792" width="1" height="1"&gt;</description></item></channel></rss>