I got a little further, but predictably, I ran into yet another roadblock.
I completely blew SQL Server 2005 Express off my machine and reinstalled it, this time using the default instance instead of a named instance. (Lesson: DNN can't figure out named instances for some reason. Isn't this a major bug?)
I go back and run the script at /Install/Install.aspx?mode=Install, and during the execution, I get this (scroll down to the boldfaced lines to see the problem):
00:00:00.062 - Installing Version: 3.1.0
00:00:00.062 - Installing Script: DotNetNuke.SetUp.SqlDataProvider
00:00:00.218 - Installing Script: DotNetNuke.Schema.SqlDataProvider
00:00:02.046 - Installing Script: DotNetNuke.Data.SqlDataProvider
00:00:03.312 - Installing MemberRole Provider:
00:00:03.328 - Executing InstallCommon.sql
00:00:04.562 - Executing InstallMembership.sql
00:00:05.593 - Executing InstallProfile.sql
00:00:05.875 - Executing InstallRoles.sql
00:00:06.609 - Upgrading to Version: 3.1.1
00:00:08.250 - Upgrading to Version: 3.2.0
00:00:08.375 - Upgrading to Version: 3.2.1
00:00:08.468 - Upgrading to Version: 3.2.2
00:00:08.484 - Upgrading to Version: 3.2.3
00:00:10.421 - Upgrading to Version: 3.2.4
00:00:10.484 - Upgrading to Version: 3.2.5
00:00:10.531 - Upgrading to Version: 3.2.6
00:00:10.593 - Upgrading to Version: 3.2.7
00:00:10.609 - Upgrading to Version: 3.3.0
00:00:10.703 - Upgrading to Version: 3.3.1
00:00:10.750 - Upgrading to Version: 3.3.2
00:00:10.796 - Upgrading to Version: 3.3.3
00:00:10.953 - Upgrading to Version: 4.0.0
00:00:11.156 - Upgrading to Version: 4.0.1
00:00:11.218 - Upgrading to Version: 4.0.2
00:00:11.234 - Upgrading to Version: 4.0.3
00:00:11.234 - Upgrading to Version: 4.0.4
00:00:11.921 - Upgrading to Version: 4.0.5
00:00:11.937 - Upgrading to Version: 4.0.6
00:00:11.937 - Upgrading to Version: 4.0.7
00:00:11.953 - Upgrading to Version: 4.3.0
00:00:11.953 - Upgrading to Version: 4.3.1
00:00:11.968 - Upgrading to Version: 4.3.2
00:00:12.015 - Upgrading to Version: 4.3.3
00:00:12.343 - Upgrading to Version: 4.3.4
00:00:12.359 - Performing General Upgrades
00:00:12.937 - Loading Host Settings:
00:00:13.015 - Configuring SuperUser:
00:00:13.390 - Installing Desktop Modules:
00:00:13.390 - Installing Modules:
00:00:13.421 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Announcements_03.03.04_Install.zip:
00:00:14.015 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Blog_3.02.00_Install.zip:
00:00:15.156 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Contacts_3.1_Install.zip:
00:00:15.296 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Documents_03.01.05_Install.zip:
00:00:15.718 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Events_3.2_Install.zip:
00:00:17.468 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\FAQs_3.1_Install.zip:
00:00:17.593 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Feedback_03.02.01_Install.zip:
00:00:17.750 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Forum_3.20.08_Install.zip:
00:00:24.421 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Gallery_3.0.12_Install.zip:
00:00:25.156 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Help_2.0.4_Install.zip:
00:00:25.656 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\HTML_3.3.0_Install.zip:
00:00:25.812 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\IFrame_3.2_Install.zip:
00:00:26.218 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Links_3.3_Install.zip:
00:00:26.453 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Media_03.02.02_Install.zip:
00:00:26.703 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\NewsFeeds_3.1.1_Install.zip:
00:00:26.750 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Reports_4.3.1_Source.zip:
00:00:27.609 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Repository_3.1.10_Install.zip:
00:00:32.281 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Store_01.00.01_Install.zip:
00:00:34.468 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Survey_3.3_Install.zip:
00:00:34.781 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\UserDefinedTable_3.03.03_Install.zip:
00:00:36.562 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\UsersOnline_3.1_Install.zip:
00:00:36.750 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\WhatsNew_3.3_Install.zip:
00:00:36.781 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\XML_3.1_Install.zip:
00:00:36.968 - Executing Additional Scripts:
00:00:36.968 - Creating Portal: My Website
00:00:38.234 - Error: Object reference not set to an instance of an object.
00:00:38.234 - Portal failed to install:
00:00:38.234 - Installing Optional Resources:
00:00:38.234 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Announcements_03.03.04_Install.zip:
00:00:38.765 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Blog_3.02.00_Install.zip:
00:00:41.562 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Contacts_3.1_Install.zip:
00:00:41.718 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Documents_03.01.05_Install.zip:
00:00:42.312 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Events_3.2_Install.zip:
00:00:44.375 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\FAQs_3.1_Install.zip:
00:00:44.656 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Feedback_03.02.01_Install.zip:
00:00:44.765 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Forum_3.20.08_Install.zip:
00:00:53.812 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Gallery_3.0.12_Install.zip:
00:00:54.265 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Help_2.0.4_Install.zip:
00:00:55.171 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\HTML_3.3.0_Install.zip:
00:00:55.281 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\IFrame_3.2_Install.zip:
00:00:55.484 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Links_3.3_Install.zip:
00:00:55.593 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Media_03.02.02_Install.zip:
00:00:55.687 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\NewsFeeds_3.1.1_Install.zip:
00:00:55.703 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Reports_4.3.1_Source.zip:
00:00:55.734 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Repository_3.1.10_Install.zip:
00:01:01.015 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Store_01.00.01_Install.zip:
00:01:02.484 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\Survey_3.3_Install.zip:
00:01:03.140 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\UserDefinedTable_3.03.03_Install.zip:
00:01:04.078 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\UsersOnline_3.1_Install.zip:
00:01:04.109 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\WhatsNew_3.3_Install.zip:
00:01:04.125 - Installing Module File c:\inetpub\wwwroot\test\Install\Module\XML_3.1_Install.zip:
What the heck is going on here?
I load the main default.aspx anyway, and I am greeted with this:
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.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) +5768
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
|
Now what do I do with this incredibly obtuse error? This is a very, very basic error, and I am amazed that DNN would be this poorly set up that this could happen.