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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Installer Utili...  InstallWizard.aspx - step 6 (Install Host Portal) dies with "Object reference not set to an instance
Previous Previous
 
Next Next
New Post 5/9/2007 4:46 AM
User is offline ceez
2 posts
10th Ranked


InstallWizard.aspx - step 6 (Install Host Portal) dies with "Object reference not set to an instance 

I'm trying to install using the DotNetNuke_04.05.01_Source and all seems to work ok, compiling, access, etc., but the installation dies during the install wizard.

Specifically, InstallWizard.aspx - step 6 (Install Host Portal) . 

Error Installing Portal:
Object reference not set to an instance of an object.

Following things in the debugger, this is I as far as get...

InstallWizard.aspx.vb (InstallPortal)  -->  PortalController.vb (CreatePortal)  --> at line 1200 objAdminUser.Username = Username     -->  UserInfo.vb  (UserName property)  --> at line 299  Me.Membership.Username = Value   --> UserInfo.vb  (Membership property)  -->  at line 197   UserController.GetUserMembership(Me)  -->  UserController.vb  (GetUserMemberships)  -->  at line 586 memberProvider.GetUserMembership(objUser)  causes the error. 

Oh, duh!!  I could have just copy and pasted in the stack trace.  Here it is:

Error creating Administrator user account.Object reference not set to an instance of an object.   at DotNetNuke.Entities.Users.UserController.GetUserMembership(UserInfo& objUser) in C:\DotNetNuke_04.05.01_Source\Library\Components\Users\UserController.vb:line 589
   at DotNetNuke.Entities.Users.UserInfo.get_Membership() in C:\DotNetNuke_04.05.01_Source\Library\Components\Users\UserInfo.vb:line 197
   at DotNetNuke.Entities.Users.UserInfo.set_Username(String Value) in C:\DotNetNuke_04.05.01_Source\Library\Components\Users\UserInfo.vb:line 299
   at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String PortalName, String FirstName, String LastName, String Username, String Password, String Email, String Description, String KeyWords, String TemplatePath, String TemplateFile, String HomeDirectory, String PortalAlias, String ServerPath, String ChildPath, Boolean IsChildPortal) in C:\DotNetNuke_04.05.01_Source\Library\Components\Portal\PortalController.vb:line 1200

 Anyway, I know it's gotta have something to do with the memberships provider, but I'm not sure what to do next and that was as far as I could go with the debugger.

Help me Obi Wan Kenobi, you're my only hope...

c

 
New Post 5/11/2007 2:52 AM
User is offline ceez
2 posts
10th Ranked


Re: InstallWizard.aspx - step 6 (Install Host Portal) dies with "Object reference not set to an instance 

Ok, so I figured this out.  It just had to do with not all of the projects loading, and therefore, compiling and working.  I guess I installed DNN in a folder with a bit too deed of a directory structure.  Visual Studi complained about not being able to have full filename and paths in the project that exceeded 260 chars.  Once I moved the folder from it's deep My Documents...... structure, VS was able to load all the projects, compile, and the wizard wenth though.  Of course I had to wipe out the old installation and database of course, since the old incomplete install info was still there and gave me problems.  So I wiped everything out and start over and all worked out.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Installer Utili...  InstallWizard.aspx - step 6 (Install Host Portal) dies with "Object reference not set to an instance
 


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.

 


DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace
ExactTarget Email Marketing Software and Solutions
ExactTarget delivers on-demand email software solutions for permission-based email marketing. ExactTarget offers solutions that meet the needs of all industry verticals and all size organizations, including SMB, corporate divisions, not-for-profits, large retail/direct marketers, agencies and enterprises.
ExactTarget.com
Sunset Hill Solutions - Consulting and Development
We offer general DNN consulting services - including custom module development and commercial module integration/setup.
www.sunsethill.ca

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