<?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>Prolific Notion</title>
	<atom:link href="http://prolificnotion.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://prolificnotion.uk</link>
	<description>Certified Umbraco Developer</description>
	<lastBuildDate>Fri, 13 Dec 2013 09:48:37 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.5.13</generator>
	<item>
		<title>Reset Git Branch to undo a pull or a merge</title>
		<link>http://prolificnotion.uk/2013/12/13/reset-git-branch-to-undo-a-pull-or-a-merge/</link>
		<comments>http://prolificnotion.uk/2013/12/13/reset-git-branch-to-undo-a-pull-or-a-merge/#respond</comments>
		<pubDate>Fri, 13 Dec 2013 09:48:37 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[Source Control]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=789</guid>
		<description><![CDATA[This is more a note to myself put here in case anyone searching for the same solution might find it useful.
Yesterday I pulled a remote into the wrong local branch and couldn&#8217;t find a way to reset the branch again to undo my mistake. Fire up your chosen command prompt, which for me is currently [...]]]></description>
				<content:encoded><![CDATA[<p>This is more a note to myself put here in case anyone searching for the same solution might find it useful.</p>
<p>Yesterday I pulled a remote into the wrong local branch and couldn&#8217;t find a way to reset the branch again to undo my mistake. Fire up your chosen command prompt, which for me is currently the <a title="Console2 – My new and improved command prompt for Windows" href="http://www.prolificnotion.co.uk/console2-my-new-and-improved-command-prompt-for-windows/">Console2 Command Prompt</a> and enter the following command.</p>
<pre class="brush: plain; title: ; notranslate">git reset --hard ORIG_HEAD</pre>
<p>This solution is suitable for undoing a pull or a merge. Full details on the <a title="git-reset(1) Manual Page" href="http://git-scm.com/docs/git-reset" target="_blank">git-reset Manual Page</a>.</p>
<p>I still find Git a bit harder to master than Mercurial so I can see me adding a few more short posts on here for my own future reference.</p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2013/12/13/reset-git-branch-to-undo-a-pull-or-a-merge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update-Package : &#8216;UmbracoCms&#8217; was not installed in any project. Update failed</title>
		<link>http://prolificnotion.uk/2013/08/05/update-package-umbracocms-was-not-installed-in-any-project-update-failed/</link>
		<comments>http://prolificnotion.uk/2013/08/05/update-package-umbracocms-was-not-installed-in-any-project-update-failed/#respond</comments>
		<pubDate>Mon, 05 Aug 2013 09:58:54 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=779</guid>
		<description><![CDATA[Overcoming the "'UmbracoCms' was not installed in any project. Update failed" error message when trying to upgrade Umbraco via Nuget]]></description>
				<content:encoded><![CDATA[<p>Returning to a project running Umbraco 4.11.8 I needed to upgrade the package to 4.11.10 in an attempt to overcome another issue I was having.</p>
<p>When running the following command in the Nuget console</p>
<pre class="brush: plain; title: ; notranslate">update-package UmbracoCms -version 4.11.10</pre>
<p>I was getting getting an error back informing me the update failed due to the fact that UmbracoCms was not installed in any project. I know this fact to be incorrect since I checked each package.config file in all projects within my solution and they were all referencing UmbracoCms 4.11.8. Digging a little further I found this post <a href="http://nuget.codeplex.com/workitem/1307">http://nuget.codeplex.com/workitem/1307</a> on CodePlex which ultimately led me to remove an old and unused Umbraco 4.11.6 directory which was inside of the Packages directory in my solution. Once removed the update completed without any errors.</p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2013/08/05/update-package-umbracocms-was-not-installed-in-any-project-update-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ignore redundant Umbraco package installation directories using Mercurial HG .ignore file</title>
		<link>http://prolificnotion.uk/2012/08/27/ignore-redundant-umbraco-package-installation-directories-using-mercurial-hg-ignore-file/</link>
		<comments>http://prolificnotion.uk/2012/08/27/ignore-redundant-umbraco-package-installation-directories-using-mercurial-hg-ignore-file/#comments</comments>
		<pubDate>Mon, 27 Aug 2012 07:02:42 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=763</guid>
		<description><![CDATA[A solution to the problem of ignoring the package installation directories using the regex syntax in your .hgignore file.]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m collaborating on a project at the moment where I&#8217;m using a slightly different setup to my usual to see how I go with including the entire <a title="Umbraco - The open source ASP.NET CMS" href="http://umbraco.com/" target="_blank">Umbraco</a> installation in the repository, usually I just include any custom(ised) elements and use the post build to copy them into an <a title="Umbraco - The open source ASP.NET CMS" href="http://umbraco.com/" target="_blank">Umbraco</a> installation.</p>
<p>I am still taming the setup however <a title="Umbraco addict" href="https://twitter.com/tomnf1" target="_blank">Tom Fulton</a> drew my attention to the fact I was committing the garbage that <a title="Umbraco - The open source ASP.NET CMS" href="http://umbraco.com/" target="_blank">Umbraco</a> fails to remove during the package installation process which are directories in the App_Data folder that have a guid for a name. Tom said he&#8217;d not yet worked out how to exclude them easily without explicitly ignoring each one and so not being one to turn down a challenge I thought I would beat him to it.</p>
<p>The solution it seems is quite simple, the <a title="Syntax for Mercurial ignore files" href="http://www.selenic.com/mercurial/hgignore.5.html" target="_blank">.hgignore</a> file also accepts a regex syntax so the simple addition of the following to your <a title="Syntax for Mercurial ignore files" href="http://www.selenic.com/mercurial/hgignore.5.html" target="_blank">.hgignore</a> file does the trick:</p>
<pre class="brush: plain; title: ; notranslate">syntax: regexp

b[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}b</pre>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2012/08/27/ignore-redundant-umbraco-package-installation-directories-using-mercurial-hg-ignore-file/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Umbraco Contour &#8211; Failed to save form</title>
		<link>http://prolificnotion.uk/2012/08/06/umbraco-contour-failed-to-save-form/</link>
		<comments>http://prolificnotion.uk/2012/08/06/umbraco-contour-failed-to-save-form/#respond</comments>
		<pubDate>Mon, 06 Aug 2012 04:46:47 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=754</guid>
		<description><![CDATA[A solution to the "Failed to save form" error message when trying to save a large Umbraco Contour form. The addition of a maxJsonLength attribute amended accordingly on the jsonSerialization  node of your web.config is a good place to start.]]></description>
				<content:encoded><![CDATA[<p>I recently had to build a pretty sizeable form with approximately 65 fields. I created the form and performed the initial save with no issues however on returning to edit the form or creating a new form based on the template I was presented with the error message &#8220;Failed to save form&#8221;.</p>
<p>In true Umbraco style that&#8217;s all the information I got, no reasoning and nothing in the logs and so began my quest to find a solution. Thankfully I was not the first to have the issue and I&#8217;m sure I won&#8217;t be the last so I thought I make this post as a reminder to myself and to aid anyone else in their search for a solution to the same issue.</p>
<p>The fix is nice and straight forward and simply requires the addition of the following entry in your web.config:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;system.web.extensions&gt;
    &lt;scripting&gt;
      &lt;webServices&gt;
        &lt;jsonSerialization maxJsonLength=&quot;500000&quot;&gt;
        &lt;/jsonSerialization&gt;
      &lt;/webServices&gt;
    &lt;/scripting&gt;
  &lt;/system.web.extensions&gt;
</pre>
<p>You can amend the maxJsonLength attribute value to suit your requirements but the above worked for me.</p>
<p>Credit to <a title="Visit the @NielsHaasnoot twitter profile" href="https://twitter.com/NielsHaasnoot" target="_blank">@NielsHaasnoot</a> for <a title="Solution on the Umbraco Forums" href="http://our.umbraco.org/forum/umbraco-pro/contour/26112-Contour-'Failed-to-save-form'" target="_blank">his solution</a> to my problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2012/08/06/umbraco-contour-failed-to-save-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET Duplicate Title Tags</title>
		<link>http://prolificnotion.uk/2012/05/15/asp-net-duplicate-title-tags/</link>
		<comments>http://prolificnotion.uk/2012/05/15/asp-net-duplicate-title-tags/#comments</comments>
		<pubDate>Tue, 15 May 2012 07:36:17 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=746</guid>
		<description><![CDATA[How to resolve issues with duplicate title tags in ASP.Net pages when using the runat="server" attribute in the header.]]></description>
				<content:encoded><![CDATA[<p>A client recently highlighted a bug in an Umbraco site I had developed that was causing duplicate title tags to be inserted and resulted in Accessibility validation failure for the client. It seems that there is a bug(?) in .Net when using a &lt;head&gt; tag with the runat=&#8221;server&#8221; attribute, if it does not encounter a HtmlTitle control in the child controls collection it will insert one for you which in this case has undesirable results. On the site in question there is a macro in the master template header that generates title tags for pages so I had to find a way around it.</p>
<p>The solution it turns out is extremely simple, a bit of hack nonetheless but it works.</p>
<pre class="brush: xml; title: ; notranslate">&lt;title visible=&quot;false&quot; runat=&quot;server&quot; /&gt;</pre>
<p>All we need to do is to trick the framework by adding a title tag with the runat=&#8221;server&#8221; attribute and set it&#8217;s visibilty to &#8220;false&#8221; so that it doesn&#8217;t get rendered &#8211; job done!</p>
<p>Of course some of you will be sitting there thinking,<em> &#8220;Why don&#8217;t you just remove the runat=&#8221;server&#8221; attribute from the header&#8221;</em> &#8211; well, in this instance that is not an option since I have other stuff going on in the header that requires it but it is another viable solution &#8211; if you don&#8217;t need it, simply remove it from the header tag and this should also resolve your problem.</p>
<p>If you want to read further on this topic try reading <a title="There are a couple of peculiarities worth understanding when dealing with title tags and master pages within Web Forms and ASP.NET MVC" href="http://haacked.com/archive/2009/04/03/tipjar-title-tags-and-master-pages.aspx" target="_blank">&#8216;Title Tags and Master Pages&#8217; by Phil Haack</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2012/05/15/asp-net-duplicate-title-tags/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Customising your mercurial.ini configuration file to get the most out your experience</title>
		<link>http://prolificnotion.uk/2012/04/13/customising-your-mercurial-ini-configuration-file/</link>
		<comments>http://prolificnotion.uk/2012/04/13/customising-your-mercurial-ini-configuration-file/#respond</comments>
		<pubDate>Fri, 13 Apr 2012 07:34:15 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Mercurial]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=724</guid>
		<description><![CDATA[Learn how to customise your Mercurial.ini file to save time and get more out of your Mercurial experience.]]></description>
				<content:encoded><![CDATA[<p>I am doing an increasing amount of collaborative work at the moment. During the course of these collaborations I have been giving access to some of my Mercurial repositories on BitBucket  to other developers and noticed that simple things like a consistent username have not been configured in their environments. This is resulting in each commit to my repositories often having a different username and meaning I have to keep mapping alias after alias to the BitBucket user accounts so my repo&#8217;s look nice and tidy with peoples avatars all displaying correctly (because I&#8217;m anal like that!).</p>
<p>Having spoken to one of the other developers about updating his mercurial.ini file with a static username and email address I found he was blissfully unaware of the feature as I expect are many others and hence my blog post.</p>
<p>You should find your Mercurial configuration file in <em><strong>%USERPROFILE%mercurial.ini</strong></em>. If your&#8217;s is not there you can either create it or refer to the <a title="Mercurial reads configuration data from several files, if they exist..." href="http://www.selenic.com/mercurial/hgrc.5.html#files" target="_blank">Configuration files for Mercurial documentation</a>.</p>
<p>See below for an extract of my mercurial.ini configuration file with a breakdown below of the purpose for each configuration setting:</p>
<pre class="brush: plain; title: ; notranslate">[ui]
username = Simon Dingley &lt;simon@prolificnotion.co.uk&gt;
verbose = True
editor = &quot;C:Program Files (x86)Notepad++notepad++.exe&quot; -multiInst -nosession
merge = tortoisemerge
ssh = &quot;TortoisePlink.exe&quot; -ssh -2 -batch -C

[paths]
ucpp = ssh://hg@bitbucket.org/ProNotion/ucommerce-payment-providers
umbraco = https://hg.codeplex.com/umbraco

[extensions]
color =
progress =
convert =
fetch =

[tortoisehg]
vdiff = tortoisemerge</pre>
<h2>[ui]</h2>
<h3><em>username</em></h3>
<p>Identifies the user committing the changeset. Typically a person&#8217;s name and email address, e.g. Simon Dingley &lt;simon@example.com&gt;. Default is often username@hostname and one of the reasons for this blog post.</p>
<h3><em>verbose</em></h3>
<p>Display more detailed output. Default is False. I find this useful to know what is going on in the background.</p>
<h3><em>editor</em></h3>
<p>This is the application to use for editing comments relating to your commits. As you can see, my preferred choice is <a title="A free source code editor and Notepad replacement that supports several languages" href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a> but could really be any text editor of your choice.</p>
<h3><em>merge</em></h3>
<p>This is your tool of choice for resolving merge conflicts, my personal preference is still with <a title="A diff / merge software tool for windows with a tight integration for TortoiseSVN" href="http://tortoisesvn.tigris.org/TortoiseMerge.html" target="_blank">tortoisemerge</a> which I am familiar with from my Subversion days. I&#8217;ve tried a few alternatives but this is the one that works for me so I&#8217;ve stuck with it.</p>
<h3><em>ssh</em></h3>
<p>This is a relatively new addition to my configuration file and provides mercurial with the command to execute for any SSH connections. Depending on interest in this I may at a later date do another post on setting up SSH with mercurial to save the hassle of entering repository login details all of the time.</p>
<h2>[paths]</h2>
<p>This section of the configuration file allows you to supply shorter friendly names for your repositories so you don&#8217;t need to enter the full repository address each time you want to interact with it by means of pushing or pulling changesets. So taking my example below I can very quickly pull from the Umbraco repository by typing the following into my chosen command prompt:</p>
<pre class="brush: plain; title: ; notranslate">hg pull umbraco</pre>
<h2>[extensions]</h2>
<p>This section defines any extensions you wish to use to add additional features to your mercurial experience. Some <a title="These extensions are maintained by the Mercurial project and are distributed together with Mercurial." href="http://mercurial.selenic.com/wiki/UsingExtensions#Extensions_bundled_with_Mercurial" target="_blank">Mercurial extensions</a> are available right out of the box. TO enable an extension that already comes with Mercurial you simply need to add the name of the extension followed by the = sign in order to load the extension with Mercurial it&#8217;s really that easy. If you want to load any other extensions you simply supply the path after the = sign.</p>
<p>Here is a quick overview of the extensions I currently have enabled&#8230;</p>
<h3>color</h3>
<p>This basically provides colouring of the output if you do a diff in your command window (which I don&#8217;t often as I find it far too hard to read and instead use the tortoisehg GUI. Read more about the <a title="This extension modifies the status command to add color to its output to reflect file status" href="http://mercurial.selenic.com/wiki/ColorExtension" target="_blank">Mercurial Color extension</a>.</p>
<h3>progress</h3>
<p>This is one of the first extensions I enabled to get some visual feedback on the progress of push/pull commands which otherwise would cause the process to look like it is doing nothing &#8211; again this is just visual fluff! Read more about the <a title="Uses the progress information logged by hg commands to draw progress bars that are as informative as possible" href="http://mercurial.selenic.com/wiki/ProgressExtension" target="_blank">Mercurial Progress extension</a>.</p>
<h3>convert</h3>
<p>This is one I used mostly in my early days of moving from SubVersion to Mercurial and allows you to convert repositories from other source control repositories to Mercurial. I still use this on occassion. Read more about the <a title="The convert extension converts repositories from other SCMs (or even Mercurial itself) into Mercurial repositories, with options for filtering and renaming" href="http://mercurial.selenic.com/wiki/ConvertExtension" target="_blank">Mercurial Convert extension</a>.</p>
<h3>fetch</h3>
<p>I don&#8217;t use this as often as I should but it&#8217;s basically a productivity enhancement and saves writing a couple of commands by combining pull, merge and update into a single command. Read more about the <a title="This extension is a convenience wrapper." href="http://mercurial.selenic.com/wiki/FetchExtension" target="_blank">Mercurial Fetch extension</a>.</p>
<h3>Other bundled extensions</h3>
<p>For a full list of bundled extensions you can <a title="These extensions are maintained by the Mercurial project and are distributed together with Mercurial." href="http://mercurial.selenic.com/wiki/UsingExtensions#Extensions_bundled_with_Mercurial" target="_blank">Extensions bundled with Mercurial</a> entry on the Mercurial wiki.</p>
<h2>[tortoisehg]</h2>
<h3>vdiff</h3>
<p>This is a configuration section added by the tortoisehg GUI and simply defines my preferred visual diff editor. I&#8217;m actually not sure why it is redefined instead of using the tool already defined in my [ui] section.</p>
<p>So that&#8217;s a wrap on this post however in a related note you may wish to read my other post &#8216;<a title="Console2 – My new and improved command prompt for Windows" href="http://www.prolificnotion.co.uk/console2-my-new-and-improved-command-prompt-for-windows/" target="_blank">Console2 – My new and improved command prompt for Windows</a>&#8216; which I use for entering all of my Mercurial commands.</p>
<p>Any feedback or requests for additions to this post would be useful and I will look to keep it up to date as I build up my configuration file further in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2012/04/13/customising-your-mercurial-ini-configuration-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Console2 &#8211; My new and improved command prompt for Windows</title>
		<link>http://prolificnotion.uk/2012/01/15/console2-my-new-and-improved-command-prompt-for-windows/</link>
		<comments>http://prolificnotion.uk/2012/01/15/console2-my-new-and-improved-command-prompt-for-windows/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 08:04:01 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Feature]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=708</guid>
		<description><![CDATA[I am a sucker for a good looking GUI so when an opportunity presents itself to try and improve my workspace to make it more easy on the eye I will generally take it up. Recently I read a post by Scott Hanselman &#8216;Console2 &#8211; A Better Windows Command Prompt&#8216; and I immediately got myself over to [...]]]></description>
				<content:encoded><![CDATA[<p>I am a sucker for a good looking GUI so when an opportunity presents itself to try and improve my workspace to make it more easy on the eye I will generally take it up. Recently I read a post by Scott Hanselman &#8216;<a title="Console2 - A Better Windows Command Prompt" href="http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx" target="_blank">Console2 &#8211; A Better Windows Command Prompt</a>&#8216; and I immediately got myself over to SourceForge to <a title="Console is a Windows console window enhancement" href="http://sourceforge.net/projects/console/" target="_blank">download a copy of Console2</a> for myself. The project describes itself as &#8220;<em>a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles</em>&#8220;.</p>
<p>I&#8217;m not going to cover how to configure your instance of the Console because Scott&#8217;s post already does a very good job of this, however, what I do want to share with you is my own configuration and how I have made it a bit more useful for me.</p>
<p>First of all I have installed Console2 into my Dropbox Tools folder so I essentially have access to it wherever I need it and with the configuration I am now used to. This is easy enough to do since Console2 has no installer you just extract the files to a location of your choice so no further detail needed here. My <a href="http://www.prolificnotion.co.uk/wp-content/uploads/2012/01/console.xml">Console 2 Settings File</a> is attached to this post for anyone that is interested or wants to use it as a basis for configuring your own.</p>
<p>The next thing I did was create a new right-click menu option in Windows to &#8220;Open Console here&#8221; which basically allows me to open a prompt at any folder location in my file system and saves a bit of time since you no longer have to navigate your folder hierarchy to get the prompt to where you want. To do this you need to create a couple of entries in your registry, simply copy and paste the below into a text file, tweak accordingly and save as a .reg file. Once saved you can double click the .reg file to insert the keys into your registry. Alternatively you can just create the keys manually through regedit. It goes without saying that if you are going to fiddle with your registry please be wise and make a backup first!</p>
<pre class="brush: plain; title: ; notranslate">Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTDirectoryshellOpenConsole2Here]
@=&quot;&amp;Open Console 2 Here...&quot;

[HKEY_CLASSES_ROOTDirectoryshellOpenConsole2Herecommand]
@=&quot;D:\Dropbox\Tools\Console2\Console.exe -d &quot;%L&quot;&quot;</pre>
<p>It should be noted that these keys relate to my Windows 7 Professional installation and are untested on other versions of Windows!</p>
<p>Credit to <a href="http://www.hanselman.com/blog/AwesomeVisualStudioCommandPromptAndPowerShellIconsWithOverlays.aspx" target="_blank">Scott Hanselman</a> for the icons and the image used in this post <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2012/01/15/console2-my-new-and-improved-command-prompt-for-windows/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>DataType Support in uSiteBuilder for Umbraco</title>
		<link>http://prolificnotion.uk/2011/12/22/datatype-support-in-usitebuilder-for-umbraco/</link>
		<comments>http://prolificnotion.uk/2011/12/22/datatype-support-in-usitebuilder-for-umbraco/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 15:41:16 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=695</guid>
		<description><![CDATA[Adding DataType Support in uSiteBuilder for Umbraco. My initial contribution to the project and how to add my custom build to your own projects.]]></description>
				<content:encoded><![CDATA[<p>When I first discovered <a title="uSiteBuilder for Umbraco" href="http://our.umbraco.org/projects/developer-tools/usitebuilder" target="_blank"><strong>uSiteBuilder</strong> for <strong>Umbraco</strong></a> I knew right away that it was a game changer in the world of <strong><a title="Umbraco - The open source ASP.NET CMS " href="http://umbraco.com/" target="_blank">Umbraco</a></strong> development (for me at least!). I always felt a little uncomfortable about having to leave the relative safety of my IDE (Visual Studio 2010) and source control (Mercurial) to work in the browser when creating document types, wiring up templates and datatypes. uSiteBuilder is great because it allows you to take a code-first approach to your development allowing you to develop all of your document types, document type properties and templates with strongly typed code and take advantage of the benefits of any source/version control system you work within.</p>
<p>I guess I have been working with <strong>uSiteBuilder</strong> since earlier this year, shortly after it was released and it is the first dependency I now add to any new <strong><a title="Umbraco - The open source ASP.NET CMS " href="http://umbraco.com/" target="_blank">Umbraco</a> </strong>project. The only show stopper I&#8217;ve encountered rears it&#8217;s ugly head when working on a project with multiple developers and occurs when <strong>uSiteBuilder</strong> runs its synchronisation process and then throws an exception when it encounters a datatype on one of your document types that doesn&#8217;t exist in the target environment. The only real way around this is to <a href="http://our.umbraco.org/projects/developer-tools/usitebuilder/usitebuilder-support/26058-Multi-Developer-problem#comment96970" target="_blank">comment out</a> the offending document type property as recommended by <a title="Barry Fogarty - Umbraco Profile" href="http://our.umbraco.org/member/9909" target="_blank">Barry Fogarty</a>, rebuild and deploy your solution, create the missing datatype and then uncomment, rebuild and deploy again which is a pain and slows down development.</p>
<p>Those kind people over at <a title="Vega IT Sourcing is a software development outsourcing company from Novi Sad, Serbia" href="http://www.vegaitsourcing.rs/" target="_blank">Vega IT Sourcing</a> have released the <a title="uSiteBuilder is a framework made for .NET developers to simplify, speedup and take Umbraco development to next level" href="http://usitebuilder.codeplex.com/" target="_blank">source code for uSiteBuilder</a> which is great for people like me who like to have a go at plugging the gaps myself. So I pulled down the source code and made a custom build in an attempt to support at least the default datatypes for <strong>Umbraco</strong>. I have tried to follow the same logic as the rest of the project so you don&#8217;t really need to think too much about it and can quickly familiarise yourself with  the process for creating your datatypes in code. Here is an example of a custom datatype based on the TinyMCE Richtexteditor datatype in Umbraco:</p>
<pre class="brush: csharp; title: ; notranslate">
// --------------------------------------------------------------------------------------------------------------------
// &lt;copyright file=&quot;StandardContentEditor.cs&quot; company=&quot;Prolific Notion&quot;&gt;
//   (c) Copyright 2011 Prolific Notion, http://prolificnotion.co.uk
// &lt;/copyright&gt;
// &lt;summary&gt;
//   Defines the StandardContentEditor type.
// &lt;/summary&gt;
// --------------------------------------------------------------------------------------------------------------------

namespace MyUmbracoProject.Web.DataTypes
{
    using umbraco.cms.businesslogic.datatype;

    using Vega.USiteBuilder;

    /// &lt;summary&gt;
    /// Defines the Standard Content Editor Datatype
    /// &lt;/summary&gt;
    [DataType(
        UniqueId = &quot;{8AB81EFB-35F5-4EF0-9300-04A3AC8A2D21}&quot;,
        Name = &quot;Standard Content Editor&quot;,
        DatabaseDataType = DBTypes.Ntext,
        RenderControlGuid = &quot;5e9b75ae-face-41c8-b47e-5f4b0fd82f83&quot;)]
    public class StandardContentEditor : DataTypeBase
    {
    }
}
}</pre>
<p>Most of the attributes used here should be self explanatory however&#8230;</p>
<ol>
<li>UniqueId &#8211; A <em>unique</em> Guid for your datatype</li>
<li>Name &#8211; The name of your datatype. This is displayed in the Umbraco UI.</li>
<li>DatabaseDataType &#8211; This maps to the umbraco.cms.businesslogic.datatype.DBTypes Enum and defines the type of field to store data in the database.</li>
<li>RenderControlGuid &#8211; Defines the Guid of the control you would like to render for this datatype. In the example above &#8216;5e9b75ae-face-41c8-b47e-5f4b0fd82f83&#8217; is the Guid for the TinyMCE control.</li>
</ol>
<p>There is one other attribute not in the example above called &#8216;<em>RenderControlName</em>&#8216; which I am in two minds whether to keep or not. Essentially its purpose would be to try and find the control by name and therefore grab it&#8217;s Guid if the Guid attribute was not provided, any thoughts or comments on this appreciated however I think it may be subject to clashes or getting the wrong control because names do not have to be unique.</p>
<p>The only other thing you need to remember is to inherit from DataTypeBase.</p>
<p>I am very happy to have been accepted as a contributor on the uSiteBuilder project this week and hope that I can contribute some of my work into the next release. For now, if you are interested in trying out the build for my initial proof of concept you can <a href="http://usitebuilder.codeplex.com/SourceControl/list/changesets" target="_blank">grab it on CodePlex</a>, changset 84163. I welcome any feedback and comments.</p>
<h2>Where do we go from here?</h2>
<p>At this stage it&#8217;s really just a means of overcoming the exceptions I was previously encountering however I would ideally like to extend this to allow you to also configure your datatype settings in code so watch this space&#8230;!</p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2011/12/22/datatype-support-in-usitebuilder-for-umbraco/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>UCommerce for Umbraco Extension Method &#8211; ISO 3166 Numeric Country Codes</title>
		<link>http://prolificnotion.uk/2011/09/28/ucommerce-for-umbraco-extension-method-iso-3166-numeric-country-codes/</link>
		<comments>http://prolificnotion.uk/2011/09/28/ucommerce-for-umbraco-extension-method-iso-3166-numeric-country-codes/#respond</comments>
		<pubDate>Wed, 28 Sep 2011 09:54:59 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[UCommerce]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=680</guid>
		<description><![CDATA[Once again my recent work has brought me back around to messing around with Globalisation issues again. This time it is with regards to writing a customer payment provider for UCommerce implementing the HSBC XML API. Certain fraud rules were being flagged on all transactions during testing due to an incorrect or missing country code, [...]]]></description>
				<content:encoded><![CDATA[<p>Once again my recent work has brought me back around to messing around with Globalisation issues again. This time it is with regards to writing a customer payment provider for UCommerce implementing the HSBC XML API. Certain fraud rules were being flagged on all transactions during testing due to an incorrect or missing country code, checking the documentation again it reads &#8220;The 3 digit ISO country code for the customer’s country&#8221;, this is in fact not the alpha but numeric country representation as defined by <a title="ISO 3166 Maintenance agency  (ISO 3166/MA) ISO's focal point for country codes" href="http://www.iso.org/iso/country_codes.htm" target="_blank">ISO 3166 Country Codes</a>. Unfortunately this cannot be obtained through the .Net Framework alone as I have done with similar issues previously so I needed to write an extension method as advised by <a href="http://our.umbraco.org/member/4948" target="_blank">Søren Spelling Lund</a> in this <a title="ISO 3166-1 numeric codes forum post on our.umbraco" href="http://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/24358-ISO-3166-1-numeric-codes#comment90548" target="_blank">forum post</a>.</p>
<p>In case this is of use to anyone else I am posting up my extension method as this will also have uses outside of <a title="E-commerce platform available for Umbraco" href="http://www.ucommerce.dk/" target="_blank">UCommerce</a> for <a title="The open source ASP.NET CMS " href="http://umbraco.com/" target="_blank">Umbraco</a>.</p>
<pre class="brush: csharp; title: ; notranslate">        /// &lt;summary&gt;
        /// Gets the ISO3166 Numeric Country Code
        /// &lt;/summary&gt;
        /// &lt;param name=&quot;country&quot;&gt;The country.&lt;/param&gt;
        /// &lt;returns&gt;The ISO3166 NUmeric Country Code&lt;/returns&gt;
        public static int GetIsoNumericCode(this EntitiesV2.Country country)
        {
            var countryCodesInEu = new Dictionary&lt;string, int&gt;
                                       {
                                           { &quot;AND&quot;, 20 },
                                           { &quot;ARE&quot;, 784 },
                                           { &quot;AFG&quot;, 4 },
                                           { &quot;ATG&quot;, 28 },
                                           { &quot;AIA&quot;, 660 },
                                           { &quot;ALB&quot;, 8 },
                                           { &quot;ARM&quot;, 51 },
                                           { &quot;ANT&quot;, 530 },
                                           { &quot;AGO&quot;, 24 },
                                           { &quot;ATA&quot;, 10 },
                                           { &quot;ARG&quot;, 32 },
                                           { &quot;ASM&quot;, 16 },
                                           { &quot;AUT&quot;, 40 },
                                           { &quot;AUS&quot;, 36 },
                                           { &quot;ABW&quot;, 533 },
                                           { &quot;ALA&quot;, 248 },
                                           { &quot;AZE&quot;, 31 },
                                           { &quot;BIH&quot;, 70 },
                                           { &quot;BRB&quot;, 52 },
                                           { &quot;BGD&quot;, 50 },
                                           { &quot;BEL&quot;, 56 },
                                           { &quot;BFA&quot;, 854 },
                                           { &quot;BGR&quot;, 100 },
                                           { &quot;BHR&quot;, 48 },
                                           { &quot;BDI&quot;, 108 },
                                           { &quot;BEN&quot;, 204 },
                                           { &quot;BMU&quot;, 60 },
                                           { &quot;BRN&quot;, 96 },
                                           { &quot;BOL&quot;, 68 },
                                           { &quot;BRA&quot;, 76 },
                                           { &quot;BHS&quot;, 44 },
                                           { &quot;BTN&quot;, 64 },
                                           { &quot;BVT&quot;, 74 },
                                           { &quot;BWA&quot;, 72 },
                                           { &quot;BLR&quot;, 112 },
                                           { &quot;BLZ&quot;, 84 },
                                           { &quot;CAN&quot;, 124 },
                                           { &quot;CCK&quot;, 166 },
                                           { &quot;COD&quot;, 180 },
                                           { &quot;CAF&quot;, 140 },
                                           { &quot;COG&quot;, 178 },
                                           { &quot;CHE&quot;, 756 },
                                           { &quot;CIV&quot;, 384 },
                                           { &quot;COK&quot;, 184 },
                                           { &quot;CHL&quot;, 152 },
                                           { &quot;CMR&quot;, 120 },
                                           { &quot;CHN&quot;, 156 },
                                           { &quot;COL&quot;, 170 },
                                           { &quot;CRI&quot;, 188 },
                                           { &quot;SCG&quot;, 891 },
                                           { &quot;CUB&quot;, 192 },
                                           { &quot;CPV&quot;, 132 },
                                           { &quot;CXR&quot;, 162 },
                                           { &quot;CYP&quot;, 196 },
                                           { &quot;CZE&quot;, 203 },
                                           { &quot;DEU&quot;, 276 },
                                           { &quot;DJI&quot;, 262 },
                                           { &quot;DNK&quot;, 208 },
                                           { &quot;DMA&quot;, 212 },
                                           { &quot;DOM&quot;, 214 },
                                           { &quot;DZA&quot;, 12 },
                                           { &quot;ECU&quot;, 218 },
                                           { &quot;EST&quot;, 233 },
                                           { &quot;EGY&quot;, 818 },
                                           { &quot;ESH&quot;, 732 },
                                           { &quot;ERI&quot;, 232 },
                                           { &quot;ESP&quot;, 724 },
                                           { &quot;ETH&quot;, 231 },
                                           { &quot;FIN&quot;, 246 },
                                           { &quot;FJI&quot;, 242 },
                                           { &quot;FLK&quot;, 238 },
                                           { &quot;FSM&quot;, 583 },
                                           { &quot;FRO&quot;, 234 },
                                           { &quot;FRA&quot;, 250 },
                                           { &quot;GAB&quot;, 266 },
                                           { &quot;GBR&quot;, 826 },
                                           { &quot;GRD&quot;, 308 },
                                           { &quot;GEO&quot;, 268 },
                                           { &quot;GUF&quot;, 254 },
                                           { &quot;GHA&quot;, 288 },
                                           { &quot;GIB&quot;, 292 },
                                           { &quot;GRL&quot;, 304 },
                                           { &quot;GMB&quot;, 270 },
                                           { &quot;GIN&quot;, 324 },
                                           { &quot;GLP&quot;, 312 },
                                           { &quot;GNQ&quot;, 226 },
                                           { &quot;GRC&quot;, 300 },
                                           { &quot;SGS&quot;, 239 },
                                           { &quot;GTM&quot;, 320 },
                                           { &quot;GUM&quot;, 316 },
                                           { &quot;GNB&quot;, 624 },
                                           { &quot;GUY&quot;, 328 },
                                           { &quot;HKG&quot;, 344 },
                                           { &quot;HMD&quot;, 334 },
                                           { &quot;HND&quot;, 340 },
                                           { &quot;HRV&quot;, 191 },
                                           { &quot;HTI&quot;, 332 },
                                           { &quot;HUN&quot;, 348 },
                                           { &quot;IDN&quot;, 360 },
                                           { &quot;IRL&quot;, 372 },
                                           { &quot;ISR&quot;, 376 },
                                           { &quot;IND&quot;, 356 },
                                           { &quot;IOT&quot;, 86 },
                                           { &quot;IRQ&quot;, 368 },
                                           { &quot;IRN&quot;, 364 },
                                           { &quot;ISL&quot;, 352 },
                                           { &quot;ITA&quot;, 380 },
                                           { &quot;JAM&quot;, 388 },
                                           { &quot;JOR&quot;, 400 },
                                           { &quot;JPN&quot;, 392 },
                                           { &quot;KEN&quot;, 404 },
                                           { &quot;KGZ&quot;, 417 },
                                           { &quot;KHM&quot;, 116 },
                                           { &quot;KIR&quot;, 296 },
                                           { &quot;COM&quot;, 174 },
                                           { &quot;KNA&quot;, 659 },
                                           { &quot;PRK&quot;, 408 },
                                           { &quot;KOR&quot;, 410 },
                                           { &quot;KWT&quot;, 414 },
                                           { &quot;CYM&quot;, 136 },
                                           { &quot;KAZ&quot;, 398 },
                                           { &quot;LAO&quot;, 418 },
                                           { &quot;LBN&quot;, 422 },
                                           { &quot;LCA&quot;, 662 },
                                           { &quot;LIE&quot;, 438 },
                                           { &quot;LKA&quot;, 144 },
                                           { &quot;LBR&quot;, 430 },
                                           { &quot;LSO&quot;, 426 },
                                           { &quot;LTU&quot;, 440 },
                                           { &quot;LUX&quot;, 442 },
                                           { &quot;LVA&quot;, 428 },
                                           { &quot;LBY&quot;, 434 },
                                           { &quot;MAR&quot;, 504 },
                                           { &quot;MCO&quot;, 492 },
                                           { &quot;MDA&quot;, 498 },
                                           { &quot;MDG&quot;, 450 },
                                           { &quot;MHL&quot;, 584 },
                                           { &quot;MKD&quot;, 807 },
                                           { &quot;MLI&quot;, 466 },
                                           { &quot;MMR&quot;, 104 },
                                           { &quot;MNG&quot;, 496 },
                                           { &quot;MAC&quot;, 446 },
                                           { &quot;MNP&quot;, 580 },
                                           { &quot;MTQ&quot;, 474 },
                                           { &quot;MRT&quot;, 478 },
                                           { &quot;MSR&quot;, 500 },
                                           { &quot;MLT&quot;, 470 },
                                           { &quot;MUS&quot;, 480 },
                                           { &quot;MDV&quot;, 462 },
                                           { &quot;MWI&quot;, 454 },
                                           { &quot;MEX&quot;, 484 },
                                           { &quot;MYS&quot;, 458 },
                                           { &quot;MOZ&quot;, 508 },
                                           { &quot;NAM&quot;, 516 },
                                           { &quot;NCL&quot;, 540 },
                                           { &quot;NER&quot;, 562 },
                                           { &quot;NFK&quot;, 574 },
                                           { &quot;NGA&quot;, 566 },
                                           { &quot;NIC&quot;, 558 },
                                           { &quot;NLD&quot;, 528 },
                                           { &quot;NOR&quot;, 578 },
                                           { &quot;NPL&quot;, 524 },
                                           { &quot;NRU&quot;, 520 },
                                           { &quot;NIU&quot;, 570 },
                                           { &quot;NZL&quot;, 554 },
                                           { &quot;OMN&quot;, 512 },
                                           { &quot;PAN&quot;, 591 },
                                           { &quot;PER&quot;, 604 },
                                           { &quot;PYF&quot;, 258 },
                                           { &quot;PNG&quot;, 598 },
                                           { &quot;PHL&quot;, 608 },
                                           { &quot;PAK&quot;, 586 },
                                           { &quot;POL&quot;, 616 },
                                           { &quot;SPM&quot;, 666 },
                                           { &quot;PCN&quot;, 612 },
                                           { &quot;PRI&quot;, 630 },
                                           { &quot;PSE&quot;, 275 },
                                           { &quot;PRT&quot;, 620 },
                                           { &quot;PLW&quot;, 585 },
                                           { &quot;PRY&quot;, 600 },
                                           { &quot;QAT&quot;, 634 },
                                           { &quot;REU&quot;, 638 },
                                           { &quot;ROU&quot;, 642 },
                                           { &quot;RUS&quot;, 643 },
                                           { &quot;RWA&quot;, 646 },
                                           { &quot;SAU&quot;, 682 },
                                           { &quot;SLB&quot;, 90 },
                                           { &quot;SYC&quot;, 690 },
                                           { &quot;SDN&quot;, 736 },
                                           { &quot;SWE&quot;, 752 },
                                           { &quot;SGP&quot;, 702 },
                                           { &quot;SHN&quot;, 654 },
                                           { &quot;SVN&quot;, 705 },
                                           { &quot;SJM&quot;, 744 },
                                           { &quot;SVK&quot;, 703 },
                                           { &quot;SLE&quot;, 694 },
                                           { &quot;SMR&quot;, 674 },
                                           { &quot;SEN&quot;, 686 },
                                           { &quot;SOM&quot;, 706 },
                                           { &quot;SUR&quot;, 740 },
                                           { &quot;STP&quot;, 678 },
                                           { &quot;SLV&quot;, 222 },
                                           { &quot;SYR&quot;, 760 },
                                           { &quot;SWZ&quot;, 748 },
                                           { &quot;TCA&quot;, 796 },
                                           { &quot;TCD&quot;, 148 },
                                           { &quot;ATF&quot;, 260 },
                                           { &quot;TGO&quot;, 768 },
                                           { &quot;THA&quot;, 764 },
                                           { &quot;TJK&quot;, 762 },
                                           { &quot;TKL&quot;, 772 },
                                           { &quot;TLS&quot;, 626 },
                                           { &quot;TKM&quot;, 795 },
                                           { &quot;TUN&quot;, 788 },
                                           { &quot;TON&quot;, 776 },
                                           { &quot;TUR&quot;, 792 },
                                           { &quot;TTO&quot;, 780 },
                                           { &quot;TUV&quot;, 798 },
                                           { &quot;TWN&quot;, 158 },
                                           { &quot;TZA&quot;, 834 },
                                           { &quot;UKR&quot;, 804 },
                                           { &quot;UGA&quot;, 800 },
                                           { &quot;UMI&quot;, 581 },
                                           { &quot;USA&quot;, 840 },
                                           { &quot;URY&quot;, 858 },
                                           { &quot;UZB&quot;, 860 },
                                           { &quot;VAT&quot;, 336 },
                                           { &quot;VCT&quot;, 670 },
                                           { &quot;VEN&quot;, 862 },
                                           { &quot;VGB&quot;, 92 },
                                           { &quot;VIR&quot;, 850 },
                                           { &quot;VNM&quot;, 704 },
                                           { &quot;VUT&quot;, 548 },
                                           { &quot;WLF&quot;, 876 },
                                           { &quot;WSM&quot;, 882 },
                                           { &quot;YEM&quot;, 887 },
                                           { &quot;MYT&quot;, 175 },
                                           { &quot;ZAF&quot;, 710 },
                                           { &quot;ZMB&quot;, 894 },
                                           { &quot;ZWE&quot;, 716 },
                                       };

            var regionInfo = new RegionInfo(country.Culture);

            if (countryCodesInEu.Keys.Contains(regionInfo.ThreeLetterISORegionName))
                return countryCodesInEu[country.Name];

            return -1;
        }</pre>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2011/09/28/ucommerce-for-umbraco-extension-method-iso-3166-numeric-country-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The create dialog for &#8220;Media&#8221; does not match anything defined in the &#8220;~/umbraco/config/create/UI.xml&#8221;.</title>
		<link>http://prolificnotion.uk/2011/08/22/the-create-dialog-for-media-does-not-match-anything-defined-in-the-umbracoconfigcreateui-xml/</link>
		<comments>http://prolificnotion.uk/2011/08/22/the-create-dialog-for-media-does-not-match-anything-defined-in-the-umbracoconfigcreateui-xml/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 19:51:59 +0000</pubDate>
		<dc:creator><![CDATA[sdingley]]></dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=667</guid>
		<description><![CDATA[How to fix the exception 'The create dialog for "Media" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file' when upgrading Umbraco sites from earlier versions to v4.7.0.]]></description>
				<content:encoded><![CDATA[<p>When upgrading sites from an earlier version of Umbraco prior to v4.7.0 you may encounter the following exception when trying to create new media items:</p>
<p><em>The create dialog for &#8220;Media&#8221; does not match anything defined in the &#8220;~/umbraco/config/create/UI.xml&#8221;. This could mean an incorrectly installed package or a corrupt UI file</em></p>
<p><em></em>There is an easy fix for this and sadly is due simply to the incorrect casing of the &#8216;Media&#8217; nodeType defined in the <em>UI.xml</em> configuration file. To fix simply open the <em>~/umbraco/config/create/UI.xml </em>file in your preferred text editor and locate the following line:</p>
<pre class="brush: xml; title: ; notranslate">&lt;nodeType alias=&quot;media&quot;&gt;</pre>
<p>Simply change the word media to have an uppercase &#8216;<em>m&#8217;</em> and save the file and your problems will go away!</p>
<pre class="brush: xml; title: ; notranslate">&lt;nodeType alias=&quot;Media&quot;&gt;</pre>
<p><em><strong>Update: As per the comment by Petr Snobelt, for future compatibility it is possibly best to change the case in the database rather than the UI.xml file</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://prolificnotion.uk/2011/08/22/the-create-dialog-for-media-does-not-match-anything-defined-in-the-umbracoconfigcreateui-xml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
