Re-runing install on 4.4.1
Last Post 07/30/2007 4:44 AM by Olafur Ingthorsson. 4 Replies.
Author Messages
Olafur Ingthorsson
Nuke Active Member
Nuke Active Member
Posts:24


--
07/26/2007 7:21 PM  
Hi,

Is it possible to rerun the install on a setup that had some errors in the initial installation? It didn't sucessfully create portal 0 and when trying to run the aplication I get the following:

 

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.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +91
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +5773
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

With regards.
Joseph Craig
DNN MVP
Posts:11667


--
07/26/2007 7:47 PM  
Yes, it does appear that something got mangled. From the error messages, DotNetNuke seems to think that the portal was created, but it can't get the portal settings. Probably this is because the portal settings don't exist.

If I were you, I'd try this again.

If you really are starting with a new installation, I'd recommend that you start with version 4.5.5 (the current version, in spite of the fact that some language has been cleaned up on the DNN website). Among other things, the 4.5.x versions of DotNetNuke include a "Wizard" that should help in the installation process.

So ... delete your database, delete your current directory, unzip the 4.5.5 Install package into your DotNetNuke directory and browse to the site.

Note that the new version doesn't even need a database or a connection string! The Wizard will help you set this up, and that should really simplify the process. Go carefully, and use all of the test and verification functions that you find before you move forward.

Joe Craig, Patapsco Research Group
Complete DNN Support
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
07/27/2007 4:02 AM  
Hello,

I would also strongly recommend you start again. If you get DNN installation errors, it's always much better to wipe everything and start again rather than patch together a corrupt installation as it will come back and bite you 6 months down the line after you have spent hours adding content.

Thanks,
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
Olafur Ingthorsson
Nuke Active Member
Nuke Active Member
Posts:24


--
07/27/2007 4:07 AM  
Thank you guys. I'm gona try the version 4.5.5 and see if that will help.

Regards.
Olafur Ingthorsson
Nuke Active Member
Nuke Active Member
Posts:24


--
07/30/2007 4:44 AM  
Installing the 4.5.5 was easy and gave no problems. Thanks.


---