Tag Archives: umbraco

Umbraco 7.2 beta 2 – missing dlls

If you, like me, just downloaded umbraco 7.2 beta 2 to give it a try, unzipped it in a folder to be used by IIS as virtual application or website and browsing to it you get the ASP.net yellow screen of death with such an error:

Could not load file or assembly 'System.Web.Http, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Solution: copy System.Web.Http.dll to the bin folder.

Then you may encounter also:

System.Net.Http.Formatting, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Solution: copy System.Net.Http.Formatting.dll to the bin folder.

And finally:

Could not load file or assembly 'System.Web.Http.WebHost, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Solution: copy System.Web.Http.WebHost.dll to the bin folder.

Quick fix, get this umbraco72-beta2-missing-dlls.zip containing System.Web.Http.dll, System.Net.Http.Formatting.dll and System.Web.Http.WebHost.dll

Copy the dlls in the bin folder and enjoy. Don’t forget the umbraco permissions, as usual.

Umbraco upgrade patches for umbraco 6.x to 6.1.3

Update 2013.07.29: added patch for umbraco 6.1.2 to 6.1.3.

If you, like me, like to upgrade umbraco by overwriting only the changed files (instead of the entire umbraco, umbraco_client, bin directories) as recommended in the umbraco general upgrade guide, here a collection of patches (zips containing only the changed files) that may be useful to you.

I created them by checking the differences between the old and new version.

I used Beyond compare, a commercial program that works really well for me. A free alternative can be, e.g. WinMerge

If you installed some packages that may have changed your config files, or even your language files, proceed with caution and check the differences with a comparison tool as I do.

So here the patches. Use them on your own risk! Read the readme.txt in the zip files for more details (such e.g. files that have been removed and you can delete as well).

Check also: Official Umbraco Releases on “Our Umbraco”

At a certain point (or for several releases) the umbraco team was providing the patches, but now not anymore. Thus this page was born.

Hope this helps, enjoy.

Umbraco upgrade 6.0.1 document type bug solution

In the umbraco 6.0.2 release blog post the team announced a very nasty bug that occurred in the v6.0.1 upgrade. I was getting this error when clicking a node and also this error when trying to edit the document type:

InvalidOperationException: Sequence contains more than one matching element

In the above post, by reading the comments of all frustrated and disappointed users, I found a solution to manually fix the messed up database.

As the post suggested, checking the cmsPropertyTypeGroup table helped already to identify the problem: tabs were duplicated. Before version 6.0.1 the parentGroupId was never used. The upgrade script in version 6.0.1 duplicated the tabs for the document types inheriting the tabs from a master document type, so for the child document type tabs, you could see the inherited tab with the relative parentGroupId. The problem is that for every property, a new tab was added. So a tab containing for example 6 properties would be added 6 times. To fix the problem, you have to set the 6 properties to the first occurrence of the new tab.

In example, in my case (after upgrading from 6.0.0 to 6.0.1 and from 6.0.1 to 6.0.2) I could see the Tab nr 52 repeated 6 times (you can see the same contenttypeNodeId and the same text in the doubles), from id 52 till id 57. The solution was to find all properties pointing to tabs from 52 to 57 and update their propertyTypeGroupId to 52. Here you can find my SQL script that helped me to fix them all.


SELECT * FROM cmsPropertyType
WHERE propertyTypeGroupId > 51 AND propertyTypeGroupId < 58

UPDATE cmsPropertyType SET propertyTypeGroupId = 52
WHERE propertyTypeGroupId > 51 AND propertyTypeGroupId < 58

SELECT * FROM cmsPropertyType
WHERE propertyTypeGroupId = 52


After updating the records, I was able to delete the duplicate tabs (53,54,55,56,57: only 5, the first one has to be kept).

What to do next: touch the web.config in order to reset all the cache. Login to umbraco, go to the document type and simply save it. Go to a node using the document type and see that it’s working.


Upgrading Umbraco 4.11.0 to 6.0.0

So you want an easy upgrade patch for version 4.11.x to version 6.0.0 (I just tested it from 4.11.1, but it should be ok also for 4.11, 4.11.2.x and 4.11.3.x)? You can follow the umbraco guide, download the new zip and overwrite the bin, umbraco, umbraco_client folders and merge the config files as explained, or prepare your own patch, or you can also use my patch here: umbraco-upgrade-4.11.0-to-6.0.0.zip

Please be careful: merge the config files and web.config with a tool like Winmerge. I use a commercial tool: Beyond Compare 3, which is one of my favorite programs and I can only recommend it, it costs only 30 USD. If you deploy many patches or you need a really good comparison tool, this is the one to use.

Check also: Official Umbraco 6.0.0 release on codeplex


Update 6.6.2013: If you want to get the newsest patches, check also my new post: Umbraco upgrade patches for umbraco 6.0.0 to 6.1.1