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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineObject reference not set to an instance of an object - PORTAL?Object reference not set to an instance of an object - PORTAL?
Previous
 
Next
New Post
2/18/2006 11:03 PM
 

I've run out of ideas and see forum problems similiar, but not like this. Install guide was following three times letter by letter. Cleaned out and tried a fourth time with same results and went to reasearch mode.

I am doing a Fresh install DNN 4.0.2, from starter kit usuing VS2005 and publish to IIS location configured for .NET2x and has proper permissions in place.

IIS5 Win XP Pro, SQL Server 2005 on a 2003 Server
Installation seems to run OK down to where it installs portals , then it burbs
Trying to go to home page after install results in the following message:

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

 

Any help greatly appreciated:

 

 
New Post
2/21/2006 1:53 PM
 

Exactly same problem on click to access portal and I see there is another thread with others with same problem. Have you found a solution yet? If so can you post it.

Paul

Sheffield UK

 
New Post
3/18/2006 12:19 AM
 
During Installation DNN needs to write to your DNN Application folder. You need to make sure you have Proper file permissions for the ASPNET, Network Service, INET_USR, etc for R/W on that folder. 
 
New Post
5/28/2006 3:52 PM
 
Can you be a little more specific? Which DNN application folder? I'm installing for the first time, and so far, this is an extremely ugly process....

This is what my installation "log" looks like so far....

--------------------------------------------------------------------------------------------------
DNN 4.0 Setup Issues
---------------------------------------
- installed starter kit
- created new website from VS 2005
- manually changed asp.net version to 2.0 in IIS
- created new DB in SQL 2005
- created new login for SQL 2005: ERRORS
    - 18452: Login failed (solution - change SQL Server to mixed authentication mode)
    - 233: ASP.NET process? No, Named Pipes! (SQL Configuration Tool, Named Pipes turned on), restart
- refer to localhost/{dnn_website_name}/documents/welcome.html
- changed release.config to web.config
** VS 2005 generally REALLY, REALLY slow (eg. changes to web.config, just file access, no rebuild, 30+ seconds saving) **
- changed sql connection string (non-sql express, full 2005) (and in <appSettings> section):
 <!-- Connection String for SQL Server 2000/2005 -->
    <add
      name="SiteSqlServer"
      connectionString="Server=.;Database=dnnstruments;uid=dnnstruments;pwd=webstruments;"
      providerName="System.Data.SqlClient" />
- VS really slow solved: recent projects list manually removed from registry :)  http://forums.asp.net/thread/1184416.aspx
- NTFS permissions added: NETWORK SECURITY, through file explorer, full control, inheritable to all
- rebuilt solution in VS
- ERROR: failed to access IIS metabase, tried:
    - connected to SmithBucklin VPN (b/c aspnet_regiis -ga ASPNET wasn't working
    - then, inheritable permissions for IUSR_WCHI1380 and IWAM_WCHI1380
    - then, ran aspnet_regiis -ga for IUSR_WCHI1380 and IWAM_WCHI1380 (IIS process launch and Internet guest account)
    - where's ASPNET user account?
    - that worked though
- ERROR: mutex could not be created
    - had to do http://forums.asp.net/1109781/ShowPost.aspx
    - basically, close VS, and delete temporary asp.net files from .net 2.0 folder   
- Then got an ERROR: Object reference not set to an instance of an object.
    - http://forums.asp.net/thread/1137232.aspx
    - that didn't help
  --------------------------------------------------------------------------------------------------

I'm running XP pro, sql server 2005, vs 2005, http solution (not file), IIS 5.0.

You can see that I got through a lot of s*** and now this one has just stumped me. Please help me re-kindle my weening faith in DNN.


 
New Post
5/29/2006 5:42 AM
 

maby this post can help out

http://forums.asp.net/1114393/ShowPost.aspx

Hope this helps,Sander

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineObject reference not set to an instance of an object - PORTAL?Object reference not set to an instance of an object - PORTAL?


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