<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Admins Goodies &#187; iis7</title>
	<atom:link href="http://adminsgoodies.com/tag/iis7/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 23 May 2013 16:33:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>What is this user name for and how did it get created?</title>
		<link>http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/</link>
		<comments>http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 17:36:12 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/</guid>
		<description><![CDATA[When I created a website named Portal on my IIS 7.5 on the website permissions-&#62;security I got this user. What is its purpose? From what I have read the ApplicationPool runs under NetworkService permissions, but I noticed if I gave Portal user full permissions I could do the saving I wanted in the virtual folder without needing to impersonate any other user (I used to impersonate admin which was a bad idea). So I guess [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>When I created a website named <code>Portal</code> on my IIS 7.5 on the website <code>permissions</code>-&gt;<code>security</code> I got this user. What is its purpose?</p>
<p>From what I have read the <code>ApplicationPool</code> runs under <code>NetworkService</code> permissions, but I noticed if I gave <code>Portal</code> user full permissions I could do the saving I wanted in the virtual folder without needing to impersonate any other user (I used to impersonate admin which was a bad idea). So I guess my question is, should I be setting permissions on this <code>Portal</code> user without knowing how it came about?</p>
<p><img src="http://i.stack.imgur.com/21wmP.png" alt="enter image description here"></p>
<p>It seems that this user <strong>did not</strong> get created when I created the website, but did so when I published to the website from VS 2010.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/118212/muhammada" target="_blank">MuhammadA</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>In IIS 7.5 the default behavior is to run all application pools under a specific account for the individual application.  You can of course change this if you modify the application pool settings.</p>
<p>Regardless, yes, setting permissions against this user is the desired behavior as it limits the potential attack surface rather than using a generic network service account as in the past.</p>
<p>You can read more about the change to default accounts in IIS <a href="http://www.iis.net/learn/manage/configuring-security/application-pool-identities" rel="nofollow">here</a>.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/42617/brent-pabst" target="_blank">Brent Pabst</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/459338/what-is-this-user-name-for-and-how-did-it-get-created" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The World Wide Web Publishing Service (WWW Service) did not register the URL</title>
		<link>http://adminsgoodies.com/the-world-wide-web-publishing-service-www-service-did-not-register-the-url/</link>
		<comments>http://adminsgoodies.com/the-world-wide-web-publishing-service-www-service-did-not-register-the-url/#comments</comments>
		<pubDate>Sat, 08 Dec 2012 17:36:00 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[windows-server-2008-r2]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/the-world-wide-web-publishing-service-www-service-did-not-register-the-url/</guid>
		<description><![CDATA[This error is logged once I create a website: The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 6. The necessary network binding may already be in use. The site has been disabled. The data field contains the error number. I followed this link but there is no ListenOnlyList, instead I saw UrlAclInfo which contains this: C:\Users\Administrator&#62;netstat -ano &#124; find ":80" &#124;find /i "listen" TCP 0.0.0.0:80 0.0.0.0:0 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>This error is logged once I create a website:</p>
<blockquote>
<p>The World Wide Web Publishing Service (WWW Service) did not register the URL prefix http://*:80/ for site 6. The necessary network binding may already be in use. The site has been disabled. The data field contains the error number.</p>
</blockquote>
<p>I followed <a href="http://support.microsoft.com/kb/890015" rel="nofollow">this link</a> but there is no <code>ListenOnlyList</code>, instead I saw <code>UrlAclInfo</code> which contains this:</p>
<p><img src="http://i.stack.imgur.com/gPPoP.png" alt="enter image description here"></p>
<pre><code>C:\Users\Administrator&gt;netstat -ano | find ":80" |find /i "listen"
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       4
  TCP    [::]:80                [::]:0                 LISTENING       4
</code></pre>
<p>4 is the pid number of <code>System</code> process.</p>
<p>Any ideas to fix this?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/148779/mario" target="_blank">Mario</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>As stated <strong><a href="http://technet.microsoft.com/en-us/library/dd569059%28v=ws.10%29.aspx#BKMKCmdLine" rel="nofollow">here</a></strong> Un-Install Microsoft Web deploy and then Re-Install it using command line with these parameters:</p>
<pre><code>msiexec /I &lt;msi_filename&gt; /passive ADDLOCAL=ALL LISTENURL=http://+:8080/MsDeployAgentService2/
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/126492/zim3r" target="_blank">Zim3r</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/456217/the-world-wide-web-publishing-service-www-service-did-not-register-the-url" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/the-world-wide-web-publishing-service-www-service-did-not-register-the-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CPU Configuration Issue for 2 Servers (Server 2008 R2)</title>
		<link>http://adminsgoodies.com/cpu-configuration-issue-for-2-servers-server-2008-r2/</link>
		<comments>http://adminsgoodies.com/cpu-configuration-issue-for-2-servers-server-2008-r2/#comments</comments>
		<pubDate>Sat, 24 Nov 2012 17:35:48 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[asp-classic]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[windows-server-2008-r2]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/cpu-configuration-issue-for-2-servers-server-2008-r2/</guid>
		<description><![CDATA[I have 2 servers running the exact same Classic ASP code with Access DBs (yes, not ideal, but it is what it is, for now). 1) Xeon 5520 @ 2.27 GHz (6 GB Memory) 2) Xeon E5-2620 @ 2.00 GHz (2 processors, 32 GB Memory) For most pages the newer E5-2620 processes the pages between 10-15% faster. On pages requiring heavy and/or multiple complicated access stored procedures (queries) the older 5520 does a much better [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have 2 servers running the exact same Classic ASP code with Access DBs (yes, not ideal, but it is what it is, for now). </p>
<p>1) Xeon 5520 @ 2.27 GHz (6 GB Memory)</p>
<p>2) Xeon E5-2620 @ 2.00 GHz (2 processors, 32 GB Memory)</p>
<p>For most pages the newer E5-2620 processes the pages between 10-15% faster. On pages requiring heavy and/or multiple complicated access stored procedures (queries) the older 5520 does a much better job. </p>
<p>I believe the servers are configured nearly identically. My question: is it possible that the newer, multi-processor server is not as good at handling Classic ASP as the older single processor?</p>
<p>Is there a configuration difference that needs to be in place that I&#8217;m missing since I&#8217;m shooting for identical implementations?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/146351/bill-moreland" target="_blank">Bill Moreland</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>For a Classic ASP with Access Databases I can definitely say that the Dual Processor Xeon E5-2620 is not a faster server than the Xeon 5520. Basically, it&#8217;s the clock speed here &#8211; the 2.27 GHz on the older machine processes the ASP code quicker than the 2.00 GHz Dual Core E5-2620. </p>
<p>As an aside I just set up a 3.4 GHz single processor server and it is quicker than both the machines earlier discussed. For Classic ASP processor speed is definitely the determining criteria.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/146351/bill-moreland" target="_blank">Bill Moreland</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/451088/cpu-configuration-issue-for-2-servers-server-2008-r2" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/cpu-configuration-issue-for-2-servers-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is it possible to run IIS7 on windows 2003?</title>
		<link>http://adminsgoodies.com/is-it-possible-to-run-iis7-on-windows-2003/</link>
		<comments>http://adminsgoodies.com/is-it-possible-to-run-iis7-on-windows-2003/#comments</comments>
		<pubDate>Thu, 22 Nov 2012 17:36:27 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[iis6]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[windows-server-2003]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/is-it-possible-to-run-iis7-on-windows-2003/</guid>
		<description><![CDATA[Is it possible to run IIS7/7.5 on Windows Server 2003? Asked by David Merrilees No, since IIS4, the IIS version has been tied to the OS version. IIS7, specifically, has many hooks into Server 2008 features that don&#8217;t exist in Server 2003. So even if you were able to force the installer to complete on 2003, IIS would not work. Upgrade to a newer OS, or live with IIS 6. Answered by HopelessN00b Check more [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Is it possible to run IIS7/7.5 on Windows Server 2003?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/146510/david-merrilees" target="_blank">David Merrilees</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>No, since IIS4, the IIS version has been tied to the OS version.</p>
<p>IIS7, specifically, has many hooks into Server 2008 features that don&#8217;t exist in Server 2003.  So even if you were able to force the installer to complete on 2003, IIS would not work.  Upgrade to a newer OS, or live with IIS 6.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/118258/hopelessn00b" target="_blank">HopelessN00b</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/450968/is-it-possible-to-run-iis7-on-windows-2003" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/is-it-possible-to-run-iis7-on-windows-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?</title>
		<link>http://adminsgoodies.com/how-do-you-startstop-iis-7-app-pool-from-cmd-line-if-there-are-spaces-in-the-app-pool-name-2/</link>
		<comments>http://adminsgoodies.com/how-do-you-startstop-iis-7-app-pool-from-cmd-line-if-there-are-spaces-in-the-app-pool-name-2/#comments</comments>
		<pubDate>Sun, 18 Nov 2012 17:35:59 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[app-pools]]></category>
		<category><![CDATA[iis7]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-do-you-startstop-iis-7-app-pool-from-cmd-line-if-there-are-spaces-in-the-app-pool-name-2/</guid>
		<description><![CDATA[http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx The above URL describes how to start/stop an IIS 7 app pool. However, I have spaces in my app pool name. Double-quotes doesn&#8217;t work. Ideas? C:\Windows&#62;C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: My Ap p Services Failed to process input: The parameter 'App' must begin with a / or - (HRESULT=8 0070057).C:\Windows&#62;C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: "My A pp Services" ERROR ( message:The attribute "apppool.name" is not supported in the current com mand usage. ) Asked by stimpy77 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p><a href="http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx" rel="nofollow">http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx</a></p>
<p>The above URL describes how to start/stop an IIS 7 app pool. However, I have spaces in my app pool name. Double-quotes doesn&#8217;t work. Ideas?</p>
<pre><code>C:\Windows&gt;C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: My Ap
p Services
Failed to process input: The parameter 'App' must begin with a / or - (HRESULT=8
0070057).C:\Windows&gt;C:\Windows\System32\inetsrv\appcmd stop apppool /apppool.name: "My A
pp Services"
ERROR ( message:The attribute "apppool.name" is not supported in the current com
mand usage. )
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/17341/stimpy77" target="_blank">stimpy77</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Type <code>appcmd list apppool</code>, and use exactly what it lists there in your <code>appcmd start apppool /apppool.name:</code> </p>
<p>It does look like names with spaces will be escaped with double quotes. Post the exact command you&#8217;re trying to run ; perhaps you missed the colon or there&#8217;s another problem with the syntax?</p>
<p>Edit &#8211; you&#8217;re adding a space between the colon and the first double-quote. Remove that space, use the double-quote, and see what happens.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/29373/mfinni" target="_blank">mfinni</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/155973/how-do-you-start-stop-iis-7-app-pool-from-cmd-line-if-there-are-spaces-in-the-ap" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-do-you-startstop-iis-7-app-pool-from-cmd-line-if-there-are-spaces-in-the-app-pool-name-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Binding to LDAPS using PHP failing</title>
		<link>http://adminsgoodies.com/binding-to-ldaps-using-php-failing/</link>
		<comments>http://adminsgoodies.com/binding-to-ldaps-using-php-failing/#comments</comments>
		<pubDate>Sat, 17 Nov 2012 17:35:45 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/binding-to-ldaps-using-php-failing/</guid>
		<description><![CDATA[We&#8217;ve finally set-up our server to accept ldap SSL connections thanks to another question answered by a helpful member. Our problem now is that when attempting to bind to ldap using the below simple PHP script, we constantly fail. Binding using ldap instead of ldaps works just fine using the script so I know the ldap is enabled. The catcher is that while using LDP.exe, we can successfully connect and bind to ldap on port [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>We&#8217;ve finally set-up our server to accept ldap SSL connections thanks to another question answered by a helpful member.</p>
<p>Our problem now is that when attempting to bind to ldap using the below simple PHP script, we constantly fail.  Binding using ldap instead of ldaps works just fine using the script so I know the ldap is enabled.  The catcher is that while using LDP.exe, we can successfully connect and bind to ldap on port 636 using a secure connection.</p>
<p>The script we are failing with is below:</p>
<pre><code>&lt;?php
$ldap = ldap_connect("ldaps://localhost");
$username="user";
$password="pass";if($bind = ldap_bind($ldap, $username,$password ))
echo "logged in";
else
    echo "fail";
    echo "&lt;br/&gt;done";
    ?&gt;
</code></pre>
<p>We&#8217;ve also attempted inputting the username as &#8220;user@domain&#8221; or &#8220;domain/user&#8221; with no success.  It seems I&#8217;m forever having LDAP/Cert questions.  Our environment is Server 2008.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/85091/sean" target="_blank">Sean</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Followed: <a href="http://greg.cathell.net/php_ldap_ssl.html" rel="nofollow">http://greg.cathell.net/php_ldap_ssl.html</a></p>
<p>Looks like steps #3, #5-7 needed be complete in Windows.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/85091/sean" target="_blank">Sean</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/445397/binding-to-ldaps-using-php-failing" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/binding-to-ldaps-using-php-failing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS7 FTP Setup &#8211; An error occured during the authentication process. 530 End Login failed</title>
		<link>http://adminsgoodies.com/iis7-ftp-setup-an-error-occured-during-the-authentication-process-530-end-login-failed/</link>
		<comments>http://adminsgoodies.com/iis7-ftp-setup-an-error-occured-during-the-authentication-process-530-end-login-failed/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 16:35:53 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[iis7]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/iis7-ftp-setup-an-error-occured-during-the-authentication-process-530-end-login-failed/</guid>
		<description><![CDATA[I&#8217;m having a problem very similar to IIS 7.5 FTP IIS Manager Users Login Fail (530) on Windows Server 2008 R2 Standard. I have created an FTP site and IIS Manager user but am having trouble logging in. I could really do with getting this working with the IIS Manager user rather than by creating a new system user since I&#8217;m fairly restricted with those accounts. Here is the output when connecting locally through command [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m having a problem very similar to <a href="http://serverfault.com/questions/266515/iis-7-5-ftp-iis-manager-users-login-fail-530">IIS 7.5 FTP IIS Manager Users Login Fail (530)</a> on Windows Server 2008 R2 Standard. </p>
<p>I have created an FTP site and IIS Manager user but am having trouble logging in. I could really do with getting this working with the IIS Manager user rather than by <a href="http://serverfault.com/a/289545/103899">creating a new system user</a> since I&#8217;m fairly restricted with those accounts. </p>
<p>Here is the output when connecting locally through command prompt:</p>
<pre><code>C:\Windows\system32&gt;ftp localhost
Connected to MYSERVER.
220 Microsoft FTP Service
User (MYSERVER:(none)): MyFtpLogin
331 Password required for MyFtpLogin.
Password: ***
530-User cannot log in.
 Win32 error:   Logon failure: unknown user name or bad password.
 Error details: An error occured during the authentication process.
530 End
Login failed.
</code></pre>
<p>I have followed the guide to <a href="http://www.iis.net/learn/publish/using-the-ftp-service/configure-ftp-with-iis-manager-authentication-in-iis-7" rel="nofollow">configure ftp with iis manager authentication in iis 7</a> and <a href="http://www.iis.net/learn/publish/using-the-ftp-service/adding-ftp-publishing-to-a-web-site-in-iis-7" rel="nofollow">Adding FTP Publishing to a Web Site in IIS 7</a></p>
<p>Things I have done and checked:</p>
<ul>
<li>The FTP Service is installed (along with FTP Extensibility). </li>
<li>Local Service and Network Service have been given access to the site folder</li>
<li><a href="http://serverfault.com/a/423450/103899">Permission has been given to the config files</a></li>
<li>Granted read/write permissions to the FTP Root folder</li>
<li>The Management Service is installed and running</li>
<li>Enable remote connections is ticked with &#8216;Windows credentials or IIS manager credentials&#8217; selected</li>
<li>The IIS Manager User has been added to the server (root connection in the IIS connections branch)</li>
<li>The new FTP site has been added</li>
<li>IIS Manager Authentication has been added to the FTP authentication providers</li>
<li>The IIS Manager user has been added to the IIS Manager Permissions list for the site</li>
<li>Added Read/Write permissions for the user in the FTP Authorization Rules</li>
</ul>
<p>Here&#8217;s a section of the applicationHost config file associated with the FTP site</p>
<pre><code>&lt;site name="MySite" id="8"&gt;
    &lt;application path="/" applicationPool="MyAppPool"&gt;
        &lt;virtualDirectory path="/" physicalPath="D:\Websites\MySite" /&gt;
    &lt;/application&gt;
    &lt;bindings&gt;
        &lt;binding protocol="http" bindingInformation="*:80:www.mydomain.co.uk" /&gt;
        &lt;binding protocol="ftp" bindingInformation="*:21:www.mydomain.co.uk" /&gt;
    &lt;/bindings&gt;
    &lt;ftpServer&gt;
        &lt;security&gt;
            &lt;ssl controlChannelPolicy="SslAllow" dataChannelPolicy="SslAllow" /&gt;
            &lt;authentication&gt;
                &lt;basicAuthentication enabled="true" /&gt;
                &lt;customAuthentication&gt;
                    &lt;providers&gt;
                        &lt;add name="IisManagerAuth" enabled="true" /&gt;
                    &lt;/providers&gt;
                &lt;/customAuthentication&gt;
            &lt;/authentication&gt;
        &lt;/security&gt;
    &lt;/ftpServer&gt;
&lt;/site&gt;...&lt;location path="MySite"&gt;
    &lt;system.ftpServer&gt;
        &lt;security&gt;
            &lt;authorization&gt;
                &lt;add accessType="Allow" users="MyFtpLogin" permissions="Read, Write" /&gt;
            &lt;/authorization&gt;
        &lt;/security&gt;
    &lt;/system.ftpServer&gt;
&lt;/location&gt;
</code></pre>
<p>If I <a href="http://technet.microsoft.com/en-us/library/cc771167%28v=ws.10%29.aspx" rel="nofollow">connect to the Site</a> (not FTP) from my local IIS Manager using the same IIS Manager account details then it connects fine, I can browse files and change settings as I would locally (though I don&#8217;t seem to have an option to upload files). Trying to connect via FTP though either through the browser or FileZilla etc&#8230; gives me:</p>
<pre><code>Status: Resolving address of www.mydomain.co.uk
Status: Connecting to 123.456.12.123:21...
Status: Connection established, waiting for welcome message...
Response:   220 Microsoft FTP Service
Command:    USER MyFtpLogin
Response:   331 Password required for MyFtpLogin.
Command:    PASS *********
Response:   530 User cannot log in.
Error:  Critical error
Error:  Could not connect to server
</code></pre>
<p>I have tried <a href="http://blogs.iis.net/sudt/archive/2008/08/28/collecting-etw-traces-for-ftp-sessions.aspx" rel="nofollow">collecting etw traces for ftp sessions</a>, in the logs I get a FailBasicLogon followed by a FailCustomLogon, but no other info:</p>
<pre><code>FailBasicLogon  SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55} | ErrorCode=0x8007052E
StartCustomLogon    SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55} | LogonProvider=IisManagerAuth
StartCallProvider   SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55} | provider=IisManagerAuth
EndCallProvider SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55}
EndCustomLogon  SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55}
FailCustomLogon SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55} | ErrorCode=0x8007052E
FailFtpCommand  SessionId={cad26a97-225d-45ba-ab1f-f6acd9046e55} | ReturnValue=0x8007052E | SubStatus=ERROR_DURING_AUTHENTICATION
</code></pre>
<p>In the normal FTP logs I just get:</p>
<pre><code>2012-10-23 16:13:11 123.456.12.123 - 123.456.12.123 21 ControlChannelOpened - - 0 0 e2d4e935-fb31-4f2c-af79-78d75d47c18e -
2012-10-23 16:13:11 123.456.12.123 - 123.456.12.123 21 USER MyFtpLogin 331 0 0 e2d4e935-fb31-4f2c-af79-78d75d47c18e -
2012-10-23 16:13:11 123.456.12.123 - 123.456.12.123 21 PASS *** 530 1326 41 e2d4e935-fb31-4f2c-af79-78d75d47c18e -
2012-10-23 16:13:11 123.456.12.123 - 123.456.12.123 21 ControlChannelClosed - - 0 0 e2d4e935-fb31-4f2c-af79-78d75d47c18e -
</code></pre>
<p>If anyone has any ideas than I would be very grateful to hear them. Many thanks.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/103899/robmzd" target="_blank">robmzd</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>So after many lost hours, I came back to this with fresh eyes and new fire in my soul. It seemed I was a little too focused on what settings the new FTP site had and paid little attention to other influences.</p>
<p>It turned out that there was a global &#8216;Default FTP Site&#8217; which was catching all FTP requests on port 21, since the user wasn&#8217;t added to the list of authorised accounts for this site, it was returning an unauthorised response. </p>
<p>Adding the user to the default FTP site enabled me to log in, but I was then getting put into the root FTP directory for the default site (similar to <a href="http://forums.iis.net/t/1156913.aspx" rel="nofollow">http://forums.iis.net/t/1156913.aspx</a>). Changing the Log on to <code>&lt;hostheader&gt;|&lt;username&gt;</code> didn&#8217;t work either and returned a <code>530 Valid hostname is expected</code> response. </p>
<p>After banging my head on the desk a few times I went back and checked and re-checked each and every setting. Typically in the end it turned out to be a typo in the host header name set in the site bindings. Logging on using <code>&lt;hostheader&gt;|&lt;username&gt;</code> subsequently worked once the typo had been fixed. </p>
<p><strong>In Summary</strong></p>
<ol>
<li>I needed to log in using the <code>&lt;hostheader&gt;|&lt;username&gt;</code> format in<br />
order for IIS to pick up which site I intended to log in to </li>
<li>I had a typo in the hostheader value in the site bindings</li>
</ol>
<div class="author">Answered by <a href="http://serverfault.com/users/103899/robmzd" target="_blank">robmzd</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/441569/iis7-ftp-setup-an-error-occured-during-the-authentication-process-530-end-log" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/iis7-ftp-setup-an-error-occured-during-the-authentication-process-530-end-login-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing .NET application on IIS 7.5 issues</title>
		<link>http://adminsgoodies.com/installing-net-application-on-iis-7-5-issues/</link>
		<comments>http://adminsgoodies.com/installing-net-application-on-iis-7-5-issues/#comments</comments>
		<pubDate>Fri, 05 Oct 2012 16:33:32 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[iis7]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/installing-net-application-on-iis-7-5-issues/</guid>
		<description><![CDATA[Really need some help here. I am at a loss. I am trying to install a webservice that some other guy wrote in .NET. I have some basic IIS understanding. The webservice works just fine on my dev computer. But now i try to move the webservice to a production server and bad things happens. The webservice has been located in C:\inetpub\wwwroot\ dir on the dev server. But on this production server it is to [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Really need some help here. I am at a loss. I am trying to install a webservice that some other guy wrote in .NET. I have some basic IIS understanding. The webservice works just fine on my dev computer. But now i try to move the webservice to a production server and bad things happens.</p>
<p>The webservice has been located in C:\inetpub\wwwroot\ dir on the dev server. But on this production server it is to be located in D:\services\ </p>
<p>I have managed to install an application on the production server and everything seems fine and dandy. But when i &#8220;Test Settings&#8221; in the initial setup i get &#8220;Invalid application path&#8221; error. But i can just close it down and still install it. But when i try to access the webservice with: <a href="http://myserver.com/webservice/GetData" rel="nofollow">http://myserver.com/webservice/GetData</a> nothing happens. Just a blank page and when i check the response headers&#8230;500 error.</p>
<p>I don´t know what is going on here or where the problem is. I post the config file here so someone hopefully might notice something odd.</p>
<p>Thanx in advance!</p>
<p><strong>EDIT:</strong> The config file is from my dev server. I just copied it to my production server&#8230;but that obviously didn´t work <img src='http://adminsgoodies.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>UPDATE:</strong> I noticed that my dev server run in an Application pool with Net 4 and in &#8220;classic&#8221; &#8220;mode&#8221;. On the production server it was in NET 4 but in &#8220;integrated&#8221; mode. So i changed it to &#8220;classic&#8221;. I still get a blank page. But checking the log will output this:</p>
<p>2012-10-03 14:57:00 <em>ip removed</em> GET /boo/GetData &#8211; 80 &#8211; <em>ip removed</em> Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:15.0)+Gecko/20100101+Firefox/15.0.1 404 2 1260 203</p>
<p><strong>UPDATE 2</strong>: Thank you guys for your help. Your comments helped what to look for. After ALOT of log looking, and rights management i got to this page:<br />
<a href="http://support.microsoft.com/kb/942040" rel="nofollow">http://support.microsoft.com/kb/942040</a></p>
<p>After checking ISAPI and CGI Restrictions on server level i found out that .NET 4 and .NET 4 64 was not allowed. After allowing both, FINALLY my webservice started to talk.</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;configuration&gt;
  &lt;system.web&gt;
    &lt;identity impersonate="true" /&gt;
    &lt;!-- Impersonate NT AUTHORITY/IUSR --&gt;
    &lt;compilation targetFramework="4.0"&gt;
      &lt;assemblies&gt;
        &lt;add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b7735c561131e089" /&gt;
      &lt;/assemblies&gt;
    &lt;/compilation&gt;
    &lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" /&gt;
  &lt;/system.web&gt;
  &lt;system.webServer&gt;
    &lt;modules runAllManagedModulesForAllRequests="true" /&gt;
    &lt;httpErrors existingResponse="PassThrough" /&gt;
    &lt;httpProtocol&gt;
     &lt;customHeaders&gt;
       &lt;add name="Access-Control-Allow-Origin" value="*" /&gt;
     &lt;/customHeaders&gt;
   &lt;/httpProtocol&gt;
        &lt;directoryBrowse enabled="false" /&gt;
  &lt;/system.webServer&gt;
  &lt;system.serviceModel&gt;
    &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" /&gt;
    &lt;standardEndpoints&gt;
      &lt;webHttpEndpoint&gt;
        &lt;!-- 
            Configure the WCF REST service base address via the global.asax.cs file and the default endpoint 
            via the attributes on the &lt;standardEndpoint&gt; element below
        --&gt;
        &lt;standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" /&gt;
      &lt;/webHttpEndpoint&gt;
    &lt;/standardEndpoints&gt;
  &lt;/system.serviceModel&gt;
  &lt;connectionStrings&gt;
    &lt;add name="Entities" connectionString="metadata=res://*/DataModel.csdl|res://*/DataModel.ssdl|res://*/DataModel.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=someip;initial catalog=db_90;User ID=user1;Password=access2;multipleactiveresultsets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;
  &lt;/connectionStrings&gt;
&lt;/configuration&gt;
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/139492/juw" target="_blank">Juw</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>This may be a better question for stackoverflow.com but I&#8217;ll take a stab at it for now.</p>
<p>From an IIS perspective if you can find out the specific 500 error it may give a big clue. Check the IIS logs in c:\inetpub\logs\Logfiles\w3svc{siteid}.  Find the records for your failed tests and towards the end of the records you should see a 500{space}{something}{space}{something}. It&#8217;s the {something}&#8217;s that have further clues.</p>
<p>Another test is to create a simple test.aspx in the root folder of the site and make sure that the IIS site works well too.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/17231/scott-forsyth-mvp" target="_blank">Scott Forsyth &#8211; MVP</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/434442/installing-net-application-on-iis-7-5-issues" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/installing-net-application-on-iis-7-5-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I import certificate (.CER) in IIS</title>
		<link>http://adminsgoodies.com/how-do-i-import-certificate-cer-in-iis/</link>
		<comments>http://adminsgoodies.com/how-do-i-import-certificate-cer-in-iis/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 16:33:34 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[ssl-certificate]]></category>
		<category><![CDATA[windows-7]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-do-i-import-certificate-cer-in-iis/</guid>
		<description><![CDATA[I have created certificates based on this tutorial: http://ondrej.wordpress.com/2010/01/24/iis-7-and-client-certificates/ Then I have imported &#8220;MyPersonalCA.cer&#8221; on IIS host server based on this tutorial: http://www.networksolutions.com/support/installation-of-an-ssl-on-certificate-microsoft-iis-7-x/ I had to import the certificate via MMC, because IIS is giving me an error: &#8220;Cannot find the certificate request associated with this certificate file. A certificate request must be completed on the computer where it was created.&#8221; As stated this is a known bug, but i cant get pass the error. [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have created certificates based on this tutorial:</p>
<p><a href="http://ondrej.wordpress.com/2010/01/24/iis-7-and-client-certificates/" rel="nofollow">http://ondrej.wordpress.com/2010/01/24/iis-7-and-client-certificates/</a></p>
<p>Then I have imported &#8220;MyPersonalCA.cer&#8221; on IIS host server based on this tutorial:</p>
<p><a href="http://www.networksolutions.com/support/installation-of-an-ssl-on-certificate-microsoft-iis-7-x/" rel="nofollow">http://www.networksolutions.com/support/installation-of-an-ssl-on-certificate-microsoft-iis-7-x/</a></p>
<p>I had to import the certificate via MMC, because IIS is giving me an error:</p>
<p>&#8220;Cannot find the certificate request associated with this certificate file. A certificate request must be completed on the computer where it was created.&#8221;</p>
<p>As stated this is a known bug, but i cant get pass the error.</p>
<p>I have imported certificate in Certificate (LocalComputer) snap in and provided a friendly name. It all looks ok.</p>
<p>But i still cant select the certificate on my webpage binding in IIS when trying to enable SSL.</p>
<p>EDIT</p>
<p>Ok I went as suggested and issued the .CER file via CertAuthority.<br />
On another machine I have installed Windows Server and CA. I have created a request in IIS and issued myself a .CER file.<br />
This file I can normaly import to Windows7 IIS.</p>
<p>But now I want to create client certificates.<br />
The certificate is missing PVK file and i cant create client certificates as described in the first link.</p>
<p>Will post another question &#8230;</p>
<p>System: Windows7 Home Premium SP1 32bit,IIS 7.5</p>
<p>Can someone point me to the right direction on this?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/134763/no9" target="_blank">no9</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You may have to reissue your cert using a new CSR check out the following link. It is similar to the directions you have already followed but with a little more instruction to getting around this error.</p>
<p><a href="http://www.digicert.com/ssl-certificate-installation-microsoft-iis-7.htm" rel="nofollow">http://www.digicert.com/ssl-certificate-installation-microsoft-iis-7.htm</a></p>
<div class="author">Answered by <a href="http://serverfault.com/users/120529/jmeterx" target="_blank">JMeterX</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/424516/how-do-i-import-certificate-cer-in-iis" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-do-i-import-certificate-cer-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>single point of failure in IIS Web Farm Framework setting?</title>
		<link>http://adminsgoodies.com/single-point-of-failure-in-iis-web-farm-framework-setting/</link>
		<comments>http://adminsgoodies.com/single-point-of-failure-in-iis-web-farm-framework-setting/#comments</comments>
		<pubDate>Sat, 15 Sep 2012 16:33:25 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[iis7.5]]></category>
		<category><![CDATA[web-farm]]></category>
		<category><![CDATA[webfarm]]></category>
		<category><![CDATA[windows-server-2008-r2]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/single-point-of-failure-in-iis-web-farm-framework-setting/</guid>
		<description><![CDATA[ASP.NET WEB API Windows Server 2008 R2/IIS 7.5/Web Farm Framework 2.5 I am planning to deploy application across 4 web servers. Should i use shared content/configuration using DFS among web servers for web farm scenario? Second option is to use Web Farm Framework for deployment. Furthermore, is there chance of single point of failure in WFF? for example what if primary server goes down. which option would be better? pros and cons of each of [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>ASP.NET WEB API<br />
Windows Server 2008 R2/IIS 7.5/Web Farm Framework 2.5</p>
<p>I am planning to deploy application across 4 web servers.</p>
<p>Should i use shared content/configuration using DFS among web servers for web farm scenario?</p>
<p>Second option is to use Web Farm Framework for deployment.</p>
<p>Furthermore, is there chance of single point of failure in WFF? for example what if primary server goes down.</p>
<p>which option would be better? pros and cons of each of the above.</p>
<p>I appreciate your response.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/136071/aamir-sajjad" target="_blank">aamir sajjad</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>The Web Farm Framework is easy.  The only SPOF exists when integrating with an external load balancer as opposed to using the built in Application Request Routing.  This is mainly because unless your load balancer is able to detect a failure on the server it may still try to route to that server.</p>
<p>If you are just deploying a single application the WFF is a perfect choice and MUCH easier to configure than the traditional shared config setup.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/42617/brent-pabst" target="_blank">Brent Pabst</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/427698/single-point-of-failure-in-iis-web-farm-framework-setting" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/single-point-of-failure-in-iis-web-farm-framework-setting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
