<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Microserf &#187; EPiServer</title>
	<atom:link href="http://microserf.wordpress.com/category/episerver/feed/" rel="self" type="application/rss+xml" />
	<link>http://microserf.wordpress.com</link>
	<description>A humble student of the art of software development</description>
	<lastBuildDate>Mon, 14 Dec 2009 16:22:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='microserf.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/aa8c6dcecdda70a9cb0f44c69df02492?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Microserf &#187; EPiServer</title>
		<link>http://microserf.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://microserf.wordpress.com/osd.xml" title="Microserf" />
		<item>
		<title>If it&#8217;s in the recycle bin, it ain&#8217;t deleted</title>
		<link>http://microserf.wordpress.com/2008/03/13/if-its-in-the-recycle-bin-it-aint-deleted/</link>
		<comments>http://microserf.wordpress.com/2008/03/13/if-its-in-the-recycle-bin-it-aint-deleted/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 16:46:28 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/?p=62</guid>
		<description><![CDATA[In EPiServer 4.61, you can handle the event for deleting a page and moving it. However, the event for putting a page in the recycle bin is not EPDataFactory.DeletingPage. No, it&#8217;s EPDataFactory.MovingPage&#8230; since you&#8217;re moving it to the bin. When you empty the bin you delete it. It totally makes sense from a developer perspective, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=62&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In EPiServer 4.61, you can handle the event for deleting a page and moving it. However, the event for putting a page in the recycle bin is not EPDataFactory.DeletingPage. No, it&#8217;s EPDataFactory.MovingPage&#8230; since you&#8217;re <strong>moving</strong> it to the bin. When you empty the bin you delete it. It totally makes sense from a developer perspective, but from a human language point of view? Compare it to deleting stuff in Windows.</p>
<p>If you have to keep stuff like that in your head, bugs may occur. I hope you learn from my failure to remember that, it cost me 30 minutes today.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=62&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2008/03/13/if-its-in-the-recycle-bin-it-aint-deleted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>My first look at open source code</title>
		<link>http://microserf.wordpress.com/2007/12/03/my-first-look-at-open-source-code/</link>
		<comments>http://microserf.wordpress.com/2007/12/03/my-first-look-at-open-source-code/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 11:47:02 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/12/03/my-first-look-at-open-source-code/</guid>
		<description><![CDATA[As I stated in the last post, I&#8217;m toying around a bit with Subkismet. It&#8217;s a great little tool for keeping comment spam at bay, which is a big problem at the EPiServer site I&#8217;m currently working on.

It&#8217;s also the first open source code that I&#8217;ve ever looked into, developed by Phil Haack et al. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=52&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As I stated in the last post, I&#8217;m toying around a bit with <a href="http://subkismet.com">Subkismet</a>. It&#8217;s a great little tool for keeping comment spam at bay, which is a big problem at the EPiServer site I&#8217;m currently working on.
</p>
<p>It&#8217;s also the first open source code that I&#8217;ve ever looked into, developed by <a href="http://www.haacked.com/">Phil Haack</a> et al. You can find out more at <a href="http://www.codeplex.com/subkismet">the project&#8217;s CodePlex site</a>. It&#8217;s great fun to see how other people use unit testing, inheritance and so on, and a good way of learning more about your own programming style.
</p>
<p>I found that the code didn&#8217;t do exactly what I wanted to, so I changed it a little, et voilà, I had a visible captcha ready after a few hours. Open source (&#8220;or as Microsoft pronounce it: &#8216;Open Sores&#8217;&#8221; – quote by <a href="http://www.toolshed.com/">Andy Hunt</a>) is a beautiful thing sometimes.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=52&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/12/03/my-first-look-at-open-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>EPiServer and performance</title>
		<link>http://microserf.wordpress.com/2007/11/30/episerver-and-performance/</link>
		<comments>http://microserf.wordpress.com/2007/11/30/episerver-and-performance/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 08:03:49 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/11/30/episerver-and-performance/</guid>
		<description><![CDATA[I&#8217;m currently working on a large (1000+ subsites) EPiServer project and we had some really nasty issues with performance due to a design flaw. Let me just put it like this: If you&#8217;re ever thinking about using many dynamic properties on a large site, DON&#8217;T! It has been said before, but needs to be repeated.

The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=49&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m currently working on a large (1000+ subsites) EPiServer project and we had some really nasty issues with performance due to a design flaw. Let me just put it like this: If you&#8217;re ever thinking about using many dynamic properties on a large site, DON&#8217;T! It has been said before, but needs to be repeated.
</p>
<p>The situation has allegedly improved quite a bit in EPiServer CMS (5) but in the 4.XX versions, whenever you delete/move/copy a page the cache is emptied and the entire dynamic properties tree has to be reloaded from the database. Which, in our case, took 30 – 60 seconds and no one was able to use the site for that duration.
</p>
<p>The solution was to build a plug-in that iterated through the entire site and moved the dynamic properties to pages instead, e.g. start pages. Then we replaced all the calls to dynamic properties with calls to the start pages&#8217; properties, leaving us with only references to the start pages as &#8220;dynaprops&#8221; (cool word, eh? I made it up myself). Now every time someone deletes a page, the database roundtrip takes 1 second, not 1 minute.
</p>
<p>I hope this can prevent anyone from making the same mistake.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=49&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/11/30/episerver-and-performance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Web applications and performance</title>
		<link>http://microserf.wordpress.com/2007/11/06/web-applications-and-performance/</link>
		<comments>http://microserf.wordpress.com/2007/11/06/web-applications-and-performance/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 16:05:11 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/11/06/web-applications-and-performance/</guid>
		<description><![CDATA[I&#8217;m currently working on website which is supposed to be able to manage many thousands of users at the same time. But we&#8217;re struggling with the performance. So I&#8217;ve found some quite useful tools for this:

dotTrace is a profiler for .NET code. A great little tool for finding out what parts of your code take [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=44&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m currently working on website which is supposed to be able to manage many thousands of users at the same time. But we&#8217;re struggling with the performance. So I&#8217;ve found some quite useful tools for this:</p>
<ol>
<li><a href="http://www.jetbrains.com/profiler/">dotTrace</a> is a profiler for .NET code. A great little tool for finding out what parts of your code take the most time/resources. It&#8217;s kinda expensive though.</li>
<li><a href="http://www.webload.org/">WebLOAD</a> is an open source load testing solution for internet apps. I like it a lot, even though the documentation is a bit sparse and I&#8217;m not quite sure how to interpret all the data I get when testing my sites.</li>
</ol>
<p>Apart from that, I&#8217;ve learned one important lesson when it comes to EPiServer and performance: do not use a lot of dynamic properties for large sites. They tend to suck the life out of the database server, we&#8217;ve found stored procedures that take 30-60 seconds just to get all the dynamic properties. Instead we&#8217;re going to make them ordinary page properties and push them downwards in the hierarchy.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=44&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/11/06/web-applications-and-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Solving the CS1595 problem</title>
		<link>http://microserf.wordpress.com/2007/06/13/solving-the-cs1595-problem/</link>
		<comments>http://microserf.wordpress.com/2007/06/13/solving-the-cs1595-problem/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 12:06:50 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/06/13/solving-the-cs1595-problem/</guid>
		<description><![CDATA[I&#8217;ve been struggling for a while with the installation of an EPiServer site. There&#8217;s always something going wrong when installing them it seems. I installed a blank 4.61/ASP.NET 1.1 site and then replaced some of the content with the files from the source control repository, since the whole site wasn&#8217;t in the source control system, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=36&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been struggling for a while with the installation of an EPiServer site. There&#8217;s always something going wrong when installing them it seems. I installed a blank 4.61/ASP.NET 1.1 site and then replaced some of the content with the files from the source control repository, since the whole site wasn&#8217;t in the source control system, only the files that had changed.</p>
<p>However, this led me to the following error after having compiled the site for the first time: When trying to open it, my browser just shouted:</p>
<blockquote><p>&#8220;CS1595: &#8216;development.Global&#8217; is defined in multiple places; using definition from &#8216;c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\588a0258\4318cd2f\assembly\dl2\af592e75\ 60d0d532_03adc701\EPiServerSample.DLL&#8217;&#8221;</p></blockquote>
<p>Okay, so I googled that error. The <a href="http://support.microsoft.com/kb/318274">Microsoft knowledge base article</a> didn&#8217;t seem to apply to me at all, instead I found the solution in the <a href="http://www.velocityreviews.com/forums/t70608-cs1595-defined-in-multiple-places-using-definition.html">Velocity Reviews Forum</a>, where this bloke Alvin Bruney suggests that if there are copies of the same assembly floating around you should:</p>
<blockquote><p>&#8220;delete all these assemblies every where you find them on your hard drive, flush iis temporary files, then rebuild that particular assembly&#8221;</p></blockquote>
<p>So that made my head snap back into it&#8217;s position: The EPiServerSample.DLL isn&#8217;t even supposed to be there, we&#8217;re not using it. So I just deleted it, and then emptied the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\ folder and re-built the solution. Now there&#8217;s only one development.Global, in my real assembly.</p>
<p>Another example of how a tiny, simple problem can delay my work by some hours.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=36&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/06/13/solving-the-cs1595-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating from VPC to VMware + using EPiServer = MAC address problems</title>
		<link>http://microserf.wordpress.com/2007/06/12/migrating-from-vpc-to-vmware-using-episerver-mac-address-problems/</link>
		<comments>http://microserf.wordpress.com/2007/06/12/migrating-from-vpc-to-vmware-using-episerver-mac-address-problems/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 12:46:13 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/06/12/migrating-from-vpc-to-vmware-using-episerver-mac-address-problems/</guid>
		<description><![CDATA[Today the first big problem of making my MS VPCs VMware virtual machines showed its ugly mug. VMware changed the machine&#8217;s MAC address, thus making the MAC-restricted EPiServer license invalid. I tried changing the MAC address to the old one in the .vmx-file, but it seems that VMware only supports addresses in a certain range. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=35&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today the first big problem of making my MS VPCs VMware virtual machines showed its ugly mug. VMware changed the machine&#8217;s MAC address, thus making the MAC-restricted EPiServer license invalid. I tried changing the MAC address to the old one in the .vmx-file, but it seems that VMware only supports addresses in a certain range. So now I have to order a new EPiServer license.
</p>
<p>Apart from that, VMware Player today gave me my first blue screen on XP ever. Unless you count that one time that my laptop was next to a drum kit (don&#8217;t ask), and the drummer&#8217;s bass kicking vibrations caused the computer to blue out on me. Also I find it annoying that once you grab control of the mouse and keyboard in the virtual machine, you have to press Ctrl+Alt to return to the host system. In Virtual PC you don&#8217;t have to do that.
</p>
<p>Apart from that, VMware is FAAAAST. Just saving the state and then recovering it is so smooth as compared to VPC.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=35&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/06/12/migrating-from-vpc-to-vmware-using-episerver-mac-address-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Allowing web editors to add javascript in EPiServer</title>
		<link>http://microserf.wordpress.com/2007/03/13/allowing-web-editors-to-add-javascript-in-episerver/</link>
		<comments>http://microserf.wordpress.com/2007/03/13/allowing-web-editors-to-add-javascript-in-episerver/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 14:42:14 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/03/13/allowing-web-editors-to-add-javascript-in-episerver/</guid>
		<description><![CDATA[I haven&#8217;t got much to do right now, except for some really small and easy EPiServer thingees. This is one of them:
The customer wanted to allow the web editors to add javascript in the Edit Mode that was then included in the &#60;head&#62; of the page. Easy to  do.
1. Add the following code to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=25&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I haven&#8217;t got much to do right now, except for some really small and easy EPiServer thingees. This is one of them:</p>
<p>The customer wanted to allow the web editors to add javascript in the Edit Mode that was then included in the &lt;head&gt; of the page. Easy to  do.</p>
<p>1. Add the following code to the header.ascx file:<br />
<code>&lt;%=GetJavaScript()%&gt;</code></p>
<p>2. Then put the following method in the code-behind file:<br />
<code>protected string GetJavaScript()<br />
{<br />
if(CurrentPage.Property.Exists("Javascript"))<br />
{<br />
return CurrentPage.Property["Javascript"].ToString();<br />
}<br />
else<br />
{<br />
return String.Empty;<br />
}<br />
}</code></p>
<p>3. Add an XHTML property called &#8220;Javascript&#8221; to any pages where you wish to have javascript.</p>
<p>4. Write/paste the javascript in the text box for this property. However, make sure that you paste it in the HTML edit mode, not ordinary text mode. Otherwise EPiServer will just reformat your javascript to html, which isn&#8217;t pretty.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=25&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/03/13/allowing-web-editors-to-add-javascript-in-episerver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Allowing EPiServer to save to web.config</title>
		<link>http://microserf.wordpress.com/2007/03/13/allowing-episerver-to-save-to-webconfig/</link>
		<comments>http://microserf.wordpress.com/2007/03/13/allowing-episerver-to-save-to-webconfig/#comments</comments>
		<pubDate>Mon, 12 Mar 2007 22:18:55 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/03/13/allowing-episerver-to-save-to-webconfig/</guid>
		<description><![CDATA[Simple problem, simple solution. But I thought I&#8217;d share it anyway.
Today when I tried to enable globalization in the admin mode at the production server, I ran into a tiny wall. EPiServer told me that
Access to the path "C:\Inetpub\EPiServer\web.config" is denied.
This lead to some funny behaviour, since the globalization was only enabled for one cache [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=24&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Simple problem, simple solution. But I thought I&#8217;d share it anyway.</p>
<p>Today when I tried to enable globalization in the admin mode at the production server, I ran into a tiny wall. EPiServer told me that<br />
<code>Access to the path "C:\Inetpub\EPiServer\web.config" is denied.</code></p>
<p>This lead to some funny behaviour, since the globalization was only enabled for one cache period and then it got disabled again. Very natural, since the setting wasn&#8217;t actually saved. What to do?</p>
<p>Just go to the web.config file in explorer, and give the user IIS_WPG rights to write to that file. Now you can save the settings like there&#8217;s no tomorrow!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=24&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/03/13/allowing-episerver-to-save-to-webconfig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Deleting web sites in the IIS on XP</title>
		<link>http://microserf.wordpress.com/2007/03/06/deleting-web-sites-in-the-iis-on-xp/</link>
		<comments>http://microserf.wordpress.com/2007/03/06/deleting-web-sites-in-the-iis-on-xp/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 14:50:41 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[EPiServer]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/03/06/deleting-web-sites-in-the-iis-on-xp/</guid>
		<description><![CDATA[I recently installed EPiServer on my XP computer, which is cumbersome to say the least. For example, when you choose an existing SQL account instead of creating a  new one, the installer tells you that &#8220;the account already exists&#8221; and throws an exception. Duh!
Well, due to many attempts at installing EPiServer, my IIS was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=23&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently installed EPiServer on my XP computer, which is cumbersome to say the least. For example, when you choose an existing SQL account instead of creating a  new one, the installer tells you that &#8220;the account already exists&#8221; and throws an exception. Duh!</p>
<p>Well, due to many attempts at installing EPiServer, my IIS was crowded with duplicate EPi sites&#8230; and I couldn&#8217;t find an easy way of deleting them. <em>EDIT: I tried deleting them in EPiServer Manager, but for some reason that didn&#8217;t work.</em></p>
<p>The answer is two things:</p>
<p>1. Download the <a href="http://support.microsoft.com/kb/232068">Microsoft Metabase Editor</a>, and install it. Open up and go to the W3SVC in the LM branch. There you see different numbers for each of your sites. Remember what numbers correspond to the site you want to remove (the name is usually visible in the ServerComment key).</p>
<p>2. Open up the good old cmd.exe, change directory to C:\inetpub\AdminScripts (or wherever your inetpub is) and type the following:</p>
<p><code>C:\inetpub\AdminScripts&gt;adsutil.vb delete W3SVC/X</code></p>
<p>where X is the number for the site that you noted from the metabase.</p>
<p>Done and done!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=23&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/03/06/deleting-web-sites-in-the-iis-on-xp/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Ambiguous match found&#8221; in my default.aspx.cs</title>
		<link>http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/</link>
		<comments>http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 10:07:54 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/</guid>
		<description><![CDATA[I stumbled upon the aforementioned error after making some changes in my default.aspx code.
The error message didn&#8217;t help a lot, but because of Eran Sandler&#8217;s blog Advanced .NET Debugging I managed to sort it out.
Because some variables had the same names in the default.aspx and the default.aspx.cs, but the casing was different, the stuff added in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=19&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I stumbled upon the aforementioned error after making some changes in my default.aspx code.</p>
<p>The error message didn&#8217;t help a lot, but because of <a href="http://dotnetdebug.blogspot.com/" title="Advanced .NET Debugging">Eran Sandler&#8217;s blog <em>Advanced .NET Debugging</em></a> I managed to sort it out.</p>
<p>Because some variables had the same names in the default.aspx and the default.aspx.cs, but the casing was different, the stuff added in the default.aspx.designer.cs file created errors. Either you can remove the lines added in the designer file or do as I did: rename the error generating variable names (thru refactoring of course ;) ) so that more than the casing differs.</p>
<p>And to Eran for finding this error (and/or possible bug): respect.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=19&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
	</channel>
</rss>