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.
  Ads  
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  4.0.9 /Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
Previous Previous
 
Next Next
New Post 9/22/2008 11:57 AM
User is offline Brian Begy
12 posts
www.chicagodatasolutions.com
10th Ranked


4.0.9 /Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0 

I tried to upgrade by copying the files over, assiging IUSR write privs, changing my web.config db entries to a copy of the production db, and disabling Ifinity.

When I hit default.aspx, i get a redirect to

/Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

Which tells me that something failed somewhere and when that something failed, an object that something else needed wasn't created.

It also tells me that somebody wrote some code with only minimal attention to error handling.   Of course there is nothing in the event log either.

Any suggestions?  Other than "use Joomla", that is?

 


Chicago Data Solutions logo
Brian Begy
Managing Partner
Chicago Data Solutions
 
New Post 9/22/2008 1:44 PM
User is offline Sebastian Leupold
15042 posts
www.deutschnetnuke.de
1st Ranked












Re: 4.0.9 /Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0 

not iUSR, but "Network Service" (or "ASPNET" on WinXP) requires full permission for the install directory tree.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 9/22/2008 2:25 PM
User is offline Brian Begy
12 posts
www.chicagodatasolutions.com
10th Ranked


Re: 4.0.9 /Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0 

IUSR, NETWORK SERVICE, AUTHENTICATED USERS, and EVERYONE  have write permissions on the directory and I get the same error...and absolutely nothing in the event log.

Can someone on the DNN core team please either learn how to use an error handler to provide useful error messages or stop doing it entirely? 

A useful error would be something like:  "Error: problem executing stored procedure 'sp_whatever'. cannot find 'sp_whatever'" .

Just barfing the whole stack trace would be a lot better than this. That I can figure out, but not telling me where the most generic of all dot net errors happened is totally unhelpful.

 

 

 

 

 

 


Chicago Data Solutions logo
Brian Begy
Managing Partner
Chicago Data Solutions
 
New Post 9/22/2008 5:16 PM
User is offline Sanjay Mehrotra
508 posts
www.acuitisolutions.com
8th Ranked




Re: 4.0.9 /Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0 

Brian - how about useful error = go use Joomla?

Ok jokes aside, have you taken a look at the Event Log (from within DNN)? This is stored in the sql database and this should have a more "detailed" explanation of the error. Also, if you're getting the whole barfed up stack trace, have you taken a look at that? 9 out of 10 times the clues are right there. How long have you used DNN? The error handler in DNN is pretty robust and does a pretty good job (IMHO) of logging errors as well as other events throughout the application...
If you could cut and paste the contents of the stack trace you're seeing or the last entry from your eventlogs table, I'm sure someone here would be able to help you out... Word of caution though - ask nicely!!.. People are more apt to help you out if you ask nicely rather than simply slamming the product with just 11 posts in the forums...
 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  4.0.9 /Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0
 


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.

 


Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com
Disgrafic
Diseño y creación de portales web dinámicos :: Desarrollo de módulos personalizados :: Soluciones a medida :: Imagen Corporativa :: Tu proveedor DNN en España
www.disgrafic.com

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