Page view counter

DNN ERROR MESSAGE: Object reference not set to an instance of an object

Last post 12-07-2005 3:24 AM by mrashed. 14 replies.

Sort Posts:

  • DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-13-2005, 10:02 AM
    • Loading...
    • RobertMJordan
    • Joined on 11-13-2005, 2:49 PM
    • Posts 1
    • Points 5

    I went through all the installation instructions for DNN version 3.1.0.  I checked The database and all related Db Objects installed fine.  Once, "Installation Complete" appears, I click on the "Access Your Portal..."  and I get the following compile  error from the DNN site.  Any ideas?

    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) +127
       DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +93
       DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3718
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +59
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
    


    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-13-2005, 1:47 PM
    • Loading...
    • kearwa
    • Joined on 01-04-2004, 9:13 PM
    • Posts 2
    • Points 10
    I also am getting this error after re-downloading the 3.2 release from two different download sites and installing it multiple times.
    I am glad I am not alone.
    Anyone else having this issue? Anyone else performing an upgrade and having it work as expected?


  • Angry [:@] Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-13-2005, 3:26 PM
    • Loading...
    • FalseAlarm
    • Joined on 11-13-2005, 6:20 AM
    • Posts 3
    • Points 15
    Same here. I looked at everything including bugs already verified, folder permissionsa, etc. but could not resolve it.
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-13-2005, 4:40 PM
    • Loading...
    • rickla1
    • Joined on 07-23-2005, 4:26 PM
    • Oregon
    • Posts 53
    • Points 265
    Same problem here going from 3.1.1 to 3.2.  Everything looked good until...
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-14-2005, 9:46 AM
    • Loading...
    • FalseAlarm
    • Joined on 11-13-2005, 6:20 AM
    • Posts 3
    • Points 15
    Either the resolution to this problem is very obvious and we are blind, or noone seems to have any ideas. I have looked back at previous postings with the same error message and also found a couple with DNN4.0. Some have received it due to web.config issues, installing with incorrect db owner, etc. I check all in my environment and none applies. I am baffled.
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-16-2005, 11:18 AM
    • Loading...
    • DanaNield
    • Joined on 05-02-2005, 11:58 AM
    • Posts 7
    • Points 35

    Looks like we are all in the same boat. Upgraded to 3.2 from 3.0.13 and followed the instructions in the Install Docs.

    Received this error:

    Server Error in '/d3' 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.Framework.Reflection.CreateObjectNotCached(String ObjectProviderType) +28
       DotNetNuke.Services.Cache.CachingProvider.CreateProvider() +11
       DotNetNuke.Services.Cache.CachingProvider..cctor() +15
    
    [TypeInitializationException: The type initializer for "DotNetNuke.Services.Cache.CachingProvider" threw an exception.]
       DotNetNuke.Services.Cache.CachingProvider.Instance() +0
       DotNetNuke.Entities.Host.HostSettings.GetHostSettings() +9
       DotNetNuke.Entities.Users.UserOnlineController.IsEnabled() +5
       DotNetNuke.HttpModules.UsersOnlineModule.OnAuthorizeRequest(Object s, EventArgs e) +94
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
    
    [TypeInitializationException: The type initializer for "DotNetNuke.Data.DataProvider" threw an exception.]
       DotNetNuke.Data.DataProvider.Instance() +0
       DotNetNuke.Framework.Install.NoUpgrade() +32
       DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) +383
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +750
    


    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-23-2005, 5:06 AM
    • Loading...
    • LacOniC
    • Joined on 02-13-2003, 10:06 AM
    • Posts 87
    • Points 330
    Same problem here. I tried 3.1.1 then 3.2.0 but always got same error. Seems too many user has same problem and no solution. Interesting.
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-23-2005, 8:58 AM
    • Loading...
    • workcontrol
    • Joined on 11-15-2005, 12:19 PM
    • Posts 78
    • Points 390
    I occasionally get this error.  But when the page is reloaded, the error went away.
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-24-2005, 3:29 AM
    • Loading...
    • StupidBlonde
    • Joined on 04-21-2004, 2:39 AM
    • Denmark
    • Posts 25
    • Points 125
    Me to ....   tried to Update last night from 3.1.1 to 3.2 and have been searching for a solution all night.
    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) +114
       DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +93
       DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3721
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
    


    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

    I found this article..   which displays exactly same error message, but this solution will probably not work for those who have not installed that specific
    http://www.componentart.com/forums/ShowPost.aspx?PostID=6893 
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-28-2005, 9:01 AM
    • Loading...
    • josauro
    • Joined on 02-27-2003, 7:33 AM
    • Posts 119
    • Points 595

     

     

    Three times trying to intall, reinstal, upgrade and the mensage is the same

    http://localhost/DNN/DNN32/Default.aspx?tabid=36&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

    An error has occurred...
    An error has occurred..

    What is the error or problem...

     

     

  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-28-2005, 10:55 AM
    • Loading...
    • edgett
    • Joined on 06-07-2004, 4:30 PM
    • Chandler, AZ
    • Posts 187
    • Points 935
    Have you tried recycling IIS / or rebooting the server (if you have access to do so)?  Also try clearing your cache and closing all browser windows to make sure absolutely nothing is cached.
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-29-2005, 12:58 PM
    • Loading...
    • Riker
    • Joined on 11-26-2005, 9:47 PM
    • Posts 5
    • Points 25
    At the risk of being plain stupid here...  This is a MS knowledgebase article dealing with this issue...
    http://support.microsoft.com/default.aspx?scid=kb;en-us;810098

    I admit,  I'm just drifting here...
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    11-29-2005, 4:31 PM
    • Loading...
    • rickla1
    • Joined on 07-23-2005, 4:26 PM
    • Oregon
    • Posts 53
    • Points 265
    Thanks for the link.  I did, in fact, see that KB article but dismissed it because Ididn't feel it applied to my particular situation.  My dev server has both the SDK and VS.NET installed, but maybe I still need to register the dll.

    Those experiencing this on a remote host may have some difficulty getting their provider to make changes to their systems, I would think?
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    12-06-2005, 3:11 PM
    • Loading...
    • Shuzo
    • Joined on 01-24-2003, 8:08 AM
    • st. louis, missouri
    • Posts 129
    • Points 645
    This error is often remedied by touching the web.config, so dotNet recycles the application. You can also try resarting IIS.
     
    Good Luck.
     
    —Shuzo—
    SteadyRain, Inc.
    Creating digital solutions for the new economy
  • Re: DNN ERROR MESSAGE: Object reference not set to an instance of an object

    12-07-2005, 3:24 AM
    • Loading...
    • mrashed
    • Joined on 06-21-2005, 8:46 PM
    • Posts 59
    • Points 295
    i face this error before and spend alot of time with it , it only working after open the solution and rebuild it [i don't know why ], but in the first make sure from all install instructions ...
Page 1 of 1 (15 items)