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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


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.

 


Alliance Systems & Programming Inc
Alliance is not just our name... it's how we do business. We partner with our clients, learning their business processes and standards and then applying our expertise to help them improve their workflow and profitability.
www.Alliancesys.com
Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com

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