I running into an interesting problem with 5.1.1 (also tried it with 5.1.2) on Server 2003 and 2008. When I install DNN into the default web directory (C:/inetpub/wwwroot) everything works fine, but when I try to install it on a completely different drive letter (in my case I tried to install it on the root of an E: drive I have), I get a NullReferenceException when I click Finish (Go to site).
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.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.UI.Skins.SkinController.GetDefaultPortalSkin() +19
DotNetNuke.Entities.Host.Host.get_DefaultPortalSkin() +46
DotNetNuke.Entities.Portals.PortalSettings.get_DefaultPortalSkin() +19
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +1301
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +99
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2969
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082