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 StartedNew to DNN Plat...New to DNN Plat...Need Help! All my site are downNeed Help! All my site are down
Previous
 
Next
New Post
11/23/2010 11:53 AM
 
I'm hoping someone out there can help.

I'm using the Community edition 05.02.03. I have created several different portals and assigned aliases to each. Everything has been operating smoothly for a few months now. I was updating each portal as recent as last night. This morning, all the portals are down. My host did a trace and came up with this error:

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..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +48

   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2988

   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


The fact that I can't even access any of the portals is an bovious problem. I'm stuck. Can anyone help?

Jim
 
New Post
11/23/2010 1:41 PM
 
It appears that the site was upgraded from 05.02.03 to the newly released 05.06.00 which does have a known issue resulting in the generation of the same error you are receiving.

You may be able to access the site by appending /Default.aspx to the end of the hostname in the url - i.e. www.example.com/Default.aspx.
My recommendation for now would be to restore the site back to 05.02.03 using the file system and database backups that either you or the host hopefully created prior to the upgrade. You might then consider upgrading to 05.05.01.

A couple of questions for you to help us track down the causes of this issue:

1. Have you created any custom .aspx pages outside of DotNetNuke?
2. Are image file types being mapped (in IIS settings) to ASP.Net?
3. If using IIS 7 or 7.5, was the attribute runAllManagedModulesForAllRequests="true" added to the <modules> node of the <system.webServer> section of the installation's web.config file?
4. Please check the PortalAlias table in the database or if you can log in as host check the Admin-->Site Settings page to see if all of your portal aliases are still correct or if others have been added.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
11/23/2010 2:16 PM
 
Hi William,

1. Have you created any custom .aspx pages outside of DotNetNuke?
No
2. Are image file types being mapped (in IIS settings) to ASP.Net?
No sure
3. If using IIS 7 or 7.5, was the attribute runAllManagedModulesForAllRequests="true" added to the <modules> node of the <system.webServer> section of the installation's web.config file?
No - there was no attribute like the one you list above in the we.config file
4. Please check the PortalAlias table in the database or if you can log in as host check the Admin-->Site Settings page to see if all of your portal aliases are still correct or if others have been added.
None of the portals open at all, so I can't log in. The aliases are correct in the database.

What now??

Jim
 
New Post
11/23/2010 2:18 PM
 
Also William I forgot to mention that we never upgraded to 05.06.00. I downloaded 05.05.01. Perhaps I should do the upgrade and see what happens?

Jim
 
New Post
11/23/2010 2:37 PM
 
So you were updating from 5.2.3 to 5.6.0 when this happened?

check your web.config for this line:

<system.webserver>
<modules runAllManagedModulesForAllRequests="true">

change it to

<system.webserver>
<modules>

Save the web.config and restart IIS and rehit the site

We know ActiveSocial module creates the above line it may also be added by other modules.

Also, have you mapped any files via IIS? Specifically PNG image files?
Doing so will also cause your site to fail after upgrade.

Gemini issues for your reference:


DNN-14455 - YSOD if upgrade web.config contains modules runAllManagedModulesForAllRequests="true"

DNN-14451 - Mutliple portal alias links created if you map PNG files to ASP.NET


Ken Grierson
DotNetNuke Corporation
Test Lead
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Need Help! All my site are downNeed Help! All my site are down


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