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 ...Object reference not set to an instance of an object.Object reference not set to an instance of an object.
Previous
 
Next
New Post
6/9/2006 5:51 PM
 
DNN 4.0.3
.net 2.0
windows server 2003

THis is the error I get:

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

 
New Post
7/3/2006 4:06 PM
 
I'm getting same error on Server 2003. I get this error trying to browse to the site after 'crashing' during the install process (it crashes right after 'Configuring SuperUser:' - I get the same Object Not Set.. but the stack shows the call to CreateObject(...))...
 
New Post
7/3/2006 6:24 PM
 

I'm getting same error on windows 2003. i give all permissions to asp.net user and network service user to the website directory? how do i solve this problem?   

 

before this error i take

error creating website : my website

and this

 

 

Server Error in '/DotNetNuke_2' 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) +3908
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


 

 

please help meeeeeeeeeeeeeeeeeeeeeee!

i will late my work tomorrow

but i cant solve

ihsan

 
New Post
7/4/2006 12:30 AM
 

akinihsan

Make sure you have the right permissions:

you said Windows 2003 Server and ASPNET account - it should be NETWORK SERVICE account (or check the DefaultAppPool identity tab in IIS 6.0 for the appropriate account if this is a server used by others)  Make sure your IIS site is set to use .net 2.0 and the DefaultAppPool is set to 2.0 too. 

For Windows XP Pro - it should be ASPNET account

 
New Post
7/4/2006 6:30 PM
 

thanks for your reply. but i cant run correctly.  i configured asp.net 2.0 my default web site in iis. NETWORK SERVICE and asp.net users have full permission to website folder. i am deleting permissions and reset permissions for network service and asp.net users. but its dont work correctly. its very important for me. i was open project in visual studio for debug project. but i cant run project correctly. how can i run this project corretly. its very important for me wedwardbeck. can u send me iis virtual directory xml file  (using save configuration file in iis for  win2003), your web.config file, your new (empty)database script and your dotnetnuke version?

i am fallowing this way:

  • create new database in sql 2005 name of DotNetNuke with owner account. (user222)collution :SQL_Latin1_General_Cp1254_CI_AS
  • set up web.config file for sql 2005 permissions as that

<!-- Connection String for SQL Server 2000/2005-->

<add

name="SiteSqlServer"

connectionString="Server=SIMETRI96;Database=DotNetNuke;uid=user222;pwd=123123;"

providerName="System.Data.SqlClient" />

  • set up webconfig for application name (same in iis) as that

<add name="AspNetSqlMembershipProvider"

type="System.Web.Security.SqlMembershipProvider"

connectionStringName="SiteSqlServer"

enablePasswordRetrieval="true"

enablePasswordReset="true"

requiresQuestionAndAnswer="false"

minRequiredPasswordLength="7"

minRequiredNonalphanumericCharacters="0"

requiresUniqueEmail="false"

passwordFormat="Encrypted"

applicationName="DotNetNuke_2" (its my application name in iis)

description="Stores and retrieves membership data from the local Microsoft SQL Server database" />

  • asp.net and network service users have permission in the all child folders in website folder
  • but it isnt work correctly
  • my dotnetnuke version is DotNetNuke_4.3.2

if you can help me i blessing for you

ihsan akın

from turkey

 

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Object reference not set to an instance of an object.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