Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Users Online Mo...  Object reference not set to an instance of an object - PORTAL?
Previous Previous
 
Next Next
New Post 2/18/2006 8:03 PM
User is offline Kevin Cross
1 posts
10th Ranked


Object reference not set to an instance of an object - PORTAL? 

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 10:53 AM
User is offline Paul Gerrish
14 posts
10th Ranked


Re: Object reference not set to an instance of an object - PORTAL? 

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/17/2006 10:19 PM
User is offline Brandon Auger
2 posts
www.re-invent.com/ProductPages/DotNetNukeHosting/tabid/89/Default.aspx
10th Ranked




Re: Object reference not set to an instance of an object - PORTAL? 
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 1:52 PM
User is offline Karol Golka
2 posts
webstruments.com
10th Ranked


Re: Object reference not set to an instance of an object - PORTAL? 
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 3:42 AM
User is offline Sander Stortelers
73 posts
10th Ranked


Re: Object reference not set to an instance of an object - PORTAL? 

maby this post can help out

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

Hope this helps,Sander

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Users Online Mo...  Object reference not set to an instance of an object - PORTAL?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP