Ferry Meidianto | /* Living in .NET World */

CAT | Umbraco

I shocked when I found that I couldn’t access Umbraco control panel of one of the most important websites that my client has. It threw “Object reference not set to an instance of an object” error once I successfully logged in to the control panel.


After making backup and small research I found a way to recover from that annoying thing. The workaround was recycling the Application Pool that the website use.




Umbraco: How to get Media in code-behind

To get a media (i.e.: image)  in code-behind you can do it like this.

var currentPage = umbraco.presentation.nodeFactory.Node.GetCurrent();
var media = new umbraco.cms.businesslogic.media.Media(
string imageUrl = media.getProperty("umbracoFile").Value.ToString();

· ·

Today I realized that upgrading from Umbraco 4.0.3 to Umbraco caused the Umbraco Contour to not able to create a new Form. It throws an error every time I tried to create a new Form.

Here is the fix of it.

Open /umbraco/config/create/UI.xml and add the following codes:


· ·

Theme Design by devolux.nh2.me


All postings/content on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer or sponsors. The content on this site is licensed under a Creative Commons Attribution By license.
To top