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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  An error has occurred
Previous Previous
 
Next Next
New Post 7/16/2008 5:09 AM
User is offline ruslan
9 posts
234
10th Ranked


An error has occurred 

i got this error message , can anyone tell me the problem

 

An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Skins.Controls.TreeViewMenu.BuildTree(DNNNode objNode, Boolean blnPODRequest) in C:\netduke\Admin\Skins\TreeViewMenu.ascx.vb:line 309 at DotNetNuke.UI.Skins.Controls.TreeViewMenu.Page_Load(Object sender, EventArgs e) in C:\netduke\Admin\Skins\TreeViewMenu.ascx.vb:line 422 --- End of inner exception stack trace ---

 
New Post 7/16/2008 7:30 AM
User is offline Jeff Cochran
1391 posts
6th Ranked


Re: An error has occurred 

The problem is you have an object reference not set to an instance of an object.  Something within your tree menu.  If we knew what you were doing when it happened we might be able to help more.

Jeff

 
New Post 9/14/2008 7:46 AM
User is offline alicia
2 posts
10th Ranked


Re: An error has occurred 

It is a problem with how the TreeViewMenu HTML tag has been defined in the VerticalMenu control.

The problem is, in fact, 2 folded:

1. The first part is in the TreeViewMenu control, BuildTree method, where the Level.ToLower method is used, regardless of the Level value. When 'Level' property is null, the BuilTree method will raise the above exception. So first step would be to check the Level property before using ToLower on it. And that will take care of the Exception.

2. The second part lays in the actual definition of the dnn:TreeView HTML tag in the Vertical Menu ascx control. In earlier versions level property was defined as 'root', but the later version will simply define only ID and Runat properties. If you define level='root' in the dnn:TreeView tag, then you won't see the exception even if you skip #1.

Hope it helps,

Alicia

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  An error has occurred
 


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.

 


Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com

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