I studied your videos on installing DNN 3.2 to a shared host with interest. I have run into difficulties trying to install DNN402 on my dedicated server.
The test site I have created runs fine on local development system (XP Pro, VWD 2005 Express, SQL Server Express 2005). I have left web.config with the default settings so the database (database.mdf in app_data) is attached temporarily.
I have created a site on the W2003 server using IIS6, set the NTFS permissions so that IUSR_WPG has full access to the directory, and ftpd the entire site unchanged.
When I try to run it I get the dreaded Object reference not set to an instance of an object message, and the details say:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +125
DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3797
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
I have been puzzling over this for 3 days without success. I suspect it is permissions based. Presumably SQL Server Express takes care of the permissions (I have installed a very small .NET 2.0 site using the standard web.config method of dynamically attaching and it works without a problem, so the difference may be in the DNN side)
Any clues please?
John B
<!--
[NullReferenceException]: Object reference not set to an instance of an object.
at DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo)
at DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo)
at DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->