The create dialog for “Media” does not match anything defined in the “~/umbraco/config/create/UI.xml”

After upgrading an Umbraco installation from 3.0 to 4.7.1.1, I got the error:

[code]"The create dialog for "Media" does not match anything defined in the "~/umbraco/config/create/UI.xml" while trying to upload images.
[/code]

To fix this, simply open UI.xml located in: /umbraco/config/create/
Search for:
[code]
<nodetype alias="media"></nodetype>
[/code]

and rename it to uppercase:
[code]
<nodetype alias="Media"></nodetype>
[/code]
Restart IIS and problem should be solved.

The create dialog for Media...