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  |  

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


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
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
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Gallery Module ...  Argument 'Length' must be greater or equal to zero
Previous Previous
 
Next Next
New Post 12/9/2007 2:54 PM
User is offline Ghermz
10 posts
10th Ranked


Argument 'Length' must be greater or equal to zero 

I wasn't sure if I should posted this in the forums or gallery module forums but I believe the source of the problem is from the gallery module. When users try to change their avatars in the forums, the following error occurs. (if I should post this in the "forums module" forums, let me know).


Server Error in '/' Application.
--------------------------------------------------------------------------------

Argument 'Length' must be greater or equal to zero.
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.ArgumentException: Argument 'Length' must be greater or equal to zero.

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:

[ArgumentException: Argument 'Length' must be greater or equal to zero.]
   Microsoft.VisualBasic.Strings.Left(String str, Int32 Length) +149751
   DotNetNuke.Modules.Gallery.GalleryFolder.Populate() +4076
   DotNetNuke.Modules.Gallery.Utils.PopulateAllFolders(GalleryFolder rootFolder) +39
   DotNetNuke.Modules.Gallery.Config..ctor(Int32 ModuleID) +5320
   DotNetNuke.Modules.Gallery.Config.GetGalleryConfig(Int32 ModuleID) +74
   DotNetNuke.Modules.Forum.Integration.GalleryAddFile.Page_Load(Object sender, EventArgs e) +113
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
 

 


--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

 
New Post 12/12/2007 3:48 PM
User is offline Matthias Schlomann
1272 posts
www.taunusstein.org
6th Ranked








Re: Argument 'Length' must be greater or equal to zero 

If you are using DNN 4.6.x or higher the Gallery Module is not working.  Also the Gallery Module is still Beta.  Then Upgrade to Forum 4.3.0 .  Forum Module 4.3.0 needs as min. DNN 4.4.0 !

Regards

Matthias


Regards
Matthias
www.moonlightradio.net
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Gallery Module ...  Argument 'Length' must be greater or equal to zero
 


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.

 


Ultra Media Gallery & Video Gallery
The most popular photo gallery and video gallery module. with Flash interface.
www.bizmodules.net
WDK Solutions
Quality modules for the DotNetNuke community. Check out our 'wild' modules!
wdkns.com
UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk

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