DevJourney: a blog about .NET development.
-
How to recover from “Object reference not set to an instance of an object” error blocking access to Umbraco control panel
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…
-
How to know whether SQL Server is 32-bit or 64-bit
Simple way to know whether SQL Server is 32-bit or 64-bit is by executing the following script: select SERVERPROPERTY(‘edition’) It will then return the Edition of SQL Server installed. If it’s 32-bit it will just return the Edition name. If it’s 64-bit then it will have (64-bit) added after the Edition name.
-
How to get Table Cell or Text Box value in SSRS
To get the Table Cell or Text Box value in SSRS you can do like this: ReportItems![Text Box name].Value Note: replace the [Text Box name] with the name of Text Box you want to access.
-
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( Convert.ToInt32(currentPage.GetProperty("[property]").Value) ); string imageUrl = media.getProperty("umbracoFile").Value.ToString();
-
Announcement of jQuery Mobile Project
It’s a great news that now jQuery is supporting Mobile web. Here is the official announcement: http://jquerymobile.com/2010/08/announcing-the-jquery-mobile-project/ And the project site: http://jquerymobile.com/ Less hassles in creating interactive Mobile web, I love it! 😉
Got any book recommendations?