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 ...4.0.2: Object reference not set to an instance of an object4.0.2: Object reference not set to an instance of an object
Previous
 
Next
New Post
1/23/2006 3:57 AM
 
 I installed dnn 4.0.02 without problem, but when I created a web site, the first scrren shows up like this :

Server Error in '/dnn' 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) +316
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +98
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +4991
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


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


What's the problem? And how can I fix this problem? My environment is Windows XP Professional, SQL Server 2005 and VS2005 Standard.
 
New Post
1/24/2006 5:33 AM
 

I found some error during the installtion. When my site started, I noticed the following error message:

Installing DotNetNuke

Version: 04.00.02

Installation Status Report

00:00:00.015 - Installing Version: 3.1.0
00:00:00.015 - Installing Script: DotNetNuke.SetUp.SqlDataProvider
00:00:00.125 - Installing Script: DotNetNuke.Schema.SqlDataProvider
00:00:17.187 - Installing Script: DotNetNuke.Data.SqlDataProvider
00:00:17.406 - Installing MemberRole Provider:
00:00:17.406 - Executing InstallCommon.sql
00:00:17.750 - Executing InstallMembership.sql
00:00:18.625 - Executing InstallProfile.sql
00:00:19.375 - Executing InstallRoles.sql
00: - Upgrading to Version: 3.1.1
00:00:21.359 - Upgrading to Version: 3.2.0
00:00:21.421 - Upgrading to Version: 4.0.0
00:00:21.562 - Upgrading to Version: 4.0.1
00:00:21.718 - Upgrading to Version: 4.0.2
00:00:21.781 - Performing General Upgrades
00:00:22.531 - Loading Host Settings:
00:00:22.562 - Configuring SuperUser:
00:00:22.640 - Installing Desktop Modules:
00:00:22.640 - Installing Modules:
00:00:22.640 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Announcements_3.1_Install.zip:
00:00:23.218 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Contacts_3.1_Install.zip:
00:00:23.531 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Discussions_3.1_Install.zip:
00:00:23.921 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Documents_3.1_Install.zip:
00:00:24.250 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Events_3.1_Install.zip:
00:00:25.828 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\FAQs_3.1_Install.zip:
00:00:26.734 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Feedback_3.1_Install.zip:
00:00:26.906 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\HTML_3.1_Install.zip:
00:00:27.687 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\IFrame_3.1_Install.zip:
00:00:28.031 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Image_3.1_Install.zip:
00:00:28.609 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Links_3.1_Install.zip:
00:00:29.578 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\NewsFeeds_3.1_Install.zip:
00:00:29.828 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\Survey_3.1_Install.zip:
00:00:30.890 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\UserDefinedTable_3.1_Install.zip:
00:00:33.171 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\UsersOnline_3.1_Install.zip:
00:00:33.421 -   Installing Module File c:\inetpub\wwwroot\dnn2\Install\Module\XML_3.1_Install.zip:
00:00:33.703 - Executing Additional Scripts:
00:00:33.718 -   Creating Portal: My Website
00: -   Error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_dnn2_TabPermission_dnn2_Permission". The conflict occurred in database "dbPortal", table "dbo.dnn2_Permission", column 'PermissionID'. The statement has been terminated.
00: -   Portal failed to install:
00: - Installing Optional Resources:

Installation Complete
...

I've never seen such message in 4.0.0. Can this be the cause of the problem?

 
New Post
1/28/2006 12:01 PM
 
Using MS Web Expess and SQL
I get the same error 'Portal failed to insall'
So poking around the code, I found this error:
\Install\Install.aspx.vb
  Private Sub AddPortal()
    tries to open the file "\Install\Portal\Portals.resources"  that is not there.

I did find this file in "\Portals\_defaults" though.

I will try to find another group to post this error in so we can get it fixed and move on.

  Craig A.
 
New Post
2/9/2006 5:54 PM
 

Any luck?  I encountered this when installing a second DNN instance, but using a different objectQualifier.  The install fails with:  Error: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_dn2_TabPermission_dn2_Permission". The conflict occurred in database "tronix", table "dbo.dn2_Permission", column 'PermissionID'. The statement has been terminated.

Where dn2 is my objectQualifier in the web.config file.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.0.2: Object reference not set to an instance of an object4.0.2: Object reference not set to an instance of an object


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