
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:
ERROR CREATING CONTROL FOR NODETYPE: Media
Description: 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.
Exception Details: System.ArgumentException: ERROR CREATING CONTROL FOR NODETYPE: Media
Source Error:
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. |
Stack Trace:
|
After a bit of digging I discovered the following Work Item on CodePlex and the following comment from jvisch which provided me with the solution:
- Open the UI.xml file located in /umbraco/config/create
- Search for the node with the alias ‘media‘
- Change the alias to ‘Media’ with a capital M
- Save the file
- Restart the website by making a slight change to the web.config file and saving it
Related Posts
- ASP VBScript – Request object error ‘ASP 0104 : 80004005′ – Operation not Allowed
- Media Sorter for Umbraco
- Umbraco v4 Upgrade Problem with Plesk Hosting
- Invalid object name ‘umbracoUser’
- Drupal : Fatal error: Allowed memory size of X bytes exhausted
Related posts brought to you by Yet Another Related Posts Plugin.



One Response
Comparing a brand new 4.0.2.1 site with a site upgraded from 3.0.5, I think that the “right” solution is to execute the following SQL statement:
UPDATE umbracoAppTree SET treeAlias = ‘media’, treeTitle = ‘Media’ WHERE treeTitle = ‘Medier’