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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...could not access my online portal website because of object reference errorcould not access my online portal website because of object reference error
Previous
 
Next
New Post
5/28/2009 7:32 AM
 

Hi,

My online portal website has been working fine for last 2 months.

Today while updating announcement module, after setting bg colors for all cells in a table, i got the following error:

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.PortalInfo.get_AdministratorRoleName() +60
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +413
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +92
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2977
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

 

From then on onwards, for last 1 hour, i could not access my portal , any page i run i am getting same above error. Also i went to my database server and removed the page that was holding this module, even then same error is coming when i run any of my page.

I think since my website is hosted in a shared server and may be shared server is down a bit and that's why  i could not access my portal. But error specified above is not clear to me.

Awaiting you suggestion asap.

Thanks,

Swaminathan,

Web Application Engineer,

www.steadfastglobal.com

 
New Post
5/28/2009 11:27 AM
 

Hi Swaminathan

you have several options to deal with and they are taking different amount of time before the issue is solved:

# Download the database and DNN source code on your development maschine and get in going there .... then you can break the code and figure out exactly why the code is breaking in that source code line and backward engineer your way to were the db is corrupt

# install a backup on your development machine and try to recreate the Error on a secondary installation and draw conclusions from this

# Make a clean installation in a new db and then use MS SQL manager to export the content tables of the dotnetnuke error instlalations into the new installation

/Johan Hyra Vattenskoter

 
New Post
5/29/2009 1:59 AM
 

Hi Johan,

i came to know the shared server in which i am hosting this portal website is under maintenance and server was down and that is why i was getting this error.once the server is ready, this problem should be solved. I will get back to you.

Thanks,

Swaminathan.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...could not access my online portal website because of object reference errorcould not access my online portal website because of object reference error


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