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 ...Problem after installing dnn 4Problem after installing dnn 4
Previous
 
Next
New Post
7/30/2006 2:39 PM
 

I had just installed DNN 4 and if told me that the installation is successful. After clicking the link of viewing the portal I got the following error.

 

Can some one assist me and help me please?

 

 

Server Error in '/dnn_source' 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) +125
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) +83
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +3797
   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

 
New Post
7/31/2006 5:51 AM
 

Hey!,

Last week a collegue of ours experienced the same problem. Insufficient rights on the file system causes the problem. You have to check if the "ASP.Net" useraccount has read (or better only "list folder contents") rights from the root till your application folder. Probably your ASP.Net account only has read or write access starting at the application folder.

Solution example:

set read-access (or "list folder contents") for the ASP.Net-account on:
c:\ or d:\
set write & modify-access for the ASP.Net-account on:
d:\inetpub\myWebsite\website

It seems to be that the problem is that de ASP.Net-account must be able to check the full path, in order to create a folder during installation (a portal-folder is being created during installation). Normally on the most servers, the people forget to remove the rights for "Everyone" on the root, so the ASP.Net account has already read-access through the "Everyone"-group. However, the people who do think about and setup their access on a secure way, are running against this problem during installation

I'm new with DotNetNuke myself, so I hope this helps you out. I also don't know if this is a general problem, or just an issue with this version of DotNetNuke. Let me know if this helped you out!

Greetz

Markuz

 
New Post
8/9/2006 3:51 PM
 
I had the same problem and it seems everyone in this forum is asserting it is a folder permission problem, which was not my issue at all. After digging into the code (kudo to open source!), I found the code is expecting some default settings from DB and they are not there.

Info:
(1) fresh install
(2) using Sql server 2000, DNN 4.3.4
(3) install ran OK, but got the error when I tried to access the local dnn site

What I did to fix it:
The tables Portals, PortalAlias and Modules were empty.
(1) open the Portals table and create a row with PortalName="_default"
(2) open the PortalAlias table and create a row with Alias="_default"
(3) open the Modules table and set PortalID = 1 (because the portalID in the new row in the Portals table is 1)

This is it! I wish the upgrade script could check that if it's a fresh install then populate these data. That would save  a lot of frustration.
 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem after installing dnn 4Problem after installing dnn 4


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