<?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>SupportSages &#187; IIS</title>
	<atom:link href="http://www.supportsages.com/blog/category/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Thu, 05 Jan 2012 03:05:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>How to migrate IIS6 web.config to IIS7</title>
		<link>http://www.supportsages.com/blog/2010/05/how-to-migrate-iis6-web-config-to-iis7/</link>
		<comments>http://www.supportsages.com/blog/2010/05/how-to-migrate-iis6-web-config-to-iis7/#comments</comments>
		<pubDate>Fri, 21 May 2010 20:15:38 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[IIS6 to IIS7]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=771</guid>
		<description><![CDATA[If you are using custom httpHandlers or httpModules, you would need to
run the migration command below.

[bash]

C:\&#62; ﻿﻿%systemroot%\system32\inetsrv\APPCMD.EXE migrate config &#34;domain_name.com/virtual_directory&#34;
Successfully migrated section &#34;system.web/httpModules&#34;.
Successfully migrated section &#34;system.web/httpHandlers&#34;.

[/bash]

Now if you are going to migate the web.config inside the WEB_ROOT directory itself and not inside any virtual directory don't miss a forward slash, / after the domain name.

eg:

[bash]

C:\&#62; ﻿﻿%systemroot%\system32\inetsrv\APPCMD.EXE migrate config &#34;domain_name.com/&#34;
Successfully migrated section &#34;system.web/httpModules&#34;.
Successfully migrated section &#34;system.web/httpHandlers&#34;.

[/bash]

Otherwise you may get an error like below,

ERROR ( message:Cannot find APP object with identifier "domainame.com". )

A good article to refer is available at <a href="http://blogs.msdn.com/tmarq/archive/2007/08/30/iis-7-0-asp-net-pipelines-modules-handlers-and-preconditions.aspx">http://blogs.msdn.com/tmarq/archive/2007/08/30/iis-7-0-asp-net-pipelines-modules-handlers-and-preconditions.aspx</a>]]></description>
			<content:encoded><![CDATA[<p>If you are using custom httpHandlers or httpModules, you would need to<br />
run the migration command below.</p>
<pre class="brush: bash; title: ; notranslate">

C:\&gt; ﻿﻿%systemroot%\system32\inetsrv\APPCMD.EXE migrate config &quot;domain_name.com/virtual_directory&quot;
Successfully migrated section &quot;system.web/httpModules&quot;.
Successfully migrated section &quot;system.web/httpHandlers&quot;.
</pre>
<p>Now if you are going to migate the web.config inside the WEB_ROOT directory itself and not inside any virtual directory don&#8217;t miss a forward slash, / after the domain name.</p>
<p>eg:</p>
<pre class="brush: bash; title: ; notranslate">

C:\&gt; ﻿﻿%systemroot%\system32\inetsrv\APPCMD.EXE migrate config &quot;domain_name.com/&quot;
Successfully migrated section &quot;system.web/httpModules&quot;.
Successfully migrated section &quot;system.web/httpHandlers&quot;.
</pre>
<p>Otherwise you may get an error like below,</p>
<p>ERROR ( message:Cannot find APP object with identifier &#8220;domainame.com&#8221;. )</p>
<p>A good article to refer is available at <a  href="http://blogs.msdn.com/tmarq/archive/2007/08/30/iis-7-0-asp-net-pipelines-modules-handlers-and-preconditions.aspx">http://blogs.msdn.com/tmarq/archive/2007/08/30/iis-7-0-asp-net-pipelines-modules-handlers-and-preconditions.aspx</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=How+to+migrate+IIS6+web.config+to+IIS7++http%3A%2F%2Fwww.supportsages.com%2Fblog%2F771" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=How+to+migrate+IIS6+web.config+to+IIS7++http%3A%2F%2Fwww.supportsages.com%2Fblog%2F771" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/05/how-to-migrate-iis6-web-config-to-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving &#8220;Service Unavailable&#8221; message just for one website in Plesk and IIS7</title>
		<link>http://www.supportsages.com/blog/2010/05/solving-service-unavailable-message-just-for-one-website-in-plesk-and-iis7/</link>
		<comments>http://www.supportsages.com/blog/2010/05/solving-service-unavailable-message-just-for-one-website-in-plesk-and-iis7/#comments</comments>
		<pubDate>Mon, 17 May 2010 17:16:24 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Howtos]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Application pool]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[retrieve domain password]]></category>
		<category><![CDATA[Service Unavailable]]></category>
		<category><![CDATA[Shared pool]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=740</guid>
		<description><![CDATA[A particular website of a client was getting "Service Unavailable" message for just one website in a Plesk server while all other website was working fine. No logs in Event Viewer were giving any clue. However when someone changed the Application pool to use the shared pool plesk(domain2.0)pool, it was working fine which deserted the issue to application pool issue.

Approach to the solution
<ol>
	<li>Check the application pool running, by taking <strong>Start </strong>=&#62;<strong> Run </strong>=&#62;<strong> inetmgr</strong></li>
	<li>Find out which application pool a website is running by taking the <strong>IIS Manager</strong> =&#62; <strong>Sites</strong> =&#62; <strong>domain.com</strong> (domain in question) and right column of options =&#62; ...]]></description>
			<content:encoded><![CDATA[<p>A particular website of a client was getting &#8220;Service Unavailable&#8221; message for just one website in a Plesk server while all other website was working fine. No logs in Event Viewer were giving any clue. However when someone changed the Application pool to use the shared pool plesk(domain2.0)pool, it was working fine which deserted the issue to application pool issue.</p>
<p>Approach to the solution</p>
<ol>
<li>Check the application pool running, by taking <strong>Start </strong>=&gt;<strong> Run </strong>=&gt;<strong> inetmgr</strong></li>
<li>Find out which application pool a website is running by taking the <strong>IIS Manager</strong> =&gt; <strong>Sites</strong> =&gt; <strong>domain.com</strong> (domain in question) and right column of options =&gt; <strong>Advanced Settings</strong> =&gt; <strong>General</strong> =&gt; <strong>Application pool<br />
</strong></li>
<li>Expand application pools and check whether the application pool is stopped and if it is in the stopped status, start it.</li>
<li>As a good measure, please recycle the application pool as well.</li>
<li>If it fails to start, check whether the application pool generates any event logs. Next measure is to reset the password of IUSR_username</li>
<li>For resetting the password of IUSR_username, go with the below steps,
<ol>
<li> Login to the server by RDP</li>
<li>Retrieve password of the domain owner from Parallels Panel database running this command:
<div>
<p>&#8220;%plesk_bin%&#8221;\dbclient &#8211;direct-sql &#8211;sql=&#8221;select su.login, a.password from accounts a, sys_users su  where a.id=su.account_id and su.login=&#8217;username&#8217; &#8221;</p>
<p>login       password<br />
<em>username </em><em>password</em></p>
<p>where <em>username </em>is an owner of the domain, which can be taken from <strong>Plesk</strong> =&gt; <strong>Domains</strong> =&gt; <strong>Web Hosting Settings </strong></p>
</div>
</li>
<li>Synchronize system password with accordance of retrieved one as follow:
<div>
<p>net user <em>IUSR_username </em><em>password</em></p>
<p><em> </em></p>
</div>
</li>
</ol>
</li>
<li>Try restarting the application pool again and if is works well, all is good, or else, check to see further options, like Handler Mappings or ISAPI_Filters. But Handler Mappings or ISAPI filters usually affects only one or two types of file extensions.</li>
</ol>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=Solving+%22Service+Unavailable%22+message+just+for+one+website+in+Plesk+and+IIS7+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F740" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Solving+%22Service+Unavailable%22+message+just+for+one+website+in+Plesk+and+IIS7+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F740" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/05/solving-service-unavailable-message-just-for-one-website-in-plesk-and-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSSQL &#8211; Two common issues while restoring a backup and it&#8217;s solutions</title>
		<link>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/</link>
		<comments>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 02:35:54 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[backup restoration]]></category>
		<category><![CDATA[database backup restoration]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[restoration]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=625</guid>
		<description><![CDATA[There are two most common issues while restoring the database (usually ending in .bak format).


<strong>First error</strong>
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing '<strong>user_database</strong>' database. (Microsoft.SqlServer.Express.Smo)


<strong>Solution for First error</strong>
	<li>Connect to the database server</li>
<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png"><img class="alignnone size-full wp-image-626" title="Logging in" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png" alt="Logging in to the web server" width="368" height="273" /></a>
	<li>Go to the restore option and select Restore Database

<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png"><img class="alignnone size-full wp-image-627" title="Screenshot-1" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png" alt="" /></a></li>
	<li>On the Restore page that loads up, make sure that the <strong>Destination for restore</strong> has the database you want to restore and in the<strong> Source for Restore</strong>, choose<strong> From device:</strong> ...]]></description>
			<content:encoded><![CDATA[<p>There are two most common issues while restoring the database (usually ending in .bak format).</p>
<p><strong>First error</strong><br />
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;<strong>user_database</strong>&#8216; database. (Microsoft.SqlServer.Express.Smo)</p>
<p><strong>Solution for First error</strong></p>
<li>Connect to the database server</li>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png" class="thickbox no_icon" rel="gallery-625" title="Logging in"><img class="alignnone size-full wp-image-626" title="Logging in" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png" alt="Logging in to the web server" width="368" height="273" /></a></p>
<li>Go to the restore option and select Restore Database
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png" class="thickbox no_icon" rel="gallery-625" title="Screenshot-1"><img class="alignnone size-full wp-image-627" title="Screenshot-1" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png" alt="" /></a></li>
<li>On the Restore page that loads up, make sure that the <strong>Destination for restore</strong> has the database you want to restore and in the<strong> Source for Restore</strong>, choose<strong> From device:</strong> And browse by clicking<strong> [..] </strong>and Add the file location there, the location where your database backup resides. You may need to browse the backup. If you get permission denied, copy the bak in the MSSQL folder.
<p><div id="attachment_629" class="wp-caption alignnone" style="width: 610px"><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-2.png" class="thickbox no_icon" rel="gallery-625" title="Attaching the database backup file"><img class="size-medium wp-image-629 " title="Attaching the database backup file" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-2.png" alt="Attaching the database backup file" width="600" height="252" /></a><p class="wp-caption-text">Attaching the database backup file</p></div></li>
<li>Restore it. Make sure that the <strong>Restore Checkbox is selected</strong>. And Click <strong>OK</strong>. And get ready for the error <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-3.png" class="thickbox no_icon" rel="gallery-625" title="Screenshot-3"><img class="alignnone size-full wp-image-630" title="Screenshot-3" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-3.png" alt="" /></a></li>
<li>Here comes the first error<strong>System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;user_database&#8217; database. (Microsoft.SqlServer.Express.Smo)</strong><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-5.png" class="thickbox no_icon" rel="gallery-625" title="Screenshot-5"><img class="alignnone size-full wp-image-631" title="Screenshot-5" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-5.png" alt="" /></a><br />
And the solution is to go to <strong>Options </strong>-&gt; <strong>Overwrite Existing Database</strong> . But if you aren&#8217;t so lucky, you will be welcomed by another error as seen below. where it&#8217;s solution is to edit the path from D:\ to C:\ or whichever Drive, where your MSSQL is installed.</p>
<p><strong>System.Data.SqlClient.SqlError: Directory lookup for the file &#8220;D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\user_database.mdf&#8221; failed with the operating system error 3(The system cannot find the path specified.). (Microsoft.SqlServer.Express.Smo)</strong></p>
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-6.png" class="thickbox no_icon" rel="gallery-625" title="Screenshot-6"><img class="alignnone size-full wp-image-632" title="Screenshot-6" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-6.png" alt="" /></a></li>
<li>Both THE Solutions are in a single screen shot. The final screenshot <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<p><a  href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-4.png" class="thickbox no_icon" rel="gallery-625" title="Screenshot-4"><img class="alignnone size-full wp-image-633" title="Screenshot-4" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-4.png" alt="" /></a></li>
<li>
Just edit D:\ProgramFiles\Microsoft&#8230; to C:\ProgramFiles\Microsoft or whichever directory where you installed the MSSQL server. Don&#8217;t keep database server on your system drive C: though.</li>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=MSSQL+-+Two+common+issues+while+restoring+a+backup+and+it%27s+solutions+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F625" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=MSSQL+-+Two+common+issues+while+restoring+a+backup+and+it%27s+solutions+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F625" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP 405: The HTTP verb used to access this page is not allowed</title>
		<link>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/</link>
		<comments>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 20:53:12 +0000</pubDate>
		<dc:creator>arnold</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[HTTP 405]]></category>
		<category><![CDATA[HTTP verb used to access this page is not allowed]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=623</guid>
		<description><![CDATA[On an html page, one of our customers was getting this issue. Despite asking him to change the extension to .asp, he insisted to have html extension and still process the HTTP verbs, where it is POST method here. 

Situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do html parse as php in Linux boxes Here are the steps to do it on a Windows 2003 machine

1. <strong>Start</strong> --> Run --> ...]]></description>
			<content:encoded><![CDATA[<p>On an html page, one of our customers was getting this issue. Despite asking him to change the extension to .asp, he insisted to have html extension and still process the HTTP verbs, where it is POST method here. </p>
<p>Situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do html parse as php in Linux boxes Here are the steps to do it on a Windows 2003 machine</p>
<p>1. <strong>Start</strong> &#8211;> Run &#8211;> <strong>inetmgr</strong><br />
2. Websites &#8211;> website/domain name in question<br />
3. Right Click on the domain &#8211;> <strong>Properties</strong> &#8211;> <strong>Home Directory</strong> &#8211;> <strong>Configuration</strong><br />
4. In the tab <strong>Mappings</strong> &#8211;> <strong>Add an extension</strong> for .html and .htm , if it is missing (most cases it will be missing) and edit to add all verbs (POST, GET, HEAD are needed)<br />
5. Fields to be added are as below,</p>
<p><strong>Executable :</strong> C:\WINDOWS\system32\inetsrv\asp.dll<br />
<strong>Extension :</strong> .html<br />
<strong>Limit to :</strong> GET,HEAD,POST,TRACE</p>
<p>And Click Apply, OK <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All is well !!</p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=HTTP+405%3A+The+HTTP+verb+used+to+access+this+page+is+not+allowed+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F623" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=HTTP+405%3A+The+HTTP+verb+used+to+access+this+page+is+not+allowed+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F623" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad Request (Invalid Hostname) when accessing via IP</title>
		<link>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/</link>
		<comments>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:19:57 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Bad Request]]></category>
		<category><![CDATA[Invalid Hostname]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=610</guid>
		<description><![CDATA[Customer wanted to have a dedicated IP, but once I change the IP from the plesk control panel, I couldn't get the website when accessed using IP. Instead, it was giving me the plesk control panel's default page. Reason ? Default Website was having the IP as "All Unassigned". Set that to the main IP address. But after that I was getting a new error.

What I could get was "Bad Request (Invalid Hostname)" in bold letters. Here is what I did to fix the same.

Start -> Run -> inetmgr -> Expand the (+) -> Websites -> Right click on the ...]]></description>
			<content:encoded><![CDATA[<p>Customer wanted to have a dedicated IP, but once I change the IP from the plesk control panel, I couldn&#8217;t get the website when accessed using IP. Instead, it was giving me the plesk control panel&#8217;s default page. Reason ? Default Website was having the IP as &#8220;All Unassigned&#8221;. Set that to the main IP address. But after that I was getting a new error.</p>
<p>What I could get was &#8220;Bad Request (Invalid Hostname)&#8221; in bold letters. Here is what I did to fix the same.</p>
<p>Start -> Run -> inetmgr -> Expand the (+) -> Websites -> Right click on the domain name -> Take Properties -> Website -> IP Address (make sure that it has the dedicated IP assigned there) and then click &#8220;Advanced&#8221;</p>
<p><strong>Add/Edit Web Site Identification</strong></p>
<p>IP Address : Choose the dedicated IP from drop down list<br />
TCP/IP Port : 80<br />
Host Header Value : Leave it blank (Important)</p>
<p>Leaving the Host Header Value should fix the issue and fetch the website when accessing it using the IP.</p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=Bad+Request+%28Invalid+Hostname%29+when+accessing+via+IP+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F610" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=Bad+Request+%28Invalid+Hostname%29+when+accessing+via+IP+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F610" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>One website in Plesk is asking for user name and password. What is the solution</title>
		<link>http://www.supportsages.com/blog/2009/04/one-website-in-plesk-is-asking-for-user-name-and-password-what-is-the-solution/</link>
		<comments>http://www.supportsages.com/blog/2009/04/one-website-in-plesk-is-asking-for-user-name-and-password-what-is-the-solution/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 08:18:55 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=51</guid>
		<description><![CDATA[This is common issue, but solutions varies based on situations. It could be one or a combination of a solutions listed below. If you had to go through another solution to solve it, please add it over here for others.
<ul>
	<li>Permission issue was making the website to ask for the password. Run the Plesk permissions fix from the Plesk reconfigurator. It could help you 10% of the time</li>
	<li>If it is asking for username and password, right after you changed the password of the account, 80% of the cases, below command based solution would work.
<blockquote>cd %plesk_bin%
websrvmng --update-anon-password --domain-name=<strong>domainname.com</strong></blockquote>
</li>
	<li>Login to plesk, select the ...]]></description>
			<content:encoded><![CDATA[<p>This is common issue, but solutions varies based on situations. It could be one or a combination of a solutions listed below. If you had to go through another solution to solve it, please add it over here for others.</p>
<ul>
<li>Permission issue was making the website to ask for the password. Run the Plesk permissions fix from the Plesk reconfigurator. It could help you 10% of the time</li>
<li>If it is asking for username and password, right after you changed the password of the account, 80% of the cases, below command based solution would work.<br />
<blockquote><p>cd %plesk_bin%<br />
websrvmng &#8211;update-anon-password &#8211;domain-name=<strong>domainname.com</strong></p></blockquote>
</li>
<li>Login to plesk, select the domain, click web directories. And there, select the the protection tab and click remove protection if enabled &#8211; Only 5% chances to have this solve your issue <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Try resetting the domain password from Plesk, with Additional Write/Modify permissions checked. This may sync the IUSR_username&#8217;s password and the Plesk/FTP password. If it didn&#8217;t move on to next option to manually synchronize it.</li>
<li>Go to IIS &gt; Web sites &gt; <strong>domainname.com</strong> &gt; Properties &gt; Directory Security tab &gt; Click on Edit button within “Authentication and access control” section &gt; enter “<strong>password</strong>” in password filed &gt; click OK.<br />
After that, Go to Users Management &gt; find user IUSR_<strong>pleskusername </strong>&gt; Right Click &gt; set password &gt; proceed &gt; enter “<strong>password</strong>” &gt; click OK. If this also didn&#8217;t fix, issue is much more serious and move on to next options</li>
<li>Depending on the Plesk versions you use, Plesk group `psacln` should be allowed to access  the server from the network. For that Go to, Administrative Tools &gt; Security Settings &gt; Local Polices &gt; User Rights Assignment &gt; Access this computer from the network</li>
<li>Check whether there is any new FTP accounts added with the &#8220;<label for="fid-home">Home directory</label>&#8221; as httpdocs itself. If so please remove it and then change the password at Domain Setup and save it</li>
<li>Check whether the <strong>plesk_username</strong> and<strong> IIS_pleskusernam</strong>e are added and has proper permissions for the <strong>DriveLetter</strong>:\Inetpub\vhosts\<strong>domainname.com</strong> as well as <strong>DriveLetter</strong>:\Inetpub\vhosts\<strong>domainname.com</strong>\httpdocs.</li>
</ul>
<p>Okay those are my current solutions.</p>
<div class="tweetthis" style="text-align:left;"><p> <a  class="tt" href="http://twitter.com/home/?status=One+website+in+Plesk+is+asking+for+user+name+and+password.+What+is+the+solution+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F51" title="Post to Twitter"><img class="nothumb" src="http://www.supportsages.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter3.png" alt="Post to Twitter" /></a> <a  class="tt" href="http://twitter.com/home/?status=One+website+in+Plesk+is+asking+for+user+name+and+password.+What+is+the+solution+http%3A%2F%2Fwww.supportsages.com%2Fblog%2F51" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/04/one-website-in-plesk-is-asking-for-user-name-and-password-what-is-the-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

