<?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; Windows</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/windows/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>Install &amp; Configure Windows DNS Service</title>
		<link>http://www.mywebhostingblog.net/window-hosting/install-configure-windows-dns-service/</link>
		<comments>http://www.mywebhostingblog.net/window-hosting/install-configure-windows-dns-service/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 16:54:03 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNS Server]]></category>
		<category><![CDATA[DNS Service]]></category>
		<category><![CDATA[dnsmgmt.msc]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=220</guid>
		<description><![CDATA[Steps to Configure Windows DNS Server/Service. Here is a very simple way to configure a DNS service on Windows Dedicated Server that hosts your website. Requirements: 1. You should have one of the following Windows OS to install the DNS service: &#8211; Windows XP Professional edition. &#8211; Windows Vista. &#8211; Windows 2003 Server Data center [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Steps to Configure Windows DNS Server/Service.</strong></p>
<p>Here is a very simple way to configure a <strong>DNS service</strong> on Windows Dedicated Server that hosts your website.</p>
<p><strong>Requirements:</strong></p>
<p>1. You should have one of the following Windows OS to install the DNS service:</p>
<p>&#8211; Windows XP Professional edition.<br />
&#8211; Windows Vista.<br />
&#8211; Windows 2003 Server Data center edition.<br />
&#8211; Windows 2003 Server Enterprise edition.<br />
&#8211; Windows 2003 Server Standard edition.</p>
<p>You cannot install DNS service on <strong>Windows 2008 Server</strong> with the steps below as it does not have an option to add remove <strong>Windows Components</strong>. You will have to use the <strong>Server Manager</strong> option to install Services on your <strong>Windows 2008 Server.</strong></p>
<p><span id="more-220"></span>I have not specified Windows NT and Windows 2000 version as they are hardly used now a days. Also Windows XP Home edition and <strong>Windows 2003 Server</strong> Web edition does not support DNS service on them.</p>
<p>2. Windows OS installation CD or the i386 folder.</p>
<p>3. A user that will have Administrator rights on the Dedicated server on which you want to install DNS service.</p>
<p><strong>Installation Steps:</strong></p>
<p>1. Go to Control panel &gt;&gt; Add/Remove Programs &gt;&gt; Add/Remove Windows Components, it will open a windows below:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-3.png"><img class="alignnone size-full wp-image-221" title="install-dns-service-step-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-1.png" alt="install-dns-service-step-1" width="502" height="407" /><br />
</a></p>
<p>2. Click Next and you will get the screen,  see below:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-2.png"><img class="size-full wp-image-222 aligncenter" title="install-dns-service-step-2" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-2.png" alt="" width="500" height="401" /></a></p>
<p>3. Select the Networking Server <strong>(DO NOT CHECK THE BOX)</strong> and Click on Details (Highlighted in red) and you will get screen below:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-3.png"><img class="size-full wp-image-223 aligncenter" title="install-dns-service-step-3" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-3.png" alt="" width="500" height="402" /></a></p>
<p>4. Check Box on Domain Name System (DNS) and Click OK &gt;&gt; then Next. It will start the installation and will popup for the CD:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-4.png"><img class="size-full wp-image-224 aligncenter" title="install-dns-service-step-4" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-4.png" alt="" width="498" height="401" /></a></p>
<p>5. Browse to the i386 folder and then Click OK to complete the installation of <strong>DNS Service</strong>.</p>
<p><strong>DNS Service and ZONE Configuration:</strong></p>
<p>1. G oto Start &gt;&gt; Run and type the command below and hit enter:</p>
<p><code>dnsmgmt.msc</code></p>
<p>2. This will open <strong>DNS Management Console</strong>:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-1.png"><img class="size-full wp-image-225 aligncenter" title="configure-dns-service-step-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-1.png" alt="" width="498" height="530" /></a></p>
<p>3. Before making any changes on the<strong> DNS server</strong> I will show you some steps that will make your life as well as the configuration very easy.<br />
A. We will assume that we have to crate a DNS zone for the domain www.moosa.com. For that just go to C:WINDOWSsystem32dns directory (Path to WINDOWS may differ as per the OS you use, you can find it with %windir% or %SystemRoot% in the explorer)<br />
B. Create an empty file as moosa.com.dns.<br />
C. Insert the entire code into it:<br />
&#8212;&#8212;&#8211;</p>
<p><code>;<br />
;  Database file moosa.com.dns for moosa.com zone.<br />
;      Zone version:  1<br />
;</code></p>
<p>@	IN  SOA NS1.moosa.com.  info.moosa.com. (<br />
1            ; serial number<br />
900          ; refresh<br />
600          ; retry<br />
86400        ; expire<br />
3600       ) ; default TTL</p>
<p>;<br />
;  Zone NS records<br />
;</p>
<p>@	IN	NS	NS1.moosa.com.<br />
@	IN	NS	NS2.moosa.com.</p>
<p>;<br />
;  Zone records<br />
;</p>
<p>@	IN	A	192.168.5.52<br />
mail	IN	A	192.168.5.72<br />
www	IN	CNAME	moosa.com.<br />
ftp	IN	CNAME	moosa.com.</p>
<p>;<br />
;  Zone Mail records<br />
;</p>
<p>@	IN	MX	10 mail.moosa.com.</p>
<p>&#8212;&#8212;-<br />
Let me explain each entry one by one briefly, you will have to change each of them as per your requirement:</p>
<p><strong>&#8211; NS1.moosa.com. in SOA :</strong> This is the primary name server of my domain moosa.com. It is not compulsory that you too may have name server on your domain. But it should be the one from the set of name servers that you provide to your registrar to point your domain on your server.</p>
<p><strong>&#8211; info.moosa.com. in SOA:</strong> This is actually an email address info @ moosa.com, it is provided for the DNS server to send notification of that is a problem within the zone.</p>
<p>&#8211; You can forget the rest in SOA as it will require a separate topic to explain those.</p>
<p><strong>&#8211; NS1.moosa.com. in NS:</strong> This is again a primary name server that was provided to registrar.</p>
<p><strong>&#8211; NS2.moosa.com. in NS:</strong> This a secondary name server of my domain moosa.com.<br />
It is not over here, you can even have 3rd and 4th NS entry here. A zone will accept up to 13 NS entries for a single domain.</p>
<p><strong>&#8211; &#8216;A&#8217; records: </strong>&#8216;A&#8217; record has the IP address that you want your domain to point at. This will probably the IP address of your web server or a mail server. I have 2 A records for moosa.com and mail.moosa.com, one for the IIS web server and other for the Exchange mail server.</p>
<p><strong>&#8211; CNAME: </strong>CNAME are the canonical names for a domain or duplicate names. I have 2 CNAME so that www.moosa.com and ftp.moosa.com will point to the same IP of moosa.com.</p>
<p><strong>&#8211; MX record:</strong> MX record will be required for your mails to work. It shows a path to your email server. If you do not have an email server and this record will not be required.</p>
<p>I will not go more deep in each of these settings or this topic will turn into a book. <img src='http://www.mywebhostingblog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>4. Save the file and close it, make sure that each setting looks exactly the same as that has been defined above or the zone creation will fail.</p>
<p>5. Now go back to DNS Management Console, right click on SERVER NAME to make sure that the DNS service is running. If it is not running then click on Start option to start the service.</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-2.png"><img class="aligncenter size-full wp-image-226" title="configure-dns-service-step-2" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-2.png" alt="" width="498" height="529" /></a></p>
<p>6. Right Click on &#8220;Forward Lookup Zone&#8221; &gt;&gt; New Zone:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-3.png"><img class="aligncenter size-full wp-image-227" title="configure-dns-service-step-3" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-3.png" alt="" width="492" height="333" /></a></p>
<p>7. It will Open the New Zone Wizard, click Next on first screen and then select &#8220;Primary zone&#8221; and then Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-5.png"><img class="aligncenter size-full wp-image-229" title="configure-dns-service-step-5" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-5.png" alt="" width="500" height="381" /></a></p>
<p>8. Put Domain name in &#8220;Zone Name&#8221; screen, without www in it. and click Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-51.png"><img class="aligncenter size-full wp-image-230" title="configure-dns-service-step-51" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-51.png" alt="" width="500" height="381" /></a></p>
<p>9. In the Zone File screen, Select the 2nd option &#8220;Use this existing file&#8221;. Make sure that the file name and path matches your name and path from the steps above. Then click Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-6.png"><img class="aligncenter size-full wp-image-231" title="configure-dns-service-step-6" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-6.png" alt="" width="498" height="380" /></a></p>
<p>10. In &#8220;Dynamic Update&#8221; screen, select &#8220;Do not allow dynamic updates&#8221; and click Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-7.png"><img class="aligncenter size-full wp-image-232" title="configure-dns-service-step-7" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-7.png" alt="" width="500" height="383" /></a></p>
<p>11. Click Finish on Next screen to create the new domain for your domain:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-8.png"><img class="aligncenter size-full wp-image-233" title="configure-dns-service-step-8" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-8.png" alt="" width="499" height="382" /></a></p>
<p>12. Your zone will appear in the screen below. You wil either double click the existing entries to update/edit/modify them or right click on the white screen to Add new Records as per your need.</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-9.png"><img class="aligncenter size-full wp-image-234" title="configure-dns-service-step-9" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-9.png" alt="" width="500" height="511" /></a></p>
<p><strong>DO NOT FORGET TO EITHER RELOAD THE ZONE OR RESTART THE DNS SERVICE FOR THE CHANGES YOU HAVE MADE TO REFLECT.</strong></p>
<p>That is it.. now create another zone and so on..</p>
<p>Wasn&#8217;t that damn easy..!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/window-hosting/install-configure-windows-dns-service/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Disable USB, CDROM, Floppy on Windows Machine</title>
		<link>http://www.mywebhostingblog.net/hosting-security/how-to-disable-usb-cdrom-floppy-on-windows-machine/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/how-to-disable-usb-cdrom-floppy-on-windows-machine/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 00:24:45 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Anti viruses]]></category>
		<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=484</guid>
		<description><![CDATA[Disable specific devices such as USB, CDROM, Floppy, on your local Windows machine or the Windows server.. Recently I&#8217;ve seen people having issues with certain devices attached via USB to their thinking machines&#8230; Issues that included, Spyware, Malware, Viruses.. ugh, many more.. Wouldn&#8217;t it be good to disable these unwanted creepy devices when on a [...]]]></description>
			<content:encoded><![CDATA[<p><!--[endif]--><img class="alignleft size-medium wp-image-485" title="disable-usg-folppy-windows" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/04/disable-usg-folppy-windows-182x300.jpg" alt="disable-usg-folppy-windows" width="182" height="300" />Disable specific devices such as <strong>USB, CDROM, Floppy</strong>, on your local <strong>Windows </strong>machine or the <strong>Windows </strong>server..</p>
<p>Recently I&#8217;ve seen people having issues with certain devices attached via <strong>USB</strong> to their thinking machines&#8230; Issues that included, <strong>Spyware, Malware, Viruses..</strong> ugh, many more.. Wouldn&#8217;t it be good to disable these unwanted creepy devices when on a shared/public windows  machines? Ok, follow these steps &amp; get yourself a bit secured.</p>
<p>This can be implemented on your local <strong>Windows </strong>Machine or on the <strong>Windows Dedicated servers</strong>, please make sure to backup the Windows registry before following these steps. As making incorrect changes in Windows <strong>registry </strong>can make the system unbootable.</p>
<p><span id="more-484"></span>Search for the following keys in your <strong>registry</strong> to disable each of them respectively or as per your requirement.</p>
<p><code><span style="font-size: 10pt;">SYSTEMCurrentControlSetServices</span></code></p>
<p>Notice the value &#8216;<strong>Start</strong>&#8216;, this should be <strong>3</strong> by default [<strong>3 = enabled</strong>]. Switch this value to <strong>4 </strong>[<strong>4 = disabled</strong>], and USB storage devices are disabled. To re-enable the device switch this value to <strong>3</strong>.</p>
<p>To disable <strong>USB ports</strong>:<br />
<code><span style="font-size: 10pt;">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUsbStor</span></code></p>
<p>To disable <strong>CD-ROM drive</strong>:<br />
<code><span style="font-size: 10pt;">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicescdrom</span></code></p>
<p>To disable <strong>Floppy drive</strong>:<br />
<code><span style="font-size: 10pt;">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesflpydisk</span></code></p>
<p>To disable a <strong>High Capacity Floppy Drive</strong>:<br />
<code><span style="font-size: 10pt;">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicessfloppy</span></code></p>
<p>Once done, you&#8217;d need to <strong>reboot your machine</strong> for the changes to come into effect. That is it</p>
<p><img class="aligncenter size-medium wp-image-486" title="usb-floppy-virus-windows" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/04/usb-floppy-virus-windows-300x247.jpg" alt="usb-floppy-virus-windows" width="300" height="247" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/how-to-disable-usb-cdrom-floppy-on-windows-machine/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>
		<item>
		<title>Point Domain to Another IP Without Changing DNS Name Servers</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 11:48:21 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Linux Server Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Hosts]]></category>
		<category><![CDATA[Name Servers]]></category>
		<category><![CDATA[Sitepreview]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=427</guid>
		<description><![CDATA[One can point your site to any designated IP address you want without changing the Name server of your Domain. Yes, you will be able to view/test your site on new server without changing the name servers as well as having trouble of using site Preview options in Control panel like Plesk. This option is [...]]]></description>
			<content:encoded><![CDATA[<p>One can point your site to any designated IP address you want without changing the Name server of your Domain. Yes, you will be able to view/test your site on new server without changing the name servers as well as having trouble of using site Preview options in Control panel like Plesk. This option is also helpful in the case of some site that use .js script in their codes since those scripts don&#8217;t work in Plesk site preview option. Specially in case of sites that work on <strong>DotNetNuke [DNN]</strong>.</p>
<p><strong>So here we go:</strong></p>
<p>On your local machine, [<strong>AND NOT THE SERVER</strong>]:<br />
Goto START &gt;&gt; Run &gt;&gt; and Type:<br />
<code>notepad "C:WINDOWSsystem32driversetchosts"</code><br />
And hit Enter</p>
<p><span id="more-427"></span>If you get file does not exist error then create hosts file in notepad <strong>&#8220;C:WINDOWSsystem32driversetc&#8221;</strong> folder.</p>
<p>At the end of the file you will have:</p>
<p><code>127.0.0.1    localhost</code></p>
<p>Just add your domain with the IP you want to point to, and it will look like, this will be also applicable if you have create a new hosts file:</p>
<p><code>127.0.0.1    localhost<br />
192.168.1.52    mywebhostingblog.net<br />
192.168.1.52    www.mywebhostingblog.net</code></p>
<p>Save the file and exit.</p>
<p>Now ping the domain on the <strong>computer </strong>you have made changes on and it will point to the <strong>IP address</strong> defined. You can now browse your site without the <strong>site preview</strong> and you will have to the content of the <strong>server </strong>you are moving to. Just remove the entries from the <strong>hosts </strong>file to point your domain back it was.</p>
<p>Wasn&#8217;t that Simple..!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How MS SQL Failover Clustering Work</title>
		<link>http://www.mywebhostingblog.net/mssql-server-hosting/how-ms-sql-failover-clustering-work/</link>
		<comments>http://www.mywebhostingblog.net/mssql-server-hosting/how-ms-sql-failover-clustering-work/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 07:01:24 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=365</guid>
		<description><![CDATA[The clustered nodes use a &#8220;heartbeat&#8221; signal to check whether each node is alive, at both the operating system level and the SQL Server level. At the operating system level, the nodes in the cluster are in constant communication, validating the health of all the nodes. After installing a SQL Server failover cluster, the node [...]]]></description>
			<content:encoded><![CDATA[<p>The clustered nodes use a &#8220;<strong>heartbeat</strong>&#8221; signal to check whether each node is alive, at both the operating system level and the SQL Server level. At the operating system level, the nodes in the cluster are in constant communication, validating the health of all the nodes.</p>
<p>After installing a <strong>SQL Server failover cluster</strong>, the node hosting the <strong>SQL Server</strong> resource uses the Service Control Manager to check every 5 seconds whether the SQL Server service appears to be running. This &#8220;<strong>LooksAlive</strong>&#8221; check does not impact the performance of the system, but also does not do a thorough check; the check will succeed if the service appears to be running even though it might not be operational. Because the <strong>LooksAlive </strong>check does not do a thorough check, a deeper check must be done periodically; this &#8220;<strong>IsAlive</strong>&#8221; check runs every 60 seconds.</p>
<p>The <strong>IsAlive </strong>check runs a SELECT @@SERVERNAME Transact-SQL query against <strong>SQL Server</strong> to determine whether the server can respond to requests. Although a reply to the <strong>IsAlive </strong>query confirms that the SQL Server service is available for requests, it does not guarantee that all user databases are available, or that the user databases are operating within necessary performance/response-time requirements.</p>
<p><span id="more-365"></span></p>
<p>If the <strong>IsAlive </strong>query fails, the <strong>IsAlive </strong>health check is retried five times and then it attempts to reconnect to the instance of SQL Server. If all five retries fail, the SQL Server resource fails. Depending on the <strong>failover </strong>threshold configuration of the SQL Server resource, the failover cluster will attempt to either restart the resource on the same node or it will fail over to another available node. The IsAlive query tolerates a few errors, but ultimately it fails if its threshold is exceeded.</p>
<p>During failover of the<strong> SQL Server</strong> instance,<strong> SQL Server </strong>resources start up on the new node. <strong>Windows clustering</strong> starts the SQL Server service for that instance on the new node and <strong>SQL Server</strong> goes through the recovery process to start the databases. After the service is started and the master database is online, the SQL Server resource is considered to be up. Now the user databases will go through the normal recovery process, which means that any completed transactions in the transaction log are rolled forward (the Redo phase), and any incomplete transactions are rolled back (the Undo phase). In<strong> SQL Server 2005 Enterprise Edition</strong>, each user database will be available to the user once the Redo phase completes; for the other editions, as with all previous versions, each user database is unavailable until the Undo phase completes. The length of the recovery process depends on how much activity must be rolled forward or rolled back upon startup. The &#8216;recovery interval&#8217; sp_configure option of the server can be set to a low number to avoid longer Redo recovery times and to speed up the failover process. The Undo recovery time can be reduced by using shorter transactions so that any uncommitted transactions do not have much to roll back.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/mssql-server-hosting/how-ms-sql-failover-clustering-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secure MS SQL 2005 Database with EFS Encryption</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-2005-database-with-efs-encryption/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-2005-database-with-efs-encryption/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 05:55:31 +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[Security]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=340</guid>
		<description><![CDATA[EFS Encryption EFS can be used to encrypt SQL Server 2005 data files and folders. EFS is supported on Windows 2000 and later operating systems with New Technology File Systems (NTFS) formatted drives. EFS uses a combination of symmetric and asymmetric methods to provide transparent SQL Server 2005 data encryption. On Windows 2003 Server and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>EFS Encryption</strong></p>
<p>EFS can be used to encrypt <strong>SQL Server 2005</strong> data files and folders. EFS is supported on <strong>Windows 2000</strong> and later operating systems with New Technology File Systems (<strong>NTFS</strong>) formatted drives. <strong>EFS </strong>uses a combination of symmetric and asymmetric methods to provide transparent SQL Server 2005 data encryption. On <strong>Windows 2003 Server</strong> and newer operating systems, EFS by default creates a random <strong>File Encryption Key</strong>, which is a 256-bit AES key to perform data encryption.The File Encryption Key is then itself encrypted with the user’s public key and stored within the encrypted file or folder.</p>
<p><strong>To encrypt SQL Server 2005 data files and folders using EFS, follow these steps:</strong></p>
<p>1. Stop the <strong>SQL Server</strong> service.<br />
2. Log out and log in using the<strong> SQL Server </strong>service account credentials.<br />
3. Right-click on the file or folder to be encrypted and select <strong>Properties | General Tab | Advanced.</strong></p>
<p><span id="more-340"></span><br />
4. Within the Advanced attributes window, select Encrypt contents to secure data.<br />
5. Within the Advanced attributes window, press OK.<br />
6. Within the Properties tab, press OK.<br />
7. If you are encrypting a folder containing subfolders, you will be presented with another window asking if you would like to  encrypt them as well. Press OK.<br />
8. <strong>EFS encrypted files</strong> and folder names should now appear in green within any Windows file explorer window.<br />
9. Restart the <strong>SQL Server</strong> services.</p>
<p>If errors are generated, you may have encrypted the<strong> SQL Serve</strong>r data files using an account that is not linked to the <strong>SQL Server</strong> service account.You can decrypt the data folders by reversing the steps above and trying again. When encrypting individual database files, EFS first creates a plain text copy of the file to be encrypted, encrypts the target file, and then deletes the temporary file.This temporary file is not securely deleted and can be recovered using common data recovery tools. To prevent local file disclosure, you should use a secure data deletion tool to overwrite the areas of disk containing the temporary file. Alternatively, you can simply encrypt the parent folder that contains the database files to ensure any temporary files are also encrypted.</p>
<p><strong>EFS encryption</strong> is beneficial if the database media is stolen or misplaced. When transferring<strong> EFS encrypted</strong> files over the network, Windows first decrypts the file and then transfers the plain text equivalent. Some administrators perform manual backups of database files prior to implementing changes on the database server. If this backup involves copying data files from one server to another, you will effectively be storing an unencrypted copy of your database on the destination server.</p>
<p><strong>Encryption File System Contains Inherit Flaws</strong></p>
<p>On <strong>Windows Server 2003</strong>, EFS uses a strong 256-bit AES key to encrypt data. Under most circumstances, this would be an effective method of encryption; however, this AES key is protected by the user’s public key, which is based on the user’s Windows login password. This ultimately reduces EFS protection to the strength of the user’s Windows password. There are publicly available tools that can successfully decrypt EFS encrypted data by exploiting this flaw. Because of this, EFS should not be used to encrypt sensitive database data.</p>
<p><strong>Working with EFS Encrypted Data</strong></p>
<p>EFS encryption is managed by the operating system, and seamlessly provides file and folder encryption to <strong>SQL Server 2005</strong>. All <strong>SQL Serve</strong>r functions and operations remain unchanged when using this encryption method. Because EFS is handled outside of SQL Server 2005, encryption keys must be backed up separately in addition to your database backups.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-2005-database-with-efs-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure MS SQL &#8211; BEST PRACTICES</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-best-practices/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-best-practices/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 07:16:50 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[SQL Engine]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=280</guid>
		<description><![CDATA[There are several points that Microsoft suggests before configuring your MS SQL Server. BEST PRACTICES ACCORDING TO MICROSOFT Install only those components that you will use immediately. Microsoft recommends that you create a list of components that you will be using, and only enable those. If the need arises, you can install the additional components [...]]]></description>
			<content:encoded><![CDATA[<p>There are several points that Microsoft suggests before configuring your MS SQL Server.</p>
<p><strong>BEST PRACTICES ACCORDING TO MICROSOFT</strong></p>
<ul>
<li> Install only those components that you will use immediately.<strong> Microsoft recommends</strong> that you create a list of components that you will be using, and only enable those. If the need arises, you can install the additional components at that time. The components in a<strong> SQL Server</strong> installation are the <strong>Database</strong> <strong>Engine</strong>, Analysis Services Engine, <strong>Reporting Services</strong>, Integration Services, Notification Services, and Documents and Samples.<span id="more-280"></span></li>
</ul>
<ul>
<li> Enable only the optional features you will use, and review optional feature usage before doing an in-place upgrade and disable unneeded features. Microsoft recommends that you create a list of the optional features that you will use, and only turn those on. If this is an existing SQL Server that is being upgraded, they recommend creating the same list, and disabling any optional features not on the list. These optional features are CLR Integration, OLE Automation, remote use of a dedicated administrator connection, Database Mail and<strong> SQL Mail,</strong> <strong>OpenRowset </strong>and <strong>OpenDataSource </strong>functions, <strong>SQL Server </strong>Web Assistant, and xp_cmdshell availability.</li>
</ul>
<ul>
<li> Develop a policy with respect to permitted network connectivity choices and for the usage of optional features. <strong>Microsoft </strong>recommends defining policies that would be company wide on Connectivity Choices and the use of optional features. They also recommend using <strong>SQL Server Surface Area Configuration</strong> to standardize this policy and documenting exceptions to the policy on a perinstance basis.</li>
</ul>
<ul>
<li> Turn off unneeded services by setting the service to either Manual startup or Disabled. <strong>Microsoft</strong> recommends going into the service management area and setting all services that you will not be using.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-ms-sql-best-practices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Difference between SQL Server 2005 and SQL Server 2008</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/difference-between-sql-server-2005-and-sql-server-2008/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/difference-between-sql-server-2005-and-sql-server-2008/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 14:55:49 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[Difference]]></category>
		<category><![CDATA[Microsoft SQL]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2005]]></category>
		<category><![CDATA[SQL 2008]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=455</guid>
		<description><![CDATA[MS SQL 2005 Server was released after 5 servers of it previous SQL version, MS SQL 2000, Hence it required allot to revisions to cope up with the current windows development environment. Therefore MS SQL 2005 SP2 had major changes in it, with too many performances and security fixes. Microsoft could not add few revisions [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-456 alignleft" title="difference-between-2005-2008" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/difference-between-2005-2008.jpg" alt="difference-between-2005-2008" width="200" height="252" /></p>
<p><strong>MS SQL 2005 Server</strong> was released after 5 servers of it previous SQL version, <strong>MS SQL 2000</strong>, Hence it required allot to revisions to cope up with the current <strong>windows </strong>development environment. Therefore <strong>MS SQL 2005 SP2</strong> had major changes in it, with too many performances and security fixes. Microsoft could not add few revisions due to its basic development structure however they had all the scope to introduce them in SQL 2008 release. And indeed, MS <strong>SQL 2008</strong> has many installation as well as <strong>performance </strong>fixes being applied to it and allowing <strong>Windows</strong> Administrators to have full control on <strong>SQL </strong>activities. The biggest advantage of <strong>SQL 2008</strong> over <strong>SQL 2005</strong> is the ability to manage and maintain server performance. <strong>SQL 2008</strong> does not require too much resource which is the best deal for today’s <strong>Shared Hosting</strong> environment. Also an upper hand to whose to do not want to invest too much on hardware of their <strong>dedicated servers</strong> just to run <strong>SQL server</strong> on it.</p>
<p><span id="more-455"></span></p>
<p><img class="alignright size-medium wp-image-458" title="difference-between-sql-server1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/difference-between-sql-server1-235x300.jpg" alt="difference-between-sql-server1" width="159" height="203" />I have tried to gather the major improvement introduced by <strong>Microsoft on SQL 2008</strong> from Internet which is an advantage over <strong>SQL 2005</strong> however it all depends on what features are useful to you in the development of your ASP .NET applications. But switching to <strong>Microsoft SQL 2008</strong> is definitely going to improve the performance even if you don&#8217;t use any of the below feature. And not to forget that with the release of SQL 2008, Microsoft will announce<em><strong> &#8220;End Of Life&#8221;</strong></em> for <strong>SQL 2000</strong> version, which will mean that there won&#8217;t be any official support or update release for SQL 2000.</p>
<p><strong>Major difference between SQL 2005 and SQL 2008.</strong></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-463" title="sql 2008 dedicated hosting" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/sql-2008-hosting.png" alt="sql-2008-hosting" width="363" height="75" /></p>
<p>* <em>Easy Upgrades:</em> Version <strong>upgrades </strong>are now very easy and effective with <strong>SQL 2008</strong>.<br />
* <em>Resource Restriction Governor:</em> We set a restriction on a users or groups from consuming high resources. This is a very good feature that can be used on <strong>Windows shared serve</strong>r with SQL database to maintain the performance.<br />
* <em>Dates and Times settings: </em>New data types such as: Date, Time, Date Time Offset has been introduced.<br />
* <em>Improved Full Text Search:</em> Ability to backup Native Indexes and also thesaurus them as metadata.<br />
* <em>External Key Management:</em> This unique can store Keys separately and not with the data.<br />
* <em>Improved SQL Server Analysis Service:</em> It now has improved Stacks and computes block faster.<br />
* <em>Improved Installation:</em> Microsoft has added an option where you can uninstall Disk images and service packs.<br />
* <em>Data Synchronizing:</em> A Development of databases used in applications that frequently get disconnected.<br />
* <em>Transparent Data Encrypts:</em> It has the ability to encrypt full <strong>SQL database </strong>with different encryption Methods.</p>
<p>* <em>SQL Server Integration Service:</em> SQL 2008 Server has improved multiprocessor support and faster lookups in compare to SQL 2005.<br />
* <em>Change Data Capture:</em> Allows all changes to be captured and queried. (Enterprise). Also allows us to get detailed information on what changes has happened to which rows after a specific version.<br />
* <em><strong>LINQ:</strong></em> A Development query language for accessing multiple type of data like XML and SQL at the same time.<br />
* <em>Hot Plug CPU:</em> With this feature to an add CPUs on fly for your SQL server to use.<br />
* <em><strong>Microsoft Office 2007 integration:</strong></em> One can use MS OFFICE as an SSRS template, like SSRS to WORD.<br />
* <em>Spatial Data types:</em> Data types for storing Longitude, Latitude and GPS entry of a particular database.<br />
* <em><strong>MERGE:</strong></em> A new TSQL command as a combination Update, Insert and Delete.<br />
* <em><strong>Encrypted Backups: </strong></em>We can execute it at the time running backups to prevent tampering from external resource.<br />
* <em><strong>Data Compression:</strong></em> This feature is different as it allows us to manage data compression at table level to enhance performance.<br />
* <em>Dynamic Development:</em> Latest Visual Studio and ADO options along with ASP .Net 3.<br />
* <em>Reporting Server Performance: </em>Unlike in SQL 2005 we can set threshold on Reporting server for memory management.<br />
* <em>Performance Studio:</em> It is a Gallery that has collection of monitoring tools enhanced performance.<br />
* <em><strong>Audits:</strong></em> A very power feature for monitoring the data access of your SQL database.<br />
* <em><strong>Table Value Parameters:</strong></em> SQL 2008 database has ability to insert entire table into a stored procedure.<br />
* <em>Entity Database Services:</em> (LOB) Line Of Business framework and (eSQL) Entity Query Language.</p>
<p>No doubt that <strong>Microsoft </strong>has improved all the features that has been used by <strong>hosting services</strong>. Even <strong>SQL Cluster</strong> in <strong>version 2008</strong> has few major advantages since every one in today world wants to have their site up all the time with<strong> 100% uptime</strong>. I hope I get some time to write on &#8220;<em><strong>MS SQL 2008 Clustering..</strong></em>&#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/difference-between-sql-server-2005-and-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup MySQL using VBS scripts</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/backup-mysql-using-vbs-scripts/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/backup-mysql-using-vbs-scripts/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 16:13:26 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[MySQL Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=441</guid>
		<description><![CDATA[I have seen so many people searching ASP or ASP .NET scripts to backup their MySQL databases. Not only this but my Blog has been getting to many hits for the search term &#8220;backup mysql asp&#8221;. After seeing the need of so many people for the script I decided to write a VBS script to [...]]]></description>
			<content:encoded><![CDATA[<p>I have seen so many people searching <strong>ASP </strong>or <strong>ASP .NET</strong> scripts to backup their <strong>MySQL databases</strong>. Not only this but my <strong>Blog </strong>has been getting to many hits for the search term <em><strong>&#8220;backup mysql asp&#8221;</strong></em>. After seeing the need of so many people for the script I decided to write a VBS script to backup all or single <strong>MySQL database</strong> on <strong>Windows</strong> <strong>server</strong>. I am not very good at <strong>ASP </strong>so I didn&#8217;t write the script in ASP or<strong> ASP .NET</strong> but one can convert this script in either <strong>ASP </strong>or <strong>ASP .NET</strong>, it should not be a huge problem I suppose.</p>
<p style="text-align: center;"><img class="size-full wp-image-443 aligncenter" title="backup mysql VBS" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/backup-mysql-asp.jpg" alt="backup-mysql-asp" width="259" height="92" /><span id="more-441"></span></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-442" title="backup-mysql-asp-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/backup-mysql-asp-1.jpg" alt="backup-mysql-asp-1" width="278" height="121" /></p>
<p>Please make sure of the following before you configure the script:</p>
<ul>
<li>The user that is running the script must have execute permissions on <code>cscript</code> in system32</li>
<li>The user that is running the script must have write permissions folder that is going to store the backup file.</li>
<li>The user that is running the script must have execute permissions on <code>mysqldump.exe</code> in Mysqlbin</li>
<li>If you running this script in browser then your web user will need the above permissions.</li>
</ul>
<p>So here is the script:</p>
<p><em><strong>backup-mysql-database.vbs</strong></em></p>
<p><code>Option Explicit<br />
Dim backup_dir, num_days, user, password, database, arguments, backup_file<br />
Dim oShell, oFS, oDrive, nResults, sqldump</code></p>
<p><code>backup_dir = "C:MysqlBackups"<br />
user = "xxxxxxxx"<br />
password = "yyyyyyyy"<br />
database = "zzzzzzzz"<br />
sqldump = "C:Mysqlbinmysqldump.exe"</code></p>
<p><code>backup_file = backup_dir &amp; database &amp; ".sql"<br />
arguments = "--user=" &amp; user &amp; " --password=" &amp; password &amp; " " &amp; database &amp; " &gt; " &amp; backup_file<br />
arguments = sqldump &amp; " " &amp; arguments<br />
WScript.Echo(arguments1)<br />
</code><br />
<code>Set oShell = CreateObject("WScript.Shell")</code></p>
<p><code>WScript.Echo("Creating backup file " &amp; backup_file)<br />
nResults = oShell.Run ("cmd /C" &amp; arguments, 1, TRUE)<br />
WScript.Echo(nResults)</code></p>
<p><code>Set oShell = Nothing</code></p>
<p>The following variable will be needed to be defined as per your need:</p>
<p><em><strong>backup_dir </strong></em>= Should have the path to the directory that you want to save you backup file in.<br />
<em><strong>user</strong></em> = Database user name that has full privileges over the <strong>database </strong>you want to backup.<br />
<em><strong>password</strong></em> = <strong>Password </strong>of the database user.<br />
<em><strong>database</strong></em> = Name of the database that you want to backup<br />
<em><strong>sqldump </strong></em>= Path to mysqldump.exe, normally this is stored in <strong>MySQLbin</strong> directory.</p>
<p>To backup all database you can ignore the database variable and replace the first argument command with:<br />
<code><br />
arguments = "--user=" &amp; user &amp; " --password=" &amp; password &amp; " --all-databases --quick<br />
--result-file=" &amp; backup_file</code></p>
<p>Now you can run the command below to execute the script on Windows server:</p>
<p><code>cscript c:myscriptsbackup-mysql-database.vbs</code></p>
<p>You can also <strong>schedule </strong>the above command to run on sceduled timining to backup the <strong>MySQL databases.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/backup-mysql-using-vbs-scripts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Pass Phrases to Encrypt Data in MSSQL 2005</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/using-pass-phrases-to-encrypt-data-in-mssql-2005/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/using-pass-phrases-to-encrypt-data-in-mssql-2005/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 04:43:46 +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[SQL 2005]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=360</guid>
		<description><![CDATA[Using Pass Phrases to Encrypt Data A password that allows for spaces can be referred to as a pass phrase. The benefit of pass phrases is that you can make them meaningful and easy to remember. Instead of creating and managing encryption keys or certificates in your database server, you can encrypt data using only [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Using Pass Phrases to Encrypt Data</strong></p>
<p>A password that allows for spaces can be referred to as a pass phrase. The benefit of pass phrases is that you can make them meaningful and easy to remember. Instead of creating and managing encryption keys or certificates in your database server, you can encrypt data using only a pass phrase.The <strong>ENCRYPTBYPASSPHRASE</strong> statement uses the supplied pass phrase to generate a symmetric key, which is used to perform the actual data encryption. No key management is required, as the key will be recreated each time the same pass phrase is supplied.The common syntax of the<strong> ENCRYPTBYPASSPHRASE</strong> statement is as follows:</p>
<p><code>ENCRYPTBYPASSPHRASE ('PASSPHRASE', 'PLAINTEXT')</code></p>
<p>In this statement, <strong>PASSPHRASE </strong>specifies the data string to be used to derive an encryption key. <strong>PLAINTEXT </strong>specifies the data to be encrypted. No permissions are required to run the <strong>ENCRYPTBYPASSPHRASE </strong>statement.</p>
<p>The following syntax encrypts the string using the supplied pass phrase:</p>
<p><span id="more-360"></span></p>
<p><code>SELECT ENCRYPTBYPASSPHRASE('SQL Server 2005 Pass Phrase Encryption', 'pass phrase encryption test')</code></p>
<p>Here are the results:</p>
<p><code>0x01000000B0FA66E0152FB0B655B23439904E36F3ED5B758618BEED0F2A2BF918C6CF9DF685BC2A60A<br />
AD5E81D660BA5A396D1CA89</code></p>
<p>As mentioned earlier, the preceding results will differ from what you receive on your SQL Server.To decrypt data, you can use the <strong>DECRYPTBYPASSPHRASE</strong> statement.The general syntax of this statement is as follows:</p>
<p><code>DECRYPTBYPASSPHRASE ('PASSPHRASE', 'CIPHERTEXT')</code></p>
<p>In this statement, <strong>PASSPHRASE </strong>specifies the data string to be used to derive a decryption key. <strong>CIPHERTEXT </strong>specifies the data to be decrypted. Similar to the <strong>ENCRYPTBYPASSPHRASE </strong>statement, no permissions are required to execute the <strong>DECRYPTBYPASSPHRASE </strong>statement.The following syntax uses the <strong>DECRYPTBYPASSPHRASE </strong>statement to decrypt the previously encrypted data, and converts it into the human readable varchar format:</p>
<p><code>SELECT CAST (DECRYPTBYPASSPHRASE('SQL Server 2005 Pass Phrase Encryption',<br />
0x01000000B0FA66E0152FB0B655B23439904E36F3ED5B758618BEED0F2A2BF918C6CF9DF685BC2A60A<br />
AD5E81D660BA5A396D1CA89) AS varchar)</code></p>
<p>Note that you should substitute the cipher text in the preceding statement with the cipher text that you obtained from the earlier <strong>ENCRYPTBYPASSPHRASE </strong>statement. Here is what the results of running the preceding statement will look like:<br />
<code><br />
pass phrase encryption test</code></p>
<p>The encryption algorithm and key length used by pass phrase encryption have not been formally documented by Microsoft. Because of this, it is recommended that you do not use this encryption mechanism to encrypt sensitive data.</p>
<p><strong>Flaws within Microsoft Object Encryption</strong></p>
<p>The object encryption used by Microsoft is weak, and there are publicly available scripts that can successfully decrypt the objects. Further, at run-time, SQL Server internally decrypts the object and SQL Profiler can be used to capture object logic in plain text form. Due to this, object encryption should not be used to encrypt sensitive information, and you should not embed key or certificate passwords or pass phrases in SQL Server objects encrypted using objectbased encryption.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/using-pass-phrases-to-encrypt-data-in-mssql-2005/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NTFS File System</title>
		<link>http://www.mywebhostingblog.net/hosting-security/ntfs-compared-to-fat-and-fat32/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/ntfs-compared-to-fat-and-fat32/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 18:00:53 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[FAT32]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[NT]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[Permissions]]></category>
		<category><![CDATA[Service Pack]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=89</guid>
		<description><![CDATA[What is NTFS ? The File system comes with Windows NT. (NT File System) An optional file system for Windows NT, 2000, XP and Vista. NTFS is the more advanced file system, compared to FAT32. It improves performance and is required in order to implement numerous security and administrative features in the OS. NTFS supports [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is NTFS ?</strong></p>
<p>The <strong>File system</strong> comes with <strong>Windows N</strong>T. (NT File System) An optional file system for <strong>Windows NT, 2000</strong>, <strong>XP and Vista</strong>. <strong>NTFS </strong>is the more <strong>advanced </strong>file system, compared to <strong>FAT32</strong>. It improves performance and is required in order to implement numerous security and administrative features in the <strong>OS</strong>. <strong>NTFS </strong>supports <strong>Active Directory </strong>domain names and provides file <strong>encryption</strong>. Permissions can be set at the file level rather than by folder, and individual users can be assigned disk space quotas. <strong>NTFS </strong>is designed to log activity and recover on the fly from hard disk crashes. It also supports the <strong>Unicode character</strong> <strong>set </strong>and allows file names up to 255 characters in length. See <strong>FAT32 </strong>and file system.</p>
<p><span id="more-89"></span></p>
<p><strong>NTFS compared to FAT and FAT32</strong></p>
<p><strong>NTFS </strong>has always been a more powerful <strong>file system</strong> than <strong>FAT </strong>and <strong>FAT32. Windows 2000, Windows XP</strong>, and the <strong>Windows Server 2003</strong> family include a new version of NTFS, with support for a variety of features including <strong>Active Directory,</strong> which is needed for domains, user accounts, and other important security features.<br />
<strong>FAT </strong>and <strong>FAT32 </strong>are similar to each other, except that <strong>FAT32 </strong>is designed for larger disks than <strong>FAT</strong>. The file system that works most easily with large disks is <strong>NTFS</strong>.</p>
<p><strong>The following will describes the compatibility of each file system with various operating.</strong></p>
<p><strong></strong><br />
<strong>NTFS : </strong><br />
A computer running <strong>Windows 2000</strong>, <strong>Windows XP,</strong> or a product in the <strong>Windows Server 2003</strong> family can access files on a local <strong>NTFS </strong>partition. A computer running <strong>Windows NT 4.0</strong> with <strong>Service Pack</strong> 5 or later might be able to access some files. Other operating systems allow no local access.<br />
<strong></strong></p>
<p><strong>FAT :</strong><br />
Access to files on a local partition is available through <strong>MS-DOS</strong>, all versions of <strong>Windows, </strong>and <strong>OS/2</strong>.<br />
<strong></strong></p>
<p><strong>FAT32 :</strong><br />
Access to files on a local partition is available only through <strong>Windows 95 OSR2, Windows 98, Windows Millennium Edition, Windows 2000</strong>, <strong>Windows XP</strong>, and products in the <strong>Windows Server 2003</strong> family.</p>
<p><strong>The following are comparison of disk and file sizes possible with each file system.</strong></p>
<p><strong>NTFS : </strong><br />
Recommended minimum volume size is approximately 10 MB. Maximum volume and partition sizes start at 2 terabytes (TB) and range upward. For example, a <strong>dynamic disk</strong> formatted with a standard allocation unit size (4 KB) can have partitions of 16 TB minus 4 KB. Cannot be used on floppy disks.</p>
<p>Maximum file size is potentially 16 TB minus 64 KB, although files cannot be larger than the volume or partition they are located on.</p>
<p><strong>FAT :</strong><br />
Volumes from <strong>floppy disk</strong> size up to 4 GB. This file system does not support domains controller.<br />
Maximum file size is 2 GB.</p>
<p><strong>FAT32 :</strong><br />
Volumes from 33 MB to 2 TB can be written to or read using products in the <strong>Windows Server 2003</strong> family.<br />
Volumes up to 32 GB can be formatted as <strong>FAT32 </strong>using products in the <strong>Windows Server 2003</strong> family.<br />
Does not support <strong>domains controller</strong>.<br />
Maximum file size is 4 GB.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/ntfs-compared-to-fat-and-fat32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install RRDTool On Windows Server</title>
		<link>http://www.mywebhostingblog.net/window-hosting/install-rrdtool-on-windows-server/</link>
		<comments>http://www.mywebhostingblog.net/window-hosting/install-rrdtool-on-windows-server/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 13:53:32 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[RRDTool]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=63</guid>
		<description><![CDATA[We all have an impressions that it is very difficult to install RRDTool on a Windows Server but that is not the case. There are few very Simple Steps to install RRDTool on a Windows server: STEPS: 1. Create a Folder on any of your drives with name RRDTool. 2. Download the latest version of [...]]]></description>
			<content:encoded><![CDATA[<p>We all have an impressions that it is very difficult to <strong>install</strong> <strong>RRDTool</strong> on a Windows Server but that is not the case. There are few very Simple Steps to install <strong>RRDTool</strong> on a <strong>Windows server</strong>:<strong></strong></p>
<p><strong>STEPS:</strong></p>
<p>1. Create a Folder on any of your drives with name <strong>RRDTool</strong>.</p>
<p>2. Download the latest version of RRDTool from the link below:</p>
<p><a title="Link To Download RRDTool" href="http://www.cacti.net/downloads/rrdtool/win32/" target="_blank"><strong>DOWNLOAD RRDTool</strong></a></p>
<p>3. Extract the ZIP in RRDTool folder.</p>
<p>4. Open START &gt;&gt; Run &gt;&gt; type <strong>cmd</strong> to open Windows command prompt.</p>
<p>5. Type following command on prompt to use the RRDTool.</p>
<p><strong>cd C:\RRDTool\</strong></p>
<p><strong>That is it&#8230;!!!! </strong>You are ready to use your RRDTool on your <strong>Windows machine</strong>.</p>
<p>These steps are applicable to all <strong>Windows versions</strong> including <strong>Windows XP, Windows Vista, Windows NT and Winsdows 2003/2008 Servers.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/window-hosting/install-rrdtool-on-windows-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file.</title>
		<link>http://www.mywebhostingblog.net/mssql-server-hosting/sql-server-has-encountered-1-occurrences-of-io-requests-taking-longer-than-15-seconds-to-complete-on-file/</link>
		<comments>http://www.mywebhostingblog.net/mssql-server-hosting/sql-server-has-encountered-1-occurrences-of-io-requests-taking-longer-than-15-seconds-to-complete-on-file/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 19:24:06 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[stalled IO]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=57</guid>
		<description><![CDATA[Some times we see the error below in the event logs: &#8220;SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [T:\MSSQL\DATA\%file_name%] in database [%DB_name%] (2).  The OS file handle is 0&#215;00000838.  The offset of the latest long I/O is: 0x000000ebdc0000&#8220; Do you refer it to as [...]]]></description>
			<content:encoded><![CDATA[<p>Some times we see the error below in the event logs:</p>
<p><em>&#8220;<strong>SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [T:\MSSQL\DATA\%file_name%] in database [%DB_name%] (2).  The OS file handle is 0&#215;00000838.  The offset of the latest long I/O is: 0x000000ebdc0000</strong>&#8220;</em></p>
<p>Do you refer it to as a <strong>stalled IO</strong>? We always hear a questions such as, what’s wrong with SQL Server..? Why is SQL taking so long to read or write to the disk..? Let us discuss why it is not a MS SQL Server problem:</p>
<p><strong>MS SQL Server</strong> does data file reads and writes almost exclusively as asynchronous IO, using the <strong>win32 </strong>APIs ReadFile, WriteFile, ReadFileScatter and WriteFileGather. Each of these APIs behave in a fairly similar steps, the caller sends in a handle to the file, some memory location to read or write, the size of the block and a structure that tells the kernel how to handle the IO. In <strong>MS SQL Server’s </strong>case, how to handle the IO is Asynchronously, please.  The call returns immediately so that the thread issuing so that the IO can get out of the way and make life happy for other users who are also waiting got their query to return.</p>
<p>The catch here is that, ordinarily the time between the Asynchronous call to read or write and the completion of the read or write should be on the order of 10ms. The longer it takes for an IO to return the more noticeable a performance impact there is to end users.</p>
<p><span id="more-57"></span></p>
<p>Prior to <strong>MS SQL Server 2000 SP4</strong> the only way you would be able to tell if your<strong> IO</strong>s were taking longer than expected would be to use<strong> System Monitor</strong> and watch the <strong>PhysicalDisk</strong>\Avg Disk sec./read, write and transfer counter.  This is a relatively acceptable method when the cause of your IO bottleneck is the latency of the physical disk, you might be surprised to find out that’s not the only thing that might slow down an IO!</p>
<p>Once a user mode application issues an IO request it’s the equivalent of putting a package in the mail, there’s nothing to do but wait.  While you may not have anything to do once you’ve dropped the package the parcel carriers job has just begun, what with all the processing and labeling and transit – you get the idea.  Likewise for the <strong>kernel</strong>.  Once an IO transitions over to kernel mode it’s transformed into something called and <strong>IRP </strong>(interrupt request packet) and begins a trek down levels of filter drivers, virus scanners  and device drivers before it finally makes its way home to a physical device.</p>
<p>Windows exposes methods for device and software manufactures to be notified of, and participate in, IOs.  Filter drivers are one method of doing this, and it allows for great functionality of verifying you aren’t writing a file with a virus pattern, or backing up a file as it’s being written.  The problem here is that the filter driver can hold up an IO for an extended period of time, and this time isn’t reflected in the Sysmon counter.</p>
<p>So what are you to do? You’ve put your specially crafted package in the mail, but the intended recipient still hasn’t got it.</p>
<p>The approach taken in <strong>MS SQL Server</strong> is to make note of the time the <strong>IO </strong>started, the offset of the IO within the file then check back a short time later to make sure all IOs have completed.  If an IO is still outstanding and 15 seconds have elapsed then the warning is printed to the <strong>errorlog </strong>to alert the system administrator that something’s amiss.</p>
<p>When you see this message the first thing you need to check is the <strong>physical disk</strong> counters in sysmon to ensure that the disks are servicing IOs in a reasonable period of time.  If those appear to fine then start looking at what filter drivers are installed on your system, are there any known issues with them, or just disable them if you don’t need them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/mssql-server-hosting/sql-server-has-encountered-1-occurrences-of-io-requests-taking-longer-than-15-seconds-to-complete-on-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

