<?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>ASP.NET MSSQL Webhosting Blog &#187; Plesk</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebhostingblog.net</link>
	<description>ASP.NET, MSSQL and Windows dedicated server articles</description>
	<lastBuildDate>Thu, 16 Sep 2010 19:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>MSSQL WebAdmin ASP.NET ENT Manager in Plesk show Virus</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/mssql-webadmin-aspnet-ent-manager-in-plesk-show-virus/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/mssql-webadmin-aspnet-ent-manager-in-plesk-show-virus/#comments</comments>
		<pubDate>Sat, 23 May 2009 18:20:55 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virus]]></category>
		<category><![CDATA[Webadmin]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=521</guid>
		<description><![CDATA[We have recently had this complain from our various Shared hosting as well as Dedicated Server hosting clients that MSSQL Webadmin ASP .NET Enterprise Manager is having a virus / trojan on it. When the first complain arrived we too thought that there seems to be a problem with the server and might be MSSQL [...]]]></description>
			<content:encoded><![CDATA[<p>We have recently had this complain from our various <strong>Shared hosting</strong> as well as <strong>Dedicated Server hosting</strong> clients that <strong>MSSQL Webadmin ASP .NET Enterprise Manager</strong> is having a <strong>virus / trojan</strong> on it. When the first complain arrived we too thought that there seems to be a problem with the server and might be <strong>MSSQL Webadmin ASP .NET Enterprise Manager</strong> has got an injection in it. But after receiving too many complains from most of our <strong>dedicated server</strong> clients we started investigating the problem and now we knew that this is something that has happen globally. After viewing <strong>MSSQL Webadmin ASP .NET Enterprise Manager</strong> on <strong>Plesk server</strong> it looked as the picture below:</p>
<p><span id="more-521"></span></p>
<p><img class="aligncenter size-medium wp-image-522" title="mssql-webadmin-showing-trojen-virus" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/05/mssql-webadmin-showing-trojen-virus-300x219.jpg" alt="mssql-webadmin-showing-trojen-virus" width="300" height="219" /></p>
<p>We understood that the problem was not with the <em><strong>mssql.domain_name</strong></em> link but the virus alert only happened after click on <strong><em>ASP .NET Enterprise Manager, Recomended this site</em></strong>. And the link was:</p>
<p><code>www.referralplanet.com/referral/windows/referralWindow.asp?id=17</code></p>
<p>Since the site was not hosted with us we had a sigh of relief that the problem is not with the server however we thought we still have a security problem if the link has been injected into <strong>ASP .NET Manager</strong> site in IIS, may be due to a security issue with <strong>Plesk control panel</strong>. And after checking several servers we came to know that the problem has happened to the site that is recommended on <strong>MSSQL Webadmin site </strong>and not the server.</p>
<p>If you want to remove this link from your server as well as from the <strong>MSSQL WebAdmin</strong> site then follow the steps below:</p>
<p>1. Login into the server through RDP with Administrator user.<br />
2. Go to <em><strong>D:\inetpub\vhosts\sqladmin\mssql\app</strong></em><br />
3. Open the <em><strong>navbar.aspx</strong></em> page in notepad<br />
4. Go to <em><strong>line number 119</strong></em> and remove the code below:</p>
<p><code>&lt;!-- Begin ReferralPlanet.com Referral Script --&gt;<br />
&lt;a onclick="refWindow=window.open('http:// www.referralplanet.com/referral/windows/referralwindow.asp?id=18','referralWindow' ,'width=350,height=520,scrollbars=yes,menubar=no,resizable=yes'); refWindow.focus(); return false;" target=_blank href="http:// www.referralplanet.com/referral/windows/referralWindow.asp?id=17"&gt;<br />
&lt;IMG alt="Click Here To Tell A Friend" src="images/tellafriend.gif" border=0&gt;&lt;/A&gt;<br />
&lt;!-- Begin ReferralPlanet.com Referral Script --&gt;</code></p>
<p>5. Save the file and exit.</p>
<p>This problem must have infected millions of computer in the world. Let see when chinese hacker stop putting their shit on other&#8217;s website and get mature.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/mssql-webadmin-aspnet-ent-manager-in-plesk-show-virus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Plesk SitePreview Not Working On Windows</title>
		<link>http://www.mywebhostingblog.net/hosting-security/plesk-sitepreview-not-working-on-windows/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/plesk-sitepreview-not-working-on-windows/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 08:03:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Sitepreview]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=409</guid>
		<description><![CDATA[Most of our users have this problem with there Windows Plesk Dedicated hosting as well as Windows Shared hosting packages with recent Parallels Plesk versions. I have had so many instance of support about the sitepreview not working on our Windows Shared Servers with Plesk for different reasons and I had to scratch my head [...]]]></description>
			<content:encoded><![CDATA[<p>Most of our users have this problem with there <strong>Windows Plesk Dedicated hosting</strong> as well as <strong>Windows Shared hosting packages</strong> with recent <strong>Parallels Plesk</strong> versions. I have had so many instance of support about the <strong>sitepreview </strong>not working on our <strong>Windows Shared Servers</strong> with Plesk for different reasons and I had to scratch my head to get things sorted for our valuable Windows dedicated hosting customers. And it is an important feature for our Shared hosting customers without the dedicated IP address to check their site before moving their name server to us. So I decided to write this blog with the steps to troubleshoot the problem with Plesk sitepreview in few simple steps. I will try and put every thing that I have figured while investigation.</p>
<p>There are 3 types of problems with site preview in Plesk:</p>
<p><span id="more-409"></span></p>
<p>1. <strong>Site Preview</strong> in Windows Plesk will show 404 Page Not Found error<br />
2. <strong>Site Preview</strong> in Windows Plesk will show Plesk Default page.<br />
3. <strong>SitePreview</strong> will ask for user name and password.</p>
<p>We will troubleshoot each problem with site preview one by one.</p>
<p><strong>1. Site Preview in Plesk will show 404 Page Not Found error.</strong></p>
<p>Cause: This happens if the sitepreview ISAPI DLL is not loaded correctly in IIS web server.</p>
<p><strong>Troubleshoot steps:</strong><br />
a. First check if a the Virtual folder with the name sitepreview is create in <strong>IIS Default Web Site</strong>. If it is not created then create it without the application pool and map it to folder <strong>&#8220;%plesk_dir%isapi&#8221;</strong>, same as in image below.  Also Make sure that Executable Permissions are set to <strong>&#8220;Scripts And Executables&#8221;</strong></p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-412" title="windows-plesk-hosting-site-preview-iis1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/windows-plesk-hosting-site-preview-iis1.png" alt="windows-plesk-hosting-site-preview-iis1" width="470" height="460" /></p>
<p>b. Make sure that the <strong>Site preview ISAPI DDL</strong> is Allowed in Web Exteniosn and look like in image below, if not then Add it in Plesk Extensions.  <strong></strong><strong></strong></p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-413" title="windows-plesk-hosting-site-preview-iis-web-extension" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/windows-plesk-hosting-site-preview-iis-web-extension.png" alt="windows-plesk-hosting-site-preview-iis-web-extension" width="401" height="435" /></p>
<p>c. Also make sure that the Site Preview ISAPI DLL has been loaded with green Arrow in IIS &gt;&gt; Web Site &gt;&gt; Right click &gt;&gt; Properties &gt;&gt; ISAPI Tab. like in the figure below. If it is not loaded then just click on the Add button and browser through <strong>&#8220;%plesk_dir%isapisitepreview.dll&#8221;</strong> and restart IIS.</p>
<p><img class="aligncenter size-full wp-image-411" title="windows-plesk-hosting-site-preview-iis-web-site" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/windows-plesk-hosting-site-preview-iis-web-site.png" alt="windows-plesk-hosting-site-preview-iis-web-site" width="471" height="460" /></p>
<p>d. If you have IIS7 on <strong>Windows 2008 Server</strong> then make suer that you have Plesk Site Preview DLL added in IIS &gt;&gt; Click on Server &gt;&gt; IIS Group &gt;&gt; ISAPI Filters.</p>
<p><strong>2. Site Preview in Plesk will show Plesk Default page.</strong></p>
<p>Cause: Related to IP configuration on the server.</p>
<p><strong>Troubleshoot steps:</strong></p>
<p>a. Please fo through all the steps in problem one for this. However the only reason for this problem that I have found is main IP address of the server. Just make sure that you have alleast one site added on the main IP address of the server. To know the main IP address of the server Go to START &gt;&gt; <strong>Control Panel</strong> &gt;&gt; Network Connections &gt;&gt; Right click on main network adapter &gt;&gt; Click on Properties &gt;&gt; Select TCP IP &gt;&gt; Properties. The IP address list in this windows as IP address is the main IP address of the server. Just make sure that you have atleast one site hosted on this IP address.</p>
<p>The above solution will also apply is Plesk Site Preview option is working with https prefix butnot with http in URL browser.</p>
<p><strong>3. SitePreview will ask for user name and password for all website.</strong></p>
<p>Cause: Related to Permissions and Security Options.</p>
<p><strong>Troubleshoot steps:</strong></p>
<p>a. First check if the URL work fine with the IP address only:</p>
<p><code>http://192.168.1.52/</code></p>
<p>if not then there are permissions issue with the default site and if you are using a dedicated IP address instead of <strong>shared</strong> IP then the problem is with the permissions of the site that holds the dedicated IP.</p>
<p>b. If step &#8220;a&#8221; is working then try access the link below:<br />
<code>http://192.168.1.52/$sitepreview/</code></p>
<p>The above link should get redirected to the IP address and show Plesk default page or index.html page in <strong>Default Web site</strong> but it is is asking for password then permissions on sitepreview virtual directory is not correct. Make sure that <strong>IIS_WPG, NETWORK SERVICE, psaadm, psacln &amp; psaserv</strong> has read an execute permissions on the virtual folder, do not forget to inherit the permissions to files in it.</p>
<p>c. If it asks password for only one site then the problem should be either with the website permissions or the file you are accessing it.</p>
<p>I think this should cover all the problems with Parallels Plesk Site Preview problems. But if you still face problem and don&#8217;t want to use Site Preview then you have try the HACK below.</p>
<p><a title="Point Domain Wihtout Changing the DNS Name Server." href="http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/" target="_self"><strong>WINDOWS HACK TO POINT YOUR SITE TO AN IP WITHOUT CHANGING THE NAME SERVERS.</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/plesk-sitepreview-not-working-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Write Permissions on Plesk Windows Server Get Removed</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/write-permissions-on-plesk-windows-server-get-removed/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/write-permissions-on-plesk-windows-server-get-removed/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 06:18:24 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Permissions]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk Control Panel]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=436</guid>
		<description><![CDATA[This has been a regular problem with most of our Windows dedicated Server Clients as well as Windows Shared hosting client that has Plesk 8.4 installed on them, specially for those who need write permissions on web user for the ASP .NET/MSSQL and PHP/MySQL application, that the write permissions on the folder get removed own [...]]]></description>
			<content:encoded><![CDATA[<p>This has been a regular problem with most of our<strong> Windows dedicated Server Clients</strong> as well as <strong>Windows Shared hosting client </strong>that has Plesk 8.4 installed on them, specially for those who need <strong>write permissions </strong>on web user for the <strong>ASP .NET/MSSQL</strong> and <strong>PHP/MySQL</strong> application, that the write <strong>permissions </strong>on the folder get <strong>removed</strong> own its own without any changes being made by us or the client. After allot of scratching and investigation we were finally able to reveal the secrete about the permissions issue. The problem was not with Plesk but the way we use to set <strong>permissions </strong>on the folder.</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-437" title="Plesk Permissions Problem on Windows" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/plesk-86-premissions-problems.jpg" alt="plesk-86-premissions-problems" width="465" height="160" /></p>
<p>While I was searching for the solution I found the KB articel on Parallels sites below:</p>
<p><code>http://kb.parallels.com/en/1147</code></p>
<p><span id="more-436"></span></p>
<p>Where they (<strong>Plesk adminstrators</strong>) have clearly mentioned that custom permissions set on top level folder like httpdocs, statistics, cgi-bin etc will get reset by Plesk. So I decided to make a test, I manually gave write permissions to httpdocs folder and ran <em><strong>webservmng.exe</strong></em> on it and yes it was removed. Then after allot digging I would that there us a file<em> .Security</em> which is saved under the folder with the domain name (parallel to httpdocs folder), that stores all permissions for that domain.</p>
<p>Before we start please be informed that these steps are applicable to <strong>Parallel Plesk version 8.4</strong> and above as <em>.Security</em> file was introduced in 8.4 only.</p>
<p>So here are steps to get around the problem permanently:</p>
<p>1. Backup the <em>.Security</em> file and delete it from<em> [drive]:inetpub/vhosts/domain_name,</em> this file saves all the permissions assigned to that user from Plesk on Windows. Deleting it will remove all the records.</p>
<p>2. After renaming or deleting the <em>. Security</em> file, run this command below:</p>
<p><code>"%plesk_bin%/websrvmng.exe" --reconfigure-vhost --vhost-name=domain_name</code></p>
<p>3. This command will create a new <em>.Security</em> file with all default permissions on that domain.</p>
<p>4. Now login into Plesk &gt;&gt; Click on Domains &gt;&gt; domain_name &gt;&gt; File Manager &gt;&gt; httpdocs &gt;&gt; golden padlock of folder_name to set perm on &gt;&gt; &#8220;Advance&#8221; Button &gt;&gt; Select users &gt;&gt; Assign permissions &gt;&gt; OK.</p>
<p>These steps will save new permissions in .Security file and even if you run <em><strong>websrvmng</strong></em> on that domain again, the new permissions that has been set from Plesk will not get removed. There is no need to add any special group or users like, <strong>ASPNET </strong>or <strong>NETWORK SERVICE</strong> to any folder as those permissions are handled by <strong>IUSR_ &amp; IWAM_/IWPD_ users</strong>.</p>
<p>Any permissions that has been assigned directly to httpdocs folder will get reset by <strong>Plesk </strong>and if you inherit them to sub folder, permissions from sub folder will also get removed.</p>
<p>So the moral is,<strong> DO NOT</strong> give any permissions from RDP, use File Manager option if you want to keep the trouble of permissions away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/write-permissions-on-plesk-windows-server-get-removed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

