<?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>WinBlogs.... &#187; windows</title>
	<atom:link href="http://www.winblogs.net/index.php/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.winblogs.net</link>
	<description>Just another Windows geek blog...</description>
	<lastBuildDate>Thu, 27 Oct 2011 21:56:01 +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>SCVMM? errr&#8230;System Center Virtual Machine Manager and HyperV whining :)</title>
		<link>http://www.winblogs.net/index.php/2011/06/10/scvmm-errr-system-center-virtual-machine-manager-and-hyperv-whining/</link>
		<comments>http://www.winblogs.net/index.php/2011/06/10/scvmm-errr-system-center-virtual-machine-manager-and-hyperv-whining/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 00:06:40 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[hyper v]]></category>
		<category><![CDATA[HyperV]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=471</guid>
		<description><![CDATA[Couple of days ago I installed SCVMM  in order to test it out, since we are developing our IAAS solution. Everything seemed great until I found out that SVCMM doesnt have any API which can be used to create/turn on/off  new machines.  Yes, I know everything can be scripted thru Powershell, but it sucks that [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2011/06/frustrated.jpg"><img class="alignleft size-medium wp-image-472" title="frustrated" src="http://www.winblogs.net/wp-content/uploads/2011/06/frustrated-300x300.jpg" alt="" width="232" height="232" /></a></p>
<p>Couple of days ago I installed SCVMM  in order to test it out, since we are developing our IAAS solution. Everything seemed great until I found out that SVCMM doesnt have any API which can be used to create/turn on/off  new machines.  Yes, I know everything can be scripted thru Powershell, but it sucks that we need to create separate applicatons that will give us that feature. Imagine a solution where PRTG, Nagios or any other tools monitors your server&#8230; sees that the CPU load went up ( or any other condition) and starts up a new virtual machine  using API?</p>
<p>Its funny how the guys at MS fails to see the basic requirements for a modern cloud solution; do I have to mention that after years of HyperV being RTM-ed, we still dont have an option to limit a machines uplink speed!? Come on guys&#8230;SERIOUSLY!?!?</p>
<p>&nbsp;</p>
<p>I know that you already have this  little piece of software created, release it&#8230;pretty please!? I know that Microsoft sees HyperV in some giant corporation where they  dont have a need to limit the uplink of a virtual machine, but IMHO,  hosters are having a bigger &#8220;market&#8221; share  than big corporations, think  about us, pretty please with sugar on top <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Oh, what about promiscous mode for network cards? You  have no idea how much would I like to use SNORT on my HyperV virtual switch, but&#8230;I cant <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>What about the limit on only 4 cores per virtual machine? This is a VERY limiting factor. I&#8217;m in a situation where i have a 2x six core, 48 GB ram server which I want to turn into ONE virtual machine ( live migrations, scaling, etc&#8230;), but I cant&#8230;I can only turn it into a 4 core, 44 GB machine, effectively, wasting other 8 cores!?</p>
<p>I would really love to get in touch with someone from Microsoft Virtualization team and send them a list of must-have changes <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  Someone knows some insiders? <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Let me make one thing clear, I love Microsoft, but lets face it, there is lots of work that needs to be done. Admit it or not, the guys at the &#8220;Linux Camp&#8221; have much more options and features regarding virtualization. I really, really love HyperV, but some limitations are just plain unlogical/stupid.</p>
<p>Sorry for a bitter post, but I had to throw out my frustrations <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<div class="shr-publisher-471"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2011/06/10/scvmm-errr-system-center-virtual-machine-manager-and-hyperv-whining/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WebSitePanel &#8211; MySQL problem fix &#8211; UPDATED</title>
		<link>http://www.winblogs.net/index.php/2011/04/28/websitepanel-mysql-problem-fix/</link>
		<comments>http://www.winblogs.net/index.php/2011/04/28/websitepanel-mysql-problem-fix/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 10:23:59 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[WebSitePanel Fixes]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[websitepanel]]></category>
		<category><![CDATA[websitepanel mysql problem]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<category><![CDATA[wsp cannot delete database]]></category>
		<category><![CDATA[wsp mysql issue]]></category>
		<category><![CDATA[wsp unable to delete mysql database]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=336</guid>
		<description><![CDATA[Here you can download the files for fixing mysql issues ( deleting database ) on WSP 1.0.1.0, 1.0.2 , 1.1.0 and 1.1.2 INSTRUCTIONS : Replace &#8220;websitepanel.providers.database.mysql.dll&#8221; file in &#8220;server\bin&#8221; folder with the one you downloaded. These fixes fixed my problem on all servers EXCEPT the one running mysql 5.0.27 version&#8230;.ones runing 5.1 and 5.0.77 works [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Here you can download the files for fixing mysql issues ( deleting database ) on WSP 1.0.1.0, 1.0.2 , 1.1.0 and 1.1.2</p>
<p>INSTRUCTIONS :</p>
<p>Replace &#8220;websitepanel.providers.database.mysql.dll&#8221; file in &#8220;server\bin&#8221; folder with the one you downloaded. These fixes fixed my problem on all servers EXCEPT the one running mysql 5.0.27 version&#8230;.ones runing 5.1 and 5.0.77 works fine. I Will update if I get this solved too&#8230;</p>
<p>Currently I am getting this error on 5.0.27 server: ERROR: &#8216;MySQL Server 5.0&#8242; DeleteDatabase System.Data.EvaluateException: Cannot perform &#8216;=&#8217; operation on System.Byte[] and System.String.</p>
<p>FIX for 1.0.1.0 version can be found <a href="http://www.winblogs.net/wsp.mysql.providers1.0.1.0.zip">HERE</a></p>
<p>FIX for the 1.0.2 version can be found <a href="http://www.winblogs.net/wsp.mysql.providers1.0.2.rar">HERE</a></p>
<p>FIX for the 1.1.0 version can be found <a href="http://www.winblogs.net/wsp110.rar">HERE</a></p>
<p>FIX for the 1.1.2 version can be found <a href="http://www.winblogs.net/wsp.mysql.providers1.1.2.rar">HERE</a> &#8211; UPDATED!!!<a href="../wsp.mysql.providers1.0.2.rar"><br />
</a></p>
<p>Hope it will be helpfull.</p>
<p>If you have any questions, just let me know.</p>
<p>Ofcourse, these fixes are provided AS-IS . I dont guarantee it will work  on your machine, and I cannot take responsibility for any damages cause  by it.</p>
<div class="shr-publisher-336"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2011/04/28/websitepanel-mysql-problem-fix/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>SpamBots+bad application+SQL server = PROBLEMS!</title>
		<link>http://www.winblogs.net/index.php/2010/10/25/spambotsbad-applicationsql-server-problems/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/25/spambotsbad-applicationsql-server-problems/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 18:45:19 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=413</guid>
		<description><![CDATA[So&#8230;today I had a very interesting issue. All of a sudden Nagios went red with the message: CRITICAL : &#8211; total: 232.82 Gb &#8211; used: 212.67 Gb (91%) &#8211; free 20.15 Gb (9%) on one of our SQL server. I was like..&#8221;NO! It cannot be. I clearly remember that this machine had over 150 Gb [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>So&#8230;today I had a very interesting issue. All of a sudden Nagios went red with the message: <strong>CRITICAL : &#8211; total: 232.82 Gb &#8211; used: 212.67 Gb (91%) &#8211; free 20.15 Gb (9%)</strong> on one of our SQL server. I was like..&#8221;NO! It cannot be. I clearly remember that this machine had over 150 Gb of free space yesterday!&#8221;</p>
<p>I log in to the machine, and automatically go to the data folder of SQL server thinking that some customer has a HUGE! log file on his database; so, right click &#8211; Select All -&gt; Properties&#8230; only 50 Gbs of data&#8230;hmm&#8230;not here!</p>
<p>At that moment I notice that the server isnt &#8220;jumpy&#8221; as usual, so I start Performance monitor and see that the Avg. Disk Queue is off the chart! <strong> That definatelly isnt right&#8230;</strong></p>
<p>Since that machine is using Windows 2003, theres no too good way to see what application is using so much disk I/O ( beside FileMon ) , I start the FileMon and se that the SQL service is writing HUGE amount of data to its ERRORLOG file.</p>
<p>By navigating to the folder, I see that the ERRORLOG file is over 120 Gb big so opening it in Notepad, Context or some other file was out of the question, since it would kill the machine completely.</p>
<p>So, lets turn to powershell once more. In order to be sure to not kill the machine, since its in production , I have moved the file to an empty machine to opened it there.</p>
<p>Powershell : cat errorlog +ENTER <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  after that powershell started to list the entire content of the file, and it took about 15 mins until it reached the end. AMAZING</p>
<p>By examining the log, I notice ( it was hard to NOT notice it ) litterally millions of these entries:</p>
<p><strong>Could not allocate space for object &#8216;dbo.tblComments&#8217;.'tblComments&#8217; in database &#8216;DATABASEname&#8217; because the &#8216;PRIMARY&#8217; filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.</strong></p>
<p><strong>What happened here? </strong></p>
<p>The site that was using that database is poorly written and was allowing everyone to post comments on the articles without any security check, so it soon reached the size limit set on the database.  By further digging on the issue, I saw that the bots are posting about 4-5 comments each second which comes to about 18000 comments/hour&#8230;multiply that by 15-16 hours it took to fill the error log to that size, we roughly come to 280000 comments&#8230;that&#8217;s A LOT of comments! <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>After disabling the site and sending the email to the customer, situation on the machine looks like this :</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/mssql.jpg"><img class="alignleft size-medium wp-image-414" title="mssql" src="http://www.winblogs.net/wp-content/uploads/2010/10/mssql-300x213.jpg" alt="" width="300" height="213" /></a></p>
<p><strong>The big drop on the green line is the moment where I disabled the problematic web site.</strong></p>
<div class="shr-publisher-413"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/25/spambotsbad-applicationsql-server-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using compression on IIS servers?  Yes or no?</title>
		<link>http://www.winblogs.net/index.php/2010/10/08/using-compression-on-iis-servers-yes-or-no/</link>
		<comments>http://www.winblogs.net/index.php/2010/10/08/using-compression-on-iis-servers-yes-or-no/#comments</comments>
		<pubDate>Fri, 08 Oct 2010 13:29:56 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[iis 6 compression]]></category>
		<category><![CDATA[iis 7 compression]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=349</guid>
		<description><![CDATA[Well&#8230;in the very beginning, my answer is pretty much simple : yes AND no!  Why you ask?  Just keep reading&#8230; Compression, regardless if its the compression of static or dynamic content is using CPU &#8211; that is a fact we can all agree upon. Lets say compression is a tradeoff &#8211; CPU for bandwidth..use more [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2010/10/compression.jpg"><img class="alignleft size-thumbnail wp-image-356" style="margin: 3px; border: 0pt none;" title="compression" src="http://www.winblogs.net/wp-content/uploads/2010/10/compression-150x150.jpg" alt="" width="100" height="100" /></a><strong></strong></p>
<p><strong>Well&#8230;in the very beginning, my answer is pretty much simple : yes AND no!  Why you ask?  Just keep reading&#8230;</strong></p>
<p>Compression, regardless if its the compression of static or dynamic content is using CPU &#8211; that is a fact we can all agree upon. <strong></strong></p>
<p><strong>Lets say compression is a tradeoff &#8211; CPU for bandwidth..use more cpu to &#8220;burn&#8221; less bandwidth.</strong></p>
<p><strong>The big question here is how to decide if you will benefit from turning on compression or not.</strong></p>
<p>Most of us have &#8220;multi-purpose&#8221; servers which run various roles at the same time ( database server ( MYSQL , MSSQL, etc&#8230;) , mail server, web server, etc.. and all of those services are spending a certain amount of CPU time.</p>
<p>By turning on the compression, you will automatically &#8220;lose&#8221; some CPU time which could have been used for faster execution of some database queries i.e&#8230;<span id="more-349"></span></p>
<p>This is the key problem in our case. Is your machine powerfull enough to handle all the services it is already running + compression? Because in the end, you could end up with an even slower server!!!</p>
<p>If you have a small server ( 1 x quad core cpu, 4-8 gb ram ) which is under heavy or moderate load and you want your applications to be &#8220;jumpy&#8221; ( i.e : fast editing of some articles in your favourite CMS system ),  or you have lots of queries on your database service: DONT use compression, save your CPU time.  If you have some CPU time to spare,  turn on compression of static content which doesn&#8217;t change a lot or only needs to be downloaded every once in a while ( browser cache expires )</p>
<p>In case you have a big machine ( 2x quad core nehalems, 24 gb ram, 4x enterprise level hdd&#8217;s with hw raid controller, etc&#8230;)  and you have CPU time to spare, by all means, turn on the compression of both static and dynamic content. You will notice great improvements on your bandwidth costs <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In my experience, the biggest bottleneck on 99% of the server is the disk system. Ofcourse, in my case we are talking about some small RAIDs with 4-8 disks.</p>
<p><strong>Great example of that case are these two pictures:</strong></p>
<p>CPU usage on a 2xQUAD core server with 16 gb of RAM.</p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2010/10/cpu-day.png"><img class="size-medium wp-image-350 aligncenter" title="cpu-day" src="http://www.winblogs.net/wp-content/uploads/2010/10/cpu-day-300x81.png" alt="" width="300" height="81" /></a></p>
<p>As we can see, the server peaks out at 28% of cpu usage, which means it has lots of CPU time to spare for compression.</p>
<p>However, lets have a look at its disk system:</p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2010/10/hdd.png"><img class="size-medium wp-image-351 aligncenter" title="hdd" src="http://www.winblogs.net/wp-content/uploads/2010/10/hdd-300x124.png" alt="" width="300" height="124" /></a></p>
<p>As we can see on the graph, average DISK FREE TIME is 64%, which is a bit low for my personal taste. I would be much more comfortable that this number is around 70 -75% .</p>
<p>This machine would definatelly benefit from turning on compression, since it has lots of CPU time to spare.</p>
<p><strong>But I own a small server&#8230;is there any hope for me???</strong></p>
<p><strong>NEVER FEAR IIS 7 IS HERE!!!</strong></p>
<p>One great feature in IIS 7 and IIS 7.5 is that it  offers CPU roll-off function.  When CPU usage goes   above certain level you set,  IIS server will stop compression and when usage  drops below the level you have set up, it will start compressing content again.  This function is  controlled by the staticCompressionEnableCpuUsage and  dynamicCompressionDisableCpuUsage attributes.</p>
<p>For the owners of smaller machines, this function is just AWESOME! It will save you from unpleasant suprises like getting a call at 2-3 AM with a complaint that the SQL server is very sloooow.</p>
<p>In the end; you be the judge. Will you turn on compression on your server or not? Let me know&#8230;</p>
<div class="shr-publisher-349"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2010/10/08/using-compression-on-iis-servers-yes-or-no/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Don’t run production ASP.NET Applications with debug=true</title>
		<link>http://www.winblogs.net/index.php/2009/11/29/dont-run-production-asp-net-applications-with-debug-true/</link>
		<comments>http://www.winblogs.net/index.php/2009/11/29/dont-run-production-asp-net-applications-with-debug-true/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 01:02:42 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[IIS server]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[debug on or off]]></category>
		<category><![CDATA[debug=true]]></category>
		<category><![CDATA[DotNetPanel]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=260</guid>
		<description><![CDATA[Found an awesome post on DotNetPanel blog so I had to repost it One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the &#60;compilation debug=”true”/&#62; switch on within the application’s web.config file. Doing so causes a number of non-optimal things to happen including: [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Found an awesome post on DotNetPanel blog so I had to repost it <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the<strong> &lt;compilation debug=”true”/&gt;</strong> switch on within the application’s web.config file.</p>
<p>Doing so causes a number of non-optimal things to happen including:</p>
<p>1) The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)</p>
<p>2) Code can execute slower (since some additional debug paths are enabled)</p>
<p>3) Much more memory is used within the application at runtime</p>
<p>4) Scripts and images downloaded from the WebResources.axd handler are not cached</p>
<p>This last point is particularly important, since it means that all client-javascript libraries and static images that are deployed via <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/webresource.asp">WebResources.axd</a> will be continually downloaded by clients on each page view request and not cached locally within the browser.  This can slow down the user experience quite a bit for things like Atlas, controls like TreeView/Menu/Validators, and any other third-party control or custom code that deploys client resources.  Note that the reason why these resources are not cached when debug is set to true is so that developers don’t have to continually flush their browser cache and restart it every-time they make a change to a resource handler (our assumption is that when you have debug=true set you are in active development on your site).</p>
<p>When <strong>&lt;compilation debug=”false”/&gt;</strong> is set, the WebResource.axd handler will automatically set a long cache policy on resources retrieved via it – so that the resource is only downloaded once to the client and cached there forever (it will also be cached on any intermediate proxy servers).  If you have Atlas installed for your application, it will also automatically compress the content from the WebResources.axd handler for you when &lt;compilation debug=”false”/&gt; is set – reducing the size of any client-script javascript library or static resource for you (and not requiring you to write any custom code or configure anything within IIS to get it).</p>
<p><strong>What about binaries compiled with debug symbols?</strong></p>
<p>One scenario that several people find very useful is to compile/pre-compile an application or associated class libraries with debug symbols so that more detailed stack trace and line error messages can be retrieved from it when errors occur.</p>
<p>The good news is that you can do this without having the have the &lt;compilation debug=”true”/&gt; switch enabled in production.  Specifically, you can use either a web deployment project or a web application project to pre-compile the code for your site with debug symbols, and then change the &lt;compilation debug=”true”/&gt; switch to false right before you deploy the application on the server.</p>
<p>The debug symbols and metadata in the compiled assemblies will increase the memory footprint of the application, but this can sometimes be an ok trade-off for more detailed error messages.</p>
<p><strong>The &lt;deployment retail=”true”/&gt; Switch in Maching.config</strong></p>
<p>If you are a server administrator and want to ensure that no one accidentally deploys an ASP.NET application in production with the &lt;compilation debug=”true”/&gt; switch enabled within the application’s web.config file, one trick you can use with ASP.NET V2.0 is to take advantage of the &lt;deployment&gt; section within your machine.config file.</p>
<p>Specifically, by setting this within your machine.config file:</p>
<p>&lt;configuration&gt;</p>
<p>&lt;system.web&gt;</p>
<p>&lt;deployment retail=”true”/&gt;</p>
<p>&lt;/system.web&gt;</p>
<p>&lt;/configuration&gt;</p>
<p>You will disable the<strong> &lt;compilation debug=”true”/</strong>&gt; switch, disable the ability to output trace output in a page, and turn off the ability to show detailed error messages remotely.  Note that these last two items are security best practices you really want to follow (otherwise hackers can learn a lot more about the internals of your application than you should show them).</p>
<p>Setting this switch to true is probably a best practice that any company with formal production servers should follow to ensure that an application always runs with the best possible performance and no security information leakages.  There isn’t a ton of documentation on this switch – but you can learn a little more about it <a href="http://msdn2.microsoft.com/en-US/library/ms228298%28VS.80%29.aspx">here</a>.</p>
<p>So, dear developers, keep on eye on debug state&#8230;it will make you and the server happier <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>ALL CREDITS OF THIS TEXT GO TO DOTNETPANEL BLOG!</strong></p>
<p><strong>Source : <a href="http://forum.dotnetpanel.com/blogs/dan/archive/2008/09/10/don-t-run-production-asp-net-applications-with-debug-true-enabled.aspx" target="_blank">DotNetPanel Blog</a></strong></p>
<div class="shr-publisher-260"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/11/29/dont-run-production-asp-net-applications-with-debug-true/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automating backup of databases in SQL Express.</title>
		<link>http://www.winblogs.net/index.php/2009/11/22/automating-backup-of-databases-in-sql-20052008-express/</link>
		<comments>http://www.winblogs.net/index.php/2009/11/22/automating-backup-of-databases-in-sql-20052008-express/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 15:45:29 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[backup sql database]]></category>
		<category><![CDATA[backup sql express database]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[sql express]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=224</guid>
		<description><![CDATA[Microsoft SQL Server 2005/2008 Express is a free edition of SQL Server that is ideal for learning, developing and powering desktop, web and small server applications, and for redistribution by ISVs. Top Features Supports stored procedures, triggers, functions, and views Store all kinds of business data with native support for relational data, XML, FILESTREAM and spatial [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/mssql-logo.jpg"><img class="alignleft size-full wp-image-253" style="margin: 5px;" title="mssql-logo" src="http://www.winblogs.net/wp-content/uploads/2009/11/mssql-logo.jpg" alt="mssql-logo" width="122" height="73" /></a>Microsoft SQL Server 2005/2008 Express is a free edition of SQL Server that is ideal for learning, developing and powering desktop, web and small server applications, and for redistribution by ISVs.</p>
<h3>Top Features</h3>
<div>
<ul>
<li>Supports stored procedures, triggers, functions, and views</li>
<li>Store all kinds of business data with native support for relational data, XML, FILESTREAM and spatial data</li>
<li>Improved performance, usability, visualization, in addition to integration with the Microsoft 2007 Office System in SQL Server Reporting Services</li>
<li>Simplify development efforts by leveraging existing T-SQL skills, ADO.NET Entity Framework and LINQ</li>
<li>Closely integrated with Visual Studio and Visual Web Developer</li>
</ul>
<p>Because there&#8217;s no &#8220;SQL Agent&#8221; in SQL Express Editions, in order to create scheduled backups on SQL server Express edition, we need to user couple of tricks  <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<div><span id="more-224"></span></div>
<div>First, we need to have a query that will backup all databases to one folder&#8230; Well, here it is <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<p><code><br />
DECLARE @name VARCHAR(50) -- database name<br />
DECLARE @path VARCHAR(256) -- path for backup files<br />
DECLARE @fileName VARCHAR(256) -- filename for backup<br />
DECLARE @fileDate VARCHAR(20) -- used for file name<br />
SET @path = 'E:\sqlbackups\' --path to the backup folder<br />
SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112)<br />
DECLARE db_cursor CURSOR FOR<br />
SELECT name<br />
FROM master.dbo.sysdatabases<br />
WHERE name NOT IN ('tempdb')<br />
OPEN db_cursor<br />
FETCH NEXT FROM db_cursor INTO @name<br />
WHILE @@FETCH_STATUS = 0<br />
BEGIN<br />
SET @fileName = @path + @name + '_' + @fileDate + '.BAK'<br />
BACKUP DATABASE @name TO DISK = @fileName<br />
FETCH NEXT FROM db_cursor INTO @name<br />
END<br />
CLOSE db_cursor<br />
DEALLOCATE db_cursor</code></p>
<p>This will backup everything except the &#8220;Temdb&#8221; database. So, lets take a look at the current state of our backup folder.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/sqlbackup1.PNG"><img class="aligncenter size-medium wp-image-230" title="sqlbackup1" src="http://www.winblogs.net/wp-content/uploads/2009/11/sqlbackup1-300x99.PNG" alt="sqlbackup1" width="300" height="99" /></a></p>
<p>As we can see, only the backups from 21.11.2009 exist. So, what happens when we run the query using SQL Management Studio.</p>
<p>Here&#8217;s the query pasted in &#8220;New query window&#8221;.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/sqlquery.PNG"><img class="aligncenter size-medium wp-image-232" title="sqlquery" src="http://www.winblogs.net/wp-content/uploads/2009/11/sqlquery-300x288.PNG" alt="sqlquery" width="300" height="288" /></a>Sooo&#8230;if everything went smoothly, we should get a message similar to this one :</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/sqlquery2.PNG"><img class="aligncenter size-medium wp-image-233" title="sqlquery2" src="http://www.winblogs.net/wp-content/uploads/2009/11/sqlquery2-300x141.PNG" alt="sqlquery2" width="300" height="141" /></a>Awesome! <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Now, lets take a look at our backup folder, are there any changes? Sure hope there is, because this post will totally suck if the backup didn&#8217;t complete <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/sqlbackup2.PNG"><img class="aligncenter size-medium wp-image-234" title="sqlbackup2" src="http://www.winblogs.net/wp-content/uploads/2009/11/sqlbackup2-300x132.PNG" alt="sqlbackup2" width="300" height="132" /></a></p>
<p>As we can see, this post will not suck after all <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Notice the new files, created on the 22.11.2009 . IT WORKS! <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All we have to do now is to automate the backup, so we don&#8217;t have to run the query everyday by hand.</p>
<p>We will do that using Task Scheduler (or Scheduled tasks in Windows 2003). We have to add a task to execute everyday in 3 AM.</p>
<p>The command we have to run is:</p>
<p>&#8220;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\SQLCMD.EXE&#8221; -i &#8220;c:\pathtosqlquery\sqlbackup.sql&#8221;</p>
<p>Where &#8220;sqlbackup.sql&#8221; is the name of the file you have pasted the code mentioned before.</p>
<p>Here are a couple of pictures so you can see how to do it:</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/schedule.PNG"><img class="aligncenter size-medium wp-image-235" title="schedule" src="http://www.winblogs.net/wp-content/uploads/2009/11/schedule-300x177.PNG" alt="schedule" width="300" height="177" /></a></p>
<p>Now, click on &#8220;Create task&#8221;. That will click will start the task wizard. Enter the name of the task ( i.e &#8220;SQL Backups&#8221;.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/task1.PNG"><img class="aligncenter size-medium wp-image-237" title="task1" src="http://www.winblogs.net/wp-content/uploads/2009/11/task1-300x223.PNG" alt="task1" width="300" height="223" /></a>After entering the name and choosing the option &#8220;Run wheneter user is logged on or not&#8221;, click on &#8220;Triggers&#8221;.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/TASK2.PNG"><img class="aligncenter size-medium wp-image-238" title="TASK2" src="http://www.winblogs.net/wp-content/uploads/2009/11/TASK2-300x224.PNG" alt="TASK2" width="300" height="224" /></a></p>
<p>Click on &#8220;New&#8221;. It will bring up a new window</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/TASK3.PNG"><img class="aligncenter size-medium wp-image-240" title="TASK3" src="http://www.winblogs.net/wp-content/uploads/2009/11/TASK3-300x256.PNG" alt="TASK3" width="300" height="256" /></a>Choose the &#8220;Daily&#8221; option, and set the time when you want the task to run. I have set it to 3 AM .</p>
<p><strong>ONE IMPORTANT THING!!! Dont forget to check the &#8220;Enable&#8221; checkbox <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , otherwise, you will end up scratching your head and cursing Microsoft and uncle Bill <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  hehe.</strong></p>
<p>After that, click on &#8220;Actions&#8221;, where we will define the program that should be runned&#8230; Click on &#8220;New&#8221;&#8230;</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/TASK4.PNG"><img class="aligncenter size-medium wp-image-241" title="TASK4" src="http://www.winblogs.net/wp-content/uploads/2009/11/TASK4-300x234.PNG" alt="TASK4" width="300" height="234" /></a></p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/11/TASK5.PNG"><img class="aligncenter size-medium wp-image-242" title="TASK5" src="http://www.winblogs.net/wp-content/uploads/2009/11/TASK5-276x300.PNG" alt="TASK5" width="276" height="300" /></a>Paste this into the &#8220;Program/Script&#8221; box.</p>
<p><code>“C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Binn\SQLCMD.EXE”</code></p>
<p><strong>NOTE! &#8211; path to the &#8220;SQLCMD.exe&#8221; may be different on your system!!!</strong></p>
<p>All that is left to do is to &#8220;Add arguments&#8221;</p>
<p><code>-i “c:\pathtosqlqueryfile\sqlbackup.sql” </code></p>
<p>Click on &#8220;OK&#8221;, enter the system password and thats it. Enjoy your daily backup.</p>
<p><strong>HINT!!!! If you&#8217;re lazy like I am, you can use a powershell script to delete backup files older than X days. I have also covered that with a blog post. More info about that on this <a href="http://www.winblogs.net/index.php/2009/10/01/delete-files-older-from-in-powershell/">link</a>.</strong></p>
<p>Bye bye! <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-224"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/11/22/automating-backup-of-databases-in-sql-20052008-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setuping a server for web hosting – part 3: Installing MySQL</title>
		<link>http://www.winblogs.net/index.php/2009/11/01/setuping-a-server-for-web-hosting-%e2%80%93-part-3-installing-mysql/</link>
		<comments>http://www.winblogs.net/index.php/2009/11/01/setuping-a-server-for-web-hosting-%e2%80%93-part-3-installing-mysql/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 14:57:13 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[installing mysql]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=212</guid>
		<description><![CDATA[Back by popular demand part 3 of the &#8220;setup my web server&#8221; tutorials In this post we will cover the instalation of MySQL on a Windows 2008 R2 based server. The process is the same if you would have a Windows 2003 machine also. At the beginning, lets see what MySQL is. MySQL is a [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Back by popular demand <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  part 3 of the &#8220;setup my web server&#8221; tutorials <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>In this post we will cover the instalation of MySQL on a Windows 2008 R2 based server. The process is the same if you would have a Windows 2003 machine also.</p>
<p>At the beginning, lets see what MySQL is.</p>
<p><strong>MySQL</strong> is a <a title="Relational database management system" href="http://en.wikipedia.org/wiki/Relational_database_management_system">relational database management system</a> (RDBMS)<sup id="cite_ref-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-0"><span>.</span></a></sup><sup id="cite_ref-sun-mysql_1-0"><a href="http://en.wikipedia.org/wiki/MySQL#cite_note-sun-mysql-1"></a></sup> MySQL stands for &#8220;My <a title="SQL" href="http://en.wikipedia.org/wiki/SQL">Structured Query Language</a>&#8220;. The program runs as a server providing multi-user access to a number of databases.</p>
<p>The project has made its source code available under the terms of the <a title="GNU General Public License" href="http://en.wikipedia.org/wiki/GNU_General_Public_License">GNU General Public License</a>, as well as under a variety of proprietary agreements. MySQL is owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now a subsidiary of <a title="Sun Microsystems" href="http://en.wikipedia.org/wiki/Sun_Microsystems">Sun Microsystems</a>. As of 2009<sup style="display: none;"><a rel="nofollow" href="http://en.wikipedia.org/w/index.php?title=MySQL&amp;action=edit">[update]</a></sup> <a title="Oracle Corporation" href="http://en.wikipedia.org/wiki/Oracle_Corporation">Oracle Corporation</a> began the process of acquiring Sun Microsystems; Oracle holds the copyright to most of the MySQL codebase.</p>
<p>MySQL is often used in free software projects which require a full-featured database management system, such as <a title="WordPress" href="http://en.wikipedia.org/wiki/WordPress">WordPress</a>, <a title="PhpBB" href="http://en.wikipedia.org/wiki/PhpBB">phpBB</a> and other software built on the <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> software stack. It is also used in very high-scale <a title="World Wide Web" href="http://en.wikipedia.org/wiki/World_Wide_Web">World Wide Web</a> products including <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Wikipedia">Wikipedia</a>, <a title="Google" href="http://en.wikipedia.org/wiki/Google">Google</a> and <a title="Facebook" href="http://en.wikipedia.org/wiki/Facebook">Facebook</a><sup style="white-space: nowrap;" title="This claim needs references to reliable sources from September 2009"><em>.</em></sup></p>
<p>Many web applications use MySQL as the database component of a <a title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29">LAMP</a> software stack. Its popularity for use with web applications is closely tied to the popularity of <a title="PHP" href="http://en.wikipedia.org/wiki/PHP">PHP</a>, which is often combined with MySQL.</p>
<p>So, what is the process of installing MySQL on a Windows machine? Well, it&#8217;s pretty straight forward so there is no need to write step-by-step tuturial..look at the video rather than reading <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Dont forget to choose HD and the &#8220;full screen&#8221; option.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="525" height="444" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/InsSDz6rmCk&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="525" height="444" src="http://www.youtube.com/v/InsSDz6rmCk&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Song in the video is from Thievery Corporation. Song name is : Lebanese Blonde <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-212"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/11/01/setuping-a-server-for-web-hosting-%e2%80%93-part-3-installing-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating Windows XP to Windows 7</title>
		<link>http://www.winblogs.net/index.php/2009/10/24/migrating-windows-xp-to-windows-7/</link>
		<comments>http://www.winblogs.net/index.php/2009/10/24/migrating-windows-xp-to-windows-7/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 03:44:02 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows 7 migration]]></category>
		<category><![CDATA[xp to 7]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=194</guid>
		<description><![CDATA[Hi again, found an video that could be very interesting&#8230;.its about how to migrate Windows XP to Windows7 &#8230;. Click on the picture and enjoy! Note: open the link in Internet Explorer&#8230;there&#8217;s no sound in Firefox]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hi again, found an video that could be very interesting&#8230;.its about how to migrate Windows XP to Windows7 &#8230;.</p>
<p>Click on the picture and enjoy!</p>
<p><strong>Note: open the link in Internet Explorer&#8230;there&#8217;s no sound in Firefox <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p style="text-align: center;"><a href="http://technet.microsoft.com/en-us/windows/dd671583.aspx"><img class="aligncenter size-full wp-image-195" title="windowsmigration" src="http://www.winblogs.net/wp-content/uploads/2009/10/windowsmigration.PNG" alt="windowsmigration" width="535" height="401" /></a></p>
<div class="shr-publisher-194"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/10/24/migrating-windows-xp-to-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setuping a server for web hosting &#8211; part 2: Installing SQL 2008 Express</title>
		<link>http://www.winblogs.net/index.php/2009/10/24/setuping-a-server-for-web-hosting-part-2-installing-sql-2008-express/</link>
		<comments>http://www.winblogs.net/index.php/2009/10/24/setuping-a-server-for-web-hosting-part-2-installing-sql-2008-express/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 03:19:23 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[installing mssql]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[web platform installer]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=185</guid>
		<description><![CDATA[Hello there&#8230; In order to  install SQL 2008 Express, we have to download it first . Fire up your favorite browser and point it to http://www.microsoft.com/express/download/ . After that, find the box with the SQL 2008 Express, and click download. On the next step you have the option to register with Microsoft or download the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello there&#8230;</p>
<p>In order to  install SQL 2008 Express, we have to download it first . Fire up your favorite browser and point it to<a href="http://www.microsoft.com/express/download/"> http://www.microsoft.com/express/download/</a> . After that, find the box with the SQL 2008 Express, and click download.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpress.PNG"><img class="aligncenter size-full wp-image-186" title="sqlexpress" src="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpress.PNG" alt="sqlexpress" width="369" height="232" /></a></p>
<p>On the next step you have the option to register with Microsoft or download the software without registration.  I will choose the &#8220;no registration part&#8221;.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpressdownloadpage.PNG"><img class="aligncenter size-full wp-image-188" title="sqlexpressdownloadpage" src="http://www.winblogs.net/wp-content/uploads/2009/10/sqlexpressdownloadpage.PNG" alt="sqlexpressdownloadpage" width="471" height="160" /></a></p>
<p>In the new window, choose the version you would like to install. Personally, I will choose &#8220;<strong>Runtime with advanced services</strong>&#8220;. By clicking on install, Microsoft will ask to install the <strong>Microsoft Web Platform installer</strong>. If you dont have it installed, click on the picture to install it.</p>
<p><a href="http://www.winblogs.net/wp-content/uploads/2009/10/webplatforminstaller.PNG"><img class="aligncenter size-full wp-image-187" title="webplatforminstaller" src="http://www.winblogs.net/wp-content/uploads/2009/10/webplatforminstaller.PNG" alt="webplatforminstaller" width="199" height="54" /></a></p>
<p>Choose<strong> &#8220;Run&#8221;</strong>, and after the download, again, choose<strong> &#8220;Run</strong>&#8220;. Wait for the installtion to finish and look at the top of the browser, a little bar will pop up and ask us if we want to run Active X control.  <strong>Make sure the publisher is &#8220;Microsoft Corporation&#8221;</strong>. Click on &#8220;<strong>Run</strong>&#8220;, and then on<strong> Allow</strong>.</p>
<p>Now, look at the video of the installation I have made for you. The video will show you the process of installing<strong> SQL Server 2008 Express.</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/lWUjAG8Ab7I&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/lWUjAG8Ab7I&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>After that, all you need to do is run the <strong>&#8220;SQL Server Configuration Manager</strong>&#8221; under<strong> &#8220;Configuration Tools&#8221;</strong> and configure it the way you want it.</p>
<p>BTW, the track used is <span id="now-playing-info"><strong>La Noche</strong> by Coca &amp; Villa .IT&#8217;s AWESOME!!!</span></p>
<p><span>Have fun&#8230;bye!<br />
</span></p>
<div class="shr-publisher-185"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/10/24/setuping-a-server-for-web-hosting-part-2-installing-sql-2008-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HyperV+ISCSI+Windows 2008 &#8211; yes..it works like a charm :)</title>
		<link>http://www.winblogs.net/index.php/2009/10/21/hyperviscsiwindows-2008-yes-it-works-like-a-charm/</link>
		<comments>http://www.winblogs.net/index.php/2009/10/21/hyperviscsiwindows-2008-yes-it-works-like-a-charm/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 01:33:16 +0000</pubDate>
		<dc:creator>Alesandro Slepčević</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows and Powershell]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[failover cluster]]></category>
		<category><![CDATA[hyper]]></category>
		<category><![CDATA[hyper v]]></category>
		<category><![CDATA[HyperV]]></category>
		<category><![CDATA[hypervisor]]></category>
		<category><![CDATA[installing iis]]></category>
		<category><![CDATA[ISCSI]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[server setup]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[video tutorial]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<category><![CDATA[ZFS]]></category>
		<guid isPermaLink="false">http://www.winblogs.net/?p=159</guid>
		<description><![CDATA[Today, me and my collegaue managed to configure ISCSI on some backup server we had at the office. Iscsi target is based on OpenSolaris and ZFS . ZFS is a combined file system and logical volume manager designed by Sun Microsystems. The features of ZFS include support for high storage capacities, integration of the concepts [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Today, me and my collegaue managed to configure ISCSI on some backup server we had at the office. Iscsi target is based on OpenSolaris and ZFS . <strong>ZFS</strong> is a combined <a title="File system" href="http://en.wikipedia.org/wiki/File_system">file system</a> and <a title="Logical volume manager" href="http://en.wikipedia.org/wiki/Logical_volume_manager">logical volume manager</a> designed by <a title="Sun Microsystems" href="http://en.wikipedia.org/wiki/Sun_Microsystems">Sun Microsystems</a>. The features of ZFS include support for high storage capacities, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, <a title="RAID-Z" href="http://en.wikipedia.org/wiki/RAID-Z">RAID-Z</a> and native <a title="NFSv4" href="http://en.wikipedia.org/wiki/NFSv4">NFSv4</a> <a title="Access control lists" href="http://en.wikipedia.org/wiki/Access_control_lists">ACLs</a>. ZFS is implemented as open-source software, licensed under the <a title="Common Development and Distribution License" href="http://en.wikipedia.org/wiki/Common_Development_and_Distribution_License">Common Development and Distribution License</a> (CDDL). The ZFS name is a trade mark of Sun.</p>
<p>Requirements for running any OS in HyperV that will be stored on Iscsi server are:</p>
<p><span style="text-decoration: underline;"><strong>1. Iscsi target, obviously <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span></p>
<p><span style="text-decoration: underline;"><strong>2.Iscsi initiator software ( bundled in Windows 2008 Server)</strong></span></p>
<p><span style="text-decoration: underline;"><strong>3. High speed network, atleast 1Gbit.</strong></span></p>
<p><span style="text-decoration: underline;"><strong>4. Drive that you connect to the HyperV machine MUST stay in offline mode.</strong></span></p>
<p><span style="text-decoration: underline;"><strong>5. Tons of time to configure it <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span></p>
<p><strong>Will you will be able to read more details about configuring OpenSolaris and ZFS on my collegaues blog : <a href="http://www.toic.org" target="_blank">toic.org  &#8211; linux geek blog<br />
</a></strong></p>
<p>So, like we already know, the disk on that we want to install the OS has to be offline  ( hint: disk2 ).</p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2009/10/diskovi.PNG"><img class="size-medium wp-image-160 aligncenter" style="margin-top: 5px; margin-bottom: 5px;" title="diskovi" src="http://www.winblogs.net/wp-content/uploads/2009/10/diskovi-300x181.PNG" alt="diskovi" width="251" height="151" /></a></p>
<p style="text-align: center;"><a href="http://www.winblogs.net/wp-content/uploads/2009/10/hyperv.PNG"><img class="size-medium wp-image-165 aligncenter" title="hyperv" src="http://www.winblogs.net/wp-content/uploads/2009/10/hyperv-300x228.PNG" alt="hyperv" width="251" height="190" /></a></p>
<p>Next step is the creation of the virtual machine that will use the disk.  I have recorded that process, so you can see how simple it is <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/fKDwf9LYgBU&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/fKDwf9LYgBU&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>All that you have to do is to install the OS&#8230;I didnt do that to the end in the video.</p>
<p>Tommorow we have planned to create a failover cluster with two Windows 2008 servers and see what will happen when one server suddenly get disconnected..ups <img src='http://www.winblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Bye, Alesandro</p>
<div class="shr-publisher-159"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.winblogs.net/index.php/2009/10/21/hyperviscsiwindows-2008-yes-it-works-like-a-charm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

