Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade error: Object Reference not setUpgrade error: Object Reference not set
Previous
 
Next
New Post
8/14/2008 11:55 PM
 

Unfortunately Ryan it's not always possible to give a suggestion on how to fix a problem if you can't reliably recreate it. I've done dozens of installs of DNN 4.6.2 to 4.8.4 in the last couple of months and, personally, have never run into any errors. I'm not saying that they're not happening as they obviously are but I can't even begin to offer up a suggestion of what might be wrong if I can't get it to happen.

 
New Post
8/15/2008 3:39 AM
 

Mike Horton wrote
 

Unfortunately Ryan it's not always possible to give a suggestion on how to fix a problem if you can't reliably recreate it. I've done dozens of installs of DNN 4.6.2 to 4.8.4 in the last couple of months and, personally, have never run into any errors. I'm not saying that they're not happening as they obviously are but I can't even begin to offer up a suggestion of what might be wrong if I can't get it to happen.

OH, i understand completely. if you can't reproduce it personally, then you have no idea where to start to look at the issue. I've done probably only a totoal of a dozen installs of DNN over the past couple years, and have done several upgrades across major dnn update levels, so I don't consider myself a lightweight in testing or making it through patches/updates. Searching online, not finding much in the way of answers on this one, but am finding several posts with these exact stack trace items or very similar, all with no answers to them... so I'm not complaining... but definately looking for the solution and to help with it for others!

here today, i've done three installs (today alone) with this same issue that has happened each time!

install one - fresh location, posted DNN 4.8.4 Install.zip package files by ftp, created blank sql2005 database new, stepped through install wizard in typical mode which installed all steps correctly. result was this error:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +378
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1180
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

install two - another fresh location, posted DNN 4.8.3 Install.zip package files by ftp, created blank new sql2005 database, stepped through install wizard in customized mode, stepped throgh all steps correctly. at end of successful install wizard, clicked to go to home page of site with the following error. tried updating the web.config to restart the app, rebooted the server, did a repair of permissions on the folders, rebooted again, all no help, still same error

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +378
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1180
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

third install I'm now wiping away and going to try to use an intermedia (the host) auto install script and will go from there... their script is 4.8.2 and auto connects to their shared DB, but will try it to rule out that it's not an issue with permissions, etc since i'll be able to compare it's autobuilt structure to the manual install. will reply back with notes if successful.

still, though, have two others in limbo regardless. with each of them, it's stuck at that first load up of the home page... tried a couple of things like:
- rehitting the install/install.aspx   and install/installwizard.aspx to see if they'd kick off extra install steps
- tried updating the web.config with blank space at end to kick the app to restart
- tried Brandon Haynes's (Haynes' ? i always get that wrong on s ending names) debug dlls to see if i could get more verbose stack trace, but not fruitful in this instance/case
- tried reupload of all files/folders to make sure there wasn't a missed/corrupted file from first upload

 

 
New Post
9/5/2008 4:57 AM
 

AH HA!

I have the (a) solution for this problem.  

I had this problem in three different brand new installations of the dnn 4.8.4 install zip. the installs all went correctly, but after the install wizard completed, we got the error messages that I posted above.

in part of my troubleshooting I had tried to do an install ontop of an older version, doing 4.8.3 to see if it had whatever was missing (my theory is that something is missing from the install files that was present in older dnn install files, that's why updates are working ok but new installs arent). no dice however. on just going back to 4.8.3

so, before giving up, i went back to a full step back and did an install of 4.6.2's install package, and IT FIXED THE PROBLEM !!!

SO, if any of you are stuck in the same limbo that I was for these particular issues:

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +378
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +1180

then give this a shot, you have nothing to loose (DNN isn't running for you anyhow!)

Step 1. make a copy of your current web.config file so that you can come back to it later ("web.config.bak-484")
Step 2. install the DNN install package for DNN 4.6.4 ontop of all your folders/files
Step 3. update the web.config that comes with the install (or the release.config if you like) so that it properly connects to your db, etc
Step 4. run yoursite/install/installwizard.aspx  to run the install process. when it finishes it won't take you to the completed portal... it will be stuck in a kind of loop showing you the "click to access portal" link along with a mix of successful / failed report lines from the installer. if you click on the link, however, it won't take you to the portal as it'll kick right back into the installwizard/update mode again.
Step 5. NOW, for the second install. here i went to the DNN 4.8.4 UPDATE zip package. I then installed this ontop of the files/folders
Step 6. put back in place now your original web.config that you renamed/kept earlier and just overwrite the blank one from the update package. it has all your 4.8.4 stuff plus your connection strings from the previous install.
Step 7. run yoursite/install/installwizard.aspx and this time, when it finishes, it should deliver you to a successfully running DNN 4.8.4 site

 

: )

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade error: Object Reference not setUpgrade error: Object Reference not set


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out