<?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 &#187; Umbraco</title>
	<atom:link href="http://www.prolificnotion.co.uk/tag/umbraco/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prolificnotion.co.uk</link>
	<description>Welcome to the miscellaneous mutterings of Simon Dingley, Freelance Web Developer</description>
	<lastBuildDate>Sat, 24 Jul 2010 14:23:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Remember to use ValidationGroup in Umbraco Dashboard User Controls</title>
		<link>http://www.prolificnotion.co.uk/remember-to-use-validationgroup-in-umbraco-dashboard-user-controls/</link>
		<comments>http://www.prolificnotion.co.uk/remember-to-use-validationgroup-in-umbraco-dashboard-user-controls/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 09:25:55 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=244</guid>
		<description><![CDATA[Based on a recent experience and a lot of wasted time, this post details why you really should set the validation group on validation controls that you add to your custom Umbraco user controls.


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/umbraco-datepicker-unknown-server-tag/' rel='bookmark' title='Permanent Link: Umbraco DatePicker &#8211; Unknown server tag'>Umbraco DatePicker &#8211; Unknown server tag</a> <small>I have recently needed to use the Umbraco datePicker control...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/' rel='bookmark' title='Permanent Link: Umbraco : No node exists with id &#8217;1040&#8242;'>Umbraco : No node exists with id &#8217;1040&#8242;</a> <small>When Umbraco 4 was first released I had issues with...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/' rel='bookmark' title='Permanent Link: Umbraco : Locate nearest node with specific property'>Umbraco : Locate nearest node with specific property</a> <small>In an ongoing project I am working on I needed...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fremember-to-use-validationgroup-in-umbraco-dashboard-user-controls%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fremember-to-use-validationgroup-in-umbraco-dashboard-user-controls%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>This post is more of a note to myself but may save someone else a lot of wasted time trying to track down why they can no longer save selected nodes in <a title="Umbraco - The Friendly CMS" href="http://umbraco.org">Umbraco</a>. In a recent project I created a number of custom user controls for the Umbraco Dashboard, these user controls contained validations controls but I had overlooked adding theÂ <em>validationgroup</em> property on the validation controls so when attempts were made to save or publish a node containing one of these user controls that didn&#8217;t validate, the changes would not save as the page could not be posted back to the server. The problem is not always immediately obvious if the user control that is not valid is on a different tab to the one you are on when attempting to save or publish.</p>
<p>I guess an alternative or complimentary method would be to display a Javascript alert notifying the user that there are still controls that don&#8217;t validate.</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/umbraco-datepicker-unknown-server-tag/' rel='bookmark' title='Permanent Link: Umbraco DatePicker &#8211; Unknown server tag'>Umbraco DatePicker &#8211; Unknown server tag</a> <small>I have recently needed to use the Umbraco datePicker control...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/' rel='bookmark' title='Permanent Link: Umbraco : No node exists with id &#8217;1040&#8242;'>Umbraco : No node exists with id &#8217;1040&#8242;</a> <small>When Umbraco 4 was first released I had issues with...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/' rel='bookmark' title='Permanent Link: Umbraco : Locate nearest node with specific property'>Umbraco : Locate nearest node with specific property</a> <small>In an ongoing project I am working on I needed...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/remember-to-use-validationgroup-in-umbraco-dashboard-user-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert HTML to Plain Text in C# using Markdown</title>
		<link>http://www.prolificnotion.co.uk/convert-html-to-plain-text-in-c-using-markdown/</link>
		<comments>http://www.prolificnotion.co.uk/convert-html-to-plain-text-in-c-using-markdown/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:41:12 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=262</guid>
		<description><![CDATA[Creating a plain-text version of HTML that is suitable to be sent out as the text part of a multi-part email. Using C# and XSLT I have developed a working solution to the problem with help from a third party markdown XSLT file.


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-world-currencies/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with world currencies'>C# Utility method to populate list controls with world currencies</a> <small>A requirement that came up recently required a drop down...</small></li>
<li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-all-countries-as-given-in-iso-3166-1/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with all countries as given in ISO 3166-1'>C# Utility method to populate list controls with all countries as given in ISO 3166-1</a> <small>Most projects I work on need a list of countries...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fconvert-html-to-plain-text-in-c-using-markdown%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fconvert-html-to-plain-text-in-c-using-markdown%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>While working on my customisations to <a style="outline-style: none; outline-width: initial; outline-color: initial; color: #33707e; text-decoration: underline; padding: 0px; margin: 0px; border: 0px initial initial;" href="http://www.nibble.be/">Tim Geyssens</a> <a style="outline-style: none; outline-width: initial; outline-color: initial; color: #33707e; text-decoration: underline; padding: 0px; margin: 0px; border: 0px initial initial;" href="http://www.nibble.be/?p=63">MailEngine</a> I was looking for an accurate method ofÂ automaticallyÂ creating a plain-text version of the HTML emails that were being sent out by the site. Further reading brought my attention to something called <a title="Read more about Markdown here" href="http://en.wikipedia.org/wiki/Markdown">Markdown</a>. After some hunting around with a little help from my friend Google I managed to find a markdown XSLT file. Using the XSLT I could transform my HTML email to plain-text with relative ease and accuracy. Of course in order to do this I would need a valid XML document and as my pages were already valid XHTML I had no problems there.</p>
<p>Here is my method for doing the conversion, all it requires is that you pass it the HTML you want to convert which must be valid XML:</p>
<pre class="brush: csharp;">/// &lt;summary&gt;
/// Converts to HTML to plain-text.
/// &lt;/summary&gt;
/// &lt;param name=&quot;HTML&quot;&gt;The HTML.&lt;/param&gt;
/// &lt;returns&gt;The plain text representation of the HTML&lt;/returns&gt;
private static string ConvertToText(string HTML)
{
    string text = string.Empty;

    XmlDocument xmlDoc = new XmlDocument();
    XmlDocument xsl = new XmlDocument();
    xmlDoc.LoadXml(HTML);
    xsl.CreateEntityReference(&quot;nbsp&quot;);
    xsl.Load(System.Web.HttpContext.Current.Server.MapPath(&quot;/xslt/Markdown.xslt&quot;));

    //creating xslt
    XslTransform xslt = new XslTransform();
    xslt.Load(xsl, null, null);

    //creating stringwriter
    StringWriter writer = new System.IO.StringWriter();

    //Transform the xml.
    xslt.Transform(xmlDoc, null, writer, null);

    //return string
    text = writer.ToString();
    writer.Close();

    return text;
}</pre>
<p>Download the XSLT file I used from here:</p>
<p><a href="http://symphony-cms.com/downloads/xslt/file/20573/">http://symphony-cms.com/downloads/xslt/file/20573/</a></p>
<p>I would love to hear from anyone that does this differently or if you can find any problems with the method I have chosen to implement for this solution.</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-world-currencies/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with world currencies'>C# Utility method to populate list controls with world currencies</a> <small>A requirement that came up recently required a drop down...</small></li>
<li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-all-countries-as-given-in-iso-3166-1/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with all countries as given in ISO 3166-1'>C# Utility method to populate list controls with all countries as given in ISO 3166-1</a> <small>Most projects I work on need a list of countries...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/convert-html-to-plain-text-in-c-using-markdown/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>SmtpClient does not gracefully close the underlying TCP/IP connection</title>
		<link>http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/</link>
		<comments>http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 10:43:17 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=246</guid>
		<description><![CDATA[Some months back Tim Geyssens was kind enough to send me the source for his MailEngine addition to Umbraco before he released it on his blog. I made some customisations to the source to allow users to select templates and changed the filtering options slightly but other than that it worked jut fine for what [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fsmtpclient-does-not-gracefully-close-the-underlying-tcpip-connection%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fsmtpclient-does-not-gracefully-close-the-underlying-tcpip-connection%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>Some months back <a href="http://www.nibble.be/">Tim Geyssens</a> was kind enough to send me the source for his <a href="http://www.nibble.be/?p=63">MailEngine</a> addition to Umbraco before he released it on his blog. I made some customisations to the source to allow users to select templates and changed the filtering options slightly but other than that it worked jut fine for what I needed.</p>
<p>There was however one problem that became apparent when this was used in production. Sometimes, and apparently randomly the sending of mail would freeze when going to more than say 150 recipients. After a long time trying to track down the reason I stumbled across a post linking to the &#8216;<a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=146711&amp;wa=wsignin1.0">SmtpClient does not gracefully close the underlying TCP/IP connection</a>&#8216;Â issue on the Microsoft Connect website. I guessed it couldn&#8217;t do any harm to set the MaxTimeout property of the SmtpClient to 1 so I tried it and it seemed to work &#8211; so far so good however you should note the recent comment from someone with regards to using this method on IIS7.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shortcut to Implement Abstract Class or Interface in Visual Studio</title>
		<link>http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/</link>
		<comments>http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 10:33:55 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=231</guid>
		<description><![CDATA[ A great time saving shortcut in Visual Studio to implement an Abstract Class or Interface in Visual Studio. Using the shortcut will populate all of the abstract class method signatures for you.


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/' rel='bookmark' title='Permanent Link: Converting a Visual Studio Class Library Project to a Web Application Project'>Converting a Visual Studio Class Library Project to a Web Application Project</a> <small>I started working on a new Umbraco package a while...</small></li>
<li><a href='http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Recreate .designer files in Visual Studio 2008'>Recreate .designer files in Visual Studio 2008</a> <small>For some reason or another I ended up with a...</small></li>
<li><a href='http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fshortcut-to-implement-abstract-class-or-interface-in-visual-studio%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fshortcut-to-implement-abstract-class-or-interface-in-visual-studio%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>For me every day is a school day and every day I learn something new. Today the light shined brightly for me when I discovered a great time saving shortcut in Visual Studio to implement an Abstract Class or Interface in Visual Studio. Using theÂ shortcutÂ will populate all of the abstract class method signatures for you.</p>
<p><strong>CTRL + &gt;</strong> or you can use Â <strong>SHIFT + ALT + F10</strong></p>
<p>Here is an example of a new custom Application tree I was implementing for the <a title="Umbraco : The Friendly CMS" href="http://umbraco.org">Umbraco CMS</a>:</p>
<p>namespace ProlificNotion.Umbraco</p>
<p>{</p>
<p>public class MyNewTree : umbraco.cms.presentation.Trees.BaseTree<br />
{</p>
<p>}<br />
}</p>
<p>With your cursor at the end of the class signature you can then press <strong>CTRL + &gt;</strong> or <strong>SHIFT + ALT + F10</strong> and you will get a smart tag offering to implement the abstract class or interface, hit enter and the result is as follows:</p>
<p>namespace ProlificNotion.Umbraco<br />
{<br />
public class MyNewTree : umbraco.cms.presentation.Trees.BaseTree<br />
{</p>
<p>protected override void CreateRootNode(ref umbraco.cms.presentation.Trees.XmlTreeNode rootNode)<br />
{<br />
throw new System.NotImplementedException();<br />
}</p>
<p>public override void Render(ref umbraco.cms.presentation.Trees.XmlTree tree)<br />
{<br />
throw new System.NotImplementedException();<br />
}</p>
<p>public override void RenderJS(ref System.Text.StringBuilder Javascript)<br />
{<br />
throw new System.NotImplementedException();<br />
}<br />
}<br />
}</p>
<p>A simple example of something that can be a hugeÂ time saverÂ particularly when the inherited class or interface has a large number of methods to implement!</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/converting-a-visual-studio-class-library-project-to-a-web-application-project/' rel='bookmark' title='Permanent Link: Converting a Visual Studio Class Library Project to a Web Application Project'>Converting a Visual Studio Class Library Project to a Web Application Project</a> <small>I started working on a new Umbraco package a while...</small></li>
<li><a href='http://www.prolificnotion.co.uk/recreate-designer-files-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Recreate .designer files in Visual Studio 2008'>Recreate .designer files in Visual Studio 2008</a> <small>For some reason or another I ended up with a...</small></li>
<li><a href='http://www.prolificnotion.co.uk/changing-the-default-browser-for-debugging-in-visual-studio-2008/' rel='bookmark' title='Permanent Link: Changing the default browser for debugging in Visual Studio 2008'>Changing the default browser for debugging in Visual Studio 2008</a> <small>After installing a new browser you may find that Visual...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/shortcut-to-implement-abstract-class-or-interface-in-visual-studio/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ERROR CREATING CONTROL FOR NODETYPE: Media</title>
		<link>http://www.prolificnotion.co.uk/error-creating-control-for-nodetype-media/</link>
		<comments>http://www.prolificnotion.co.uk/error-creating-control-for-nodetype-media/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 09:38:42 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://www.prolificnotion.co.uk/?p=197</guid>
		<description><![CDATA[I have just finished another upgrade from umbraco 3.06 to v4.0.2.1 and hit a snag whereby whenever a user attempted to add a new media item after the upgrade they were presented with the exception: "ERROR CREATING CONTROL FOR NODETYPE: Media"


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/asp-vbscript-request-object-error-asp-0104-80004005-operation-not-allowed/' rel='bookmark' title='Permanent Link: ASP VBScript &#8211; Request object error &#8216;ASP 0104 : 80004005&#8242; &#8211; Operation not Allowed'>ASP VBScript &#8211; Request object error &#8216;ASP 0104 : 80004005&#8242; &#8211; Operation not Allowed</a> <small>You may receive a 403 error when you use an...</small></li>
<li><a href='http://www.prolificnotion.co.uk/media-sorter-for-umbraco/' rel='bookmark' title='Permanent Link: Media Sorter for Umbraco'>Media Sorter for Umbraco</a> <small>The package essentially adds a new context menu item to...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-v4-upgrade-problem-with-plesk-hosting/' rel='bookmark' title='Permanent Link: Umbraco v4 Upgrade Problem with Plesk Hosting'>Umbraco v4 Upgrade Problem with Plesk Hosting</a> <small>A project I am working on currently is hosted on...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Ferror-creating-control-for-nodetype-media%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Ferror-creating-control-for-nodetype-media%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>I have just finished another upgrade from umbraco 3.06 to v4.0.2.1 and hit a snag whereby whenever a user attempted to add a new media item after the upgrade they were presented with the following exception:</p>
<p><span> </span></p>
<h2><em>ERROR CREATING CONTROL FOR NODETYPE: Media</em></h2>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><strong>Description: </strong>An unhandled exception occurred during the execution of the current web  request. Please review the stack trace for more information about the error and  where it originated in the code.</span></p>
<p><strong>Exception Details: </strong>System.ArgumentException: ERROR CREATING CONTROL FOR NODETYPE:  Media</p>
<p><strong>Source Error:</strong></p>
<table border="0" width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td><code>An unhandled exception was generated during the execution of the  current web request. Information regarding the origin and location of the  exception can be identified using the exception stack trace below.</code></td>
</tr>
</tbody>
</table>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><br />
<strong>Stack Trace:</strong></span></p>
<table border="0" width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td><code></p>
<pre>[ArgumentException: ERROR CREATING CONTROL FOR NODETYPE: Media]
   umbraco.cms.presentation.Create.Page_Load(Object sender, EventArgs e) +415
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   umbraco.BasePages.BasePage.OnLoad(EventArgs e) +12
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436</pre>
<p></code></td>
</tr>
</tbody>
</table>
<p>After a bit of digging I discovered the following <a title="Media: Error creating control for nodetype" href="http://www.codeplex.com/umbraco/WorkItem/View.aspx?WorkItemId=20341">Work Item on CodePlex</a> and the following comment from <a title="View the CodePlex profile for jvisch" href="http://www.codeplex.com/site/users/view/jvisch">jvisch</a> which provided me with the solution:</p>
<ol>
<li>Open the UI.xml file located in <strong>/umbraco/config/create</strong></li>
<li>Search for the node  with the alias &#8216;<strong>media</strong>&#8216;</li>
<li>Change the alias to &#8216;Media&#8217; with a capital <strong>M</strong></li>
<li><strong><span style="font-weight: normal;">Save the file</span></strong></li>
<li><strong><span style="font-weight: normal;">Restart the website by making a slight change to the web.config file and saving it</span></strong></li>
</ol>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/asp-vbscript-request-object-error-asp-0104-80004005-operation-not-allowed/' rel='bookmark' title='Permanent Link: ASP VBScript &#8211; Request object error &#8216;ASP 0104 : 80004005&#8242; &#8211; Operation not Allowed'>ASP VBScript &#8211; Request object error &#8216;ASP 0104 : 80004005&#8242; &#8211; Operation not Allowed</a> <small>You may receive a 403 error when you use an...</small></li>
<li><a href='http://www.prolificnotion.co.uk/media-sorter-for-umbraco/' rel='bookmark' title='Permanent Link: Media Sorter for Umbraco'>Media Sorter for Umbraco</a> <small>The package essentially adds a new context menu item to...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-v4-upgrade-problem-with-plesk-hosting/' rel='bookmark' title='Permanent Link: Umbraco v4 Upgrade Problem with Plesk Hosting'>Umbraco v4 Upgrade Problem with Plesk Hosting</a> <small>A project I am working on currently is hosted on...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/error-creating-control-for-nodetype-media/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Update Application Tree Package Action for Umbraco</title>
		<link>http://www.prolificnotion.co.uk/update-application-tree-package-action-for-umbraco/</link>
		<comments>http://www.prolificnotion.co.uk/update-application-tree-package-action-for-umbraco/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 21:02:05 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=156</guid>
		<description><![CDATA[I have recently been working on another package for the Umbraco CMS. During the course of packaging the extension I hit a problem with the existing package actions that were available via the core and the PackageActionContrib project.


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/media-sorter-for-umbraco/' rel='bookmark' title='Permanent Link: Media Sorter for Umbraco'>Media Sorter for Umbraco</a> <small>The package essentially adds a new context menu item to...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-v4-upgrade-problem-with-plesk-hosting/' rel='bookmark' title='Permanent Link: Umbraco v4 Upgrade Problem with Plesk Hosting'>Umbraco v4 Upgrade Problem with Plesk Hosting</a> <small>A project I am working on currently is hosted on...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-package-notifications-list/' rel='bookmark' title='Permanent Link: Umbraco Package Notifications List'>Umbraco Package Notifications List</a> <small>Please use the form below to subscribe to email updates...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fupdate-application-tree-package-action-for-umbraco%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fupdate-application-tree-package-action-for-umbraco%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>I have recently been working on another package for the <a title="Find out more about the Umbraco CMS" href="http://umbraco.org/" target="_blank">Umbraco CMS</a>. During the course of packaging the extension <a title="View the forum post about the problem I encountered" href="http://our.umbraco.org/forum/developers/extending-umbraco/3530-Package-Action-ExecuteSql-on-Uninstall-not-working" target="_blank">I hit a problem with the existing package actions</a> that were available via the core and the <a title="Read more about the PackageActionsContrib project" href="http://packageactioncontrib.codeplex.com/" target="_blank">PackageActionContrib</a> project. Â You can easily <a title="MOre about the Add Application Tree package action" href="http://our.umbraco.org/wiki/reference/packaging/package-actions/add-application-tree" target="_blank">add an Application Tree</a> but none of them could successfully update an existing Application Tree during the uninstall process. As my package action modified an existing application tree in order to add a custom menu item I needed to write a new package action that could do this at install and then revert it during the uninstall process.</p>
<p>You can download the <a href="http://www.prolificnotion.co.uk/downloads/ProlificNotion.Umbraco.PackageActions.zip" target="_blank">Update Application Tree Package Action</a> and with a bit of luck this issue can be addressed at some point in the future or my package action can be submitted to theÂ <a title="Read more about the PackageActionsContrib project" href="http://packageactioncontrib.codeplex.com/" target="_blank">PackageActionContrib</a> project for consideration. Make sure you drop the dll into your bin folder before you need to use the action.</p>
<p>Example package action usage:</p>
<pre class="brush: xml;">&lt;action runat=&quot;uninstall&quot; undo=&quot;false&quot; alias=&quot;UpdateAppTree&quot; treeAlias=&quot;media&quot; treeHandlerAssembly=&quot;umbraco&quot; treeHandlerType=&quot;loadMedia&quot; /&gt;</pre>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/media-sorter-for-umbraco/' rel='bookmark' title='Permanent Link: Media Sorter for Umbraco'>Media Sorter for Umbraco</a> <small>The package essentially adds a new context menu item to...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-v4-upgrade-problem-with-plesk-hosting/' rel='bookmark' title='Permanent Link: Umbraco v4 Upgrade Problem with Plesk Hosting'>Umbraco v4 Upgrade Problem with Plesk Hosting</a> <small>A project I am working on currently is hosted on...</small></li>
<li><a href='http://www.prolificnotion.co.uk/umbraco-package-notifications-list/' rel='bookmark' title='Permanent Link: Umbraco Package Notifications List'>Umbraco Package Notifications List</a> <small>Please use the form below to subscribe to email updates...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/update-application-tree-package-action-for-umbraco/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Umbraco : No node exists with id &#8217;1040&#8242;</title>
		<link>http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/</link>
		<comments>http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 16:12:18 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=138</guid>
		<description><![CDATA[When Umbraco 4 was first released I had issues with 2 of the upgrades from v3 in that the templates disappeared from the UI and clicking on any of the DocumentTypes resulted in an exception taking the form of &#8220;No node exists with id &#8217;1040&#8242;&#8221;. Today I was working on the site again and it [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/' rel='bookmark' title='Permanent Link: Umbraco : Locate nearest node with specific property'>Umbraco : Locate nearest node with specific property</a> <small>In an ongoing project I am working on I needed...</small></li>
<li><a href='http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/' rel='bookmark' title='Permanent Link: SmtpClient does not gracefully close the underlying TCP/IP connection'>SmtpClient does not gracefully close the underlying TCP/IP connection</a> <small>Some months back Tim Geyssens was kind enough to send...</small></li>
<li><a href='http://www.prolificnotion.co.uk/media-sorter-for-umbraco/' rel='bookmark' title='Permanent Link: Media Sorter for Umbraco'>Media Sorter for Umbraco</a> <small>The package essentially adds a new context menu item to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fumbraco-no-node-exists-with-id-1040%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fumbraco-no-node-exists-with-id-1040%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>When Umbraco 4 was first released I had issues with 2 of the upgrades from v3 in that the templates disappeared from the UI and clicking on any of the DocumentTypes resulted in an exception taking the form of &#8220;No node exists with id &#8217;1040&#8242;&#8221;. Today I was working on the site again and it was bugging me so I checked the forums and found <a onclick="window.open(this.href);return false;" href="http://forum.umbraco.org/yaf_postsm48569_No-node-exists-with-id-1040.aspx">this post</a> however it wasn&#8217;t resolved as far as I could tell.</p>
<p>I did a little digging around in the database and found some references in the cmsTemplate table to template master documents with the id 1040&#8230;bingo! I changed all references to a suitable master template that did exist and all of the above issues magically went away.</p>
<p>I thought it was too much of a coincidence for the node id in the exception to be the same for others as it was for me so I looked for a pattern in where this reference existed and they all seemed to be templates for what I think was the original Creative Website Starter (CWS) package. Would be interested in comments from others that might be able to confirm this.</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/' rel='bookmark' title='Permanent Link: Umbraco : Locate nearest node with specific property'>Umbraco : Locate nearest node with specific property</a> <small>In an ongoing project I am working on I needed...</small></li>
<li><a href='http://www.prolificnotion.co.uk/smtpclient-does-not-gracefully-close-the-underlying-tcpip-connection/' rel='bookmark' title='Permanent Link: SmtpClient does not gracefully close the underlying TCP/IP connection'>SmtpClient does not gracefully close the underlying TCP/IP connection</a> <small>Some months back Tim Geyssens was kind enough to send...</small></li>
<li><a href='http://www.prolificnotion.co.uk/media-sorter-for-umbraco/' rel='bookmark' title='Permanent Link: Media Sorter for Umbraco'>Media Sorter for Umbraco</a> <small>The package essentially adds a new context menu item to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to find out what groups an Umbraco Member belongs to</title>
		<link>http://www.prolificnotion.co.uk/how-to-find-out-what-groups-an-umbraco-member-belongs-to/</link>
		<comments>http://www.prolificnotion.co.uk/how-to-find-out-what-groups-an-umbraco-member-belongs-to/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 14:47:55 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=131</guid>
		<description><![CDATA[In a project I am currently working on there is a facility for Umbraco users to export Membership and Profile data. As part of the export the client also wanted to include the groups a member belongs to and here is how I achieved it, I hope it is of use to someone else. Member [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/discover-which-asp-net-worker-process-belongs-to-each-apppool/' rel='bookmark' title='Permanent Link: Discover which ASP.Net Worker Process Belongs to each AppPool'>Discover which ASP.Net Worker Process Belongs to each AppPool</a> <small>Ever needed to know which ASP.Net worker process (w3wp.exe) Â...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fhow-to-find-out-what-groups-an-umbraco-member-belongs-to%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fhow-to-find-out-what-groups-an-umbraco-member-belongs-to%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p>In a project I am currently working on there is a facility for Umbraco users to export Membership and Profile data. As part of the export the client also wanted to include the groups a member belongs to and here is how I achieved it, I hope it is of use to someone else.</p>
<p>Member m = new Member(mid);<br />
// Loop through the member groups and add them to the field<br />
foreach (MemberGroup mg in m.Groups.Values)<br />
{<br />
//- Do your stuff in here, e.g.<br />
csv.Append(mg.Text); // Appends the Member group name<br />
}</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/discover-which-asp-net-worker-process-belongs-to-each-apppool/' rel='bookmark' title='Permanent Link: Discover which ASP.Net Worker Process Belongs to each AppPool'>Discover which ASP.Net Worker Process Belongs to each AppPool</a> <small>Ever needed to know which ASP.Net worker process (w3wp.exe) Â...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/how-to-find-out-what-groups-an-umbraco-member-belongs-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Umbraco : Locate nearest node with specific property</title>
		<link>http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/</link>
		<comments>http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 12:10:54 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=113</guid>
		<description><![CDATA[In an ongoing project I am working on I needed to adapt a custom user control that was being used as a DataType in Umbraco. I needed to locate the nearest node that had a specific property set and default the selected value of my control to the value of the property in the parent document.


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/' rel='bookmark' title='Permanent Link: Umbraco : No node exists with id &#8217;1040&#8242;'>Umbraco : No node exists with id &#8217;1040&#8242;</a> <small>When Umbraco 4 was first released I had issues with...</small></li>
<li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-world-currencies/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with world currencies'>C# Utility method to populate list controls with world currencies</a> <small>A requirement that came up recently required a drop down...</small></li>
<li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-all-countries-as-given-in-iso-3166-1/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with all countries as given in ISO 3166-1'>C# Utility method to populate list controls with all countries as given in ISO 3166-1</a> <small>Most projects I work on need a list of countries...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fumbraco-locate-nearest-node-with-specific-property%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Fumbraco-locate-nearest-node-with-specific-property%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://umbraco.org" target="_blank"><img class="size-full wp-image-55 alignright" title="Umbraco logo" src="http://blog.prolificnotion.co.uk/wp-content/uploads/2009/01/umbracosplash.gif" alt="Umbraco logo" width="179" height="46" /></a></p>
<p>In an ongoing project I am working on I needed to adapt a custom user control that was being used as a DataType in Umbraco. I needed to locate the nearest node that had a specific property set and default the selected value of my control to the value of the property in the parent document.</p>
<p>Here is the final piece of code:</p>
<p>//- Get the current document as our starting point<br />
Document currentDoc = new Document(Convert.ToInt32(Request.QueryString["id"]));</p>
<p>//- Climb the tree looking for a parent node with the property set<br />
while (currentDoc.getProperty(&#8220;myProperty&#8221;) == null)<br />
{<br />
currentDoc = new Document(currentDoc.Parent.Id);<br />
}<br />
//- Set the value in the list if it exists<br />
if (this.myDropDownList.Items.FindByValue(currentDoc.getProperty(&#8220;myProperty&#8221;).Value.ToString()) != null)<br />
{<br />
this.myDropDownList.Items.FindByValue(currentDoc.getProperty(&#8220;myProperty&#8221;).Value.ToString()).Selected = true;<br />
this.myDropDownList.Enabled = false; //-Disable the control so the branch can&#8217;t be changed<br />
}</p>
<p>Thanks again toÂ <a title="Nibble, Umbraco developer - Umbraco .net cms Tips, tricks, examples, screencasts and more" href="http://www.nibble.be/" target="_blank">Tim Geyssens</a> for <a title="View the thread on the Umbraco forums" href="http://forum.umbraco.org/yaf_postst8994_Get-Parent-Nodes-in-Custom-DataType.aspx" target="_blank">the tip</a> that led me to my final solution.</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/umbraco-no-node-exists-with-id-1040/' rel='bookmark' title='Permanent Link: Umbraco : No node exists with id &#8217;1040&#8242;'>Umbraco : No node exists with id &#8217;1040&#8242;</a> <small>When Umbraco 4 was first released I had issues with...</small></li>
<li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-world-currencies/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with world currencies'>C# Utility method to populate list controls with world currencies</a> <small>A requirement that came up recently required a drop down...</small></li>
<li><a href='http://www.prolificnotion.co.uk/c-utility-method-to-populate-list-controls-with-all-countries-as-given-in-iso-3166-1/' rel='bookmark' title='Permanent Link: C# Utility method to populate list controls with all countries as given in ISO 3166-1'>C# Utility method to populate list controls with all countries as given in ISO 3166-1</a> <small>Most projects I work on need a list of countries...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/umbraco-locate-nearest-node-with-specific-property/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Invalid object name &#8216;umbracoUser&#8217;</title>
		<link>http://www.prolificnotion.co.uk/invalid-object-name-umbracouser/</link>
		<comments>http://www.prolificnotion.co.uk/invalid-object-name-umbracouser/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 22:25:40 +0000</pubDate>
		<dc:creator>Simon Dingley</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://blog.prolificnotion.co.uk/?p=79</guid>
		<description><![CDATA[Yet another problem on an Umbraco v4.0 site I am working on currently. The site will be hosted on a VPS with Plesk as mentioned in an earlier post, I needed to restore a backup of the remote database locally but after restoring it my local development copy throws the exception &#8220;Invalid object name &#8216;umbracoUser&#8221;. [...]


Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/error-creating-control-for-nodetype-media/' rel='bookmark' title='Permanent Link: ERROR CREATING CONTROL FOR NODETYPE: Media'>ERROR CREATING CONTROL FOR NODETYPE: Media</a> <small>I have just finished another upgrade from umbraco 3.06 to...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Finvalid-object-name-umbracouser%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.prolificnotion.co.uk%2Finvalid-object-name-umbracouser%2F&amp;style=normal&amp;service=bit.ly&amp;service_api=R_e35365ff035ed93fc3e67e6f868b7be3" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://umbraco.org" target="_blank"><img class="size-full wp-image-55 alignright" title="Umbraco logo" src="http://blog.prolificnotion.co.uk/wp-content/uploads/2009/01/umbracosplash.gif" alt="Umbraco logo" width="179" height="46" /></a>Yet another problem on an Umbraco v4.0 site I am working on currently. The site will be hosted on a VPS with Plesk as mentioned in an earlier post, I needed to restore a backup of the remote database locally but after restoring it my local development copy throws the exception &#8220;Invalid object name &#8216;umbracoUser&#8221;. After an hour or so of frustration and searching for a solution I realised that the table owner and schema belong to a user on the remote data source which didn&#8217;t exist locally.</p>
<p><strong>The Solution:</strong></p>
<p>Run the following SQL statement and output to text and it will generate all of the ALTER statements need to change ownership of the object to DBO(Database Owner):</p>
<pre class="brush: sql;">SELECT 'ALTER SCHEMA dbo TRANSFER ' + s.Name + '.' + p.Name
FROM sys.tables p INNER JOIN
sys.Schemas s on p.schema_id = s.schema_id
WHERE s.Name = 'EXISTING_OWNER_USERNAME'</pre>
<p>What you should find is that you are presented with a list of alter statements similar to those below which if you execute will change owner of all tables owned by the owner you specified in the first step and assign ownership to DBO:</p>
<pre class="brush: sql;">ALTER SCHEMA dbo TRANSFER oldowner.cmsContent
ALTER SCHEMA dbo TRANSFER oldowner.cmsContentType
ALTER SCHEMA dbo TRANSFER oldowner.cmsContentTypeAllowedContentType
ALTER SCHEMA dbo TRANSFER oldowner.cmsContentVersion
ALTER SCHEMA dbo TRANSFER oldowner.cmsContentXml
ALTER SCHEMA dbo TRANSFER oldowner.cmsDataType
ALTER SCHEMA dbo TRANSFER oldowner.cmsDataTypePreValues
ALTER SCHEMA dbo TRANSFER oldowner.cmsDictionary
ALTER SCHEMA dbo TRANSFER oldowner.cmsDocument
ALTER SCHEMA dbo TRANSFER oldowner.cmsDocumentType
ALTER SCHEMA dbo TRANSFER oldowner.cmsLanguageText
ALTER SCHEMA dbo TRANSFER oldowner.cmsMacro
ALTER SCHEMA dbo TRANSFER oldowner.cmsMacroProperty
ALTER SCHEMA dbo TRANSFER oldowner.cmsMacroPropertyType
ALTER SCHEMA dbo TRANSFER oldowner.cmsMember
ALTER SCHEMA dbo TRANSFER oldowner.cmsMember2MemberGroup
ALTER SCHEMA dbo TRANSFER oldowner.cmsMemberType
ALTER SCHEMA dbo TRANSFER oldowner.cmsPropertyData
ALTER SCHEMA dbo TRANSFER oldowner.cmsPropertyType
ALTER SCHEMA dbo TRANSFER oldowner.cmsStylesheet
ALTER SCHEMA dbo TRANSFER oldowner.cmsStylesheetProperty
ALTER SCHEMA dbo TRANSFER oldowner.cmsTab
ALTER SCHEMA dbo TRANSFER oldowner.cmsTagRelationship
ALTER SCHEMA dbo TRANSFER oldowner.cmsTags
ALTER SCHEMA dbo TRANSFER oldowner.cmsTemplate
ALTER SCHEMA dbo TRANSFER oldowner.umbracoApp
ALTER SCHEMA dbo TRANSFER oldowner.umbracoAppTree
ALTER SCHEMA dbo TRANSFER oldowner.umbracoDomains
ALTER SCHEMA dbo TRANSFER oldowner.umbracoLanguage
ALTER SCHEMA dbo TRANSFER oldowner.umbracoLog
ALTER SCHEMA dbo TRANSFER oldowner.umbracoNode
ALTER SCHEMA dbo TRANSFER oldowner.umbracoRelation
ALTER SCHEMA dbo TRANSFER oldowner.umbracoRelationType
ALTER SCHEMA dbo TRANSFER oldowner.umbracoStatEntry
ALTER SCHEMA dbo TRANSFER oldowner.umbracoStatSession
ALTER SCHEMA dbo TRANSFER oldowner.umbracoStylesheet
ALTER SCHEMA dbo TRANSFER oldowner.umbracoStylesheetProperty
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUser
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUser2app
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUser2NodeNotify
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUser2NodePermission
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUser2userGroup
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUserGroup
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUserLogins
ALTER SCHEMA dbo TRANSFER oldowner.umbracoUserType
ALTER SCHEMA dbo TRANSFER oldowner.cmsContentTypes
ALTER SCHEMA dbo TRANSFER oldowner.umbracoContent
ALTER SCHEMA dbo TRANSFER oldowner.umbracoContentAll</pre>
<p>After executing the above everything started working again as expected.</p>
<p>Thanks to <a title="Change schema name on Tables and Stored procedures in SQL Server 2005" href="http://weblogs.asp.net/steveschofield/archive/2005/12/31/change-schema-name-on-tables-and-stored-procedures-in-sql-server-2005.aspx">a blog post by Steve Schofield</a> that led me to the solution.</p>


<p>Related posts:<ol><li><a href='http://www.prolificnotion.co.uk/error-creating-control-for-nodetype-media/' rel='bookmark' title='Permanent Link: ERROR CREATING CONTROL FOR NODETYPE: Media'>ERROR CREATING CONTROL FOR NODETYPE: Media</a> <small>I have just finished another upgrade from umbraco 3.06 to...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.prolificnotion.co.uk/invalid-object-name-umbracouser/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
