Error on GetSkin() loading a DotNetNuke website

Trying to load a DotNetNuke website, I was getting an error on Default.aspx page in this specific line:

Server Error in ‘/’ Application.
Object reference not set to an instance of an object
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.NullReferenceException: Object reference not set to an instance of an object.

 ctlSkin = IsPopUp ? UI.Skins.Skin.GetPopUpSkin(this) : UI.Skins.Skin.GetSkin(this); 

(Line 666, coincidence? Eheh)

The error was related to DNNMenu web user control, saying that couldn’t found the .ascx file.

After struggling a bit, I’ve found my DesktopModules folder was being considered as a Virtual Directory on IIS and pointing to a wrong path. So after fixing, pointing out to the right path, everything was working again :)

Visual Studio 2013 and ASP.NET vNext

Today was a great day for all .NET developers attending Build conference (or watching online).

A preview of next version of Visual Studio is available and we can now test and use the all new features announced. You can download here. As usual, Somasegar made a great blog post showing a lot of new features and cool stuff around Visual Studio, including also the announcement of Update 3 for Visual Studio 2012 (Web Installer | ISO).

On next links, you can find a lot of useful information about whats next on .NET world:

Visual Studio 2013 and Git

On Visual Studio ALM and TFS blog, we can find a new post where are showing some new and cool changes related to Git support on Visual Studio 2013.

Version control

  • Git built in to Visual Studio and TFS
  • Use branches to switch contexts and isolate risk
  • Resolve conflicts
  • Work around a few known issues
  • More of what’s new

Team Foundation Build

  • Build Windows 8.1 Preview Store apps
  • Build more simply. Build in Git!
  • Scripts!
  • Customize your build processes

You can check here:

Free SQL Server Training Videos for Developers

You can find some interesting videos (about 30 minutes each) on Brent Ozar website.

Here’s a list: