Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryArithmetic operation resulted in an overflow.Arithmetic operation resulted in an overflow.
Previous
 
Next
New Post
2/25/2010 11:25 AM
 

Hello,

After installing my site in the host. I checked the permissions and everything is ok.
But I have the following error when I add an album to a module Gallery :

AssemblyVersion: 04.09.04
PortalID: 0
RawURL: /Album/tabid/56/ctl/AlbumEdit/mid/454/action/addfile/Default.aspx
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e9dfc0ee-40b5-42bd-97c4-fdd2dd0b942f
InnerException: Arithmetic operation resulted in an overflow.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Gallery.GalleryUploadCollection.RefreshSpaceConstraints
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Arithmetic operation resulted in an overflow. ---> System.OverflowException: Arithmetic operation resulted in an overflow. at DotNetNuke.Modules.Gallery.GalleryUploadCollection.RefreshSpaceConstraints() at DotNetNuke.Modules.Gallery.GalleryUploadCollection..ctor(GalleryFolder Album, Int32 ModuleID, String FileListCacheKey) at DotNetNuke.Modules.Gallery.GalleryUploadCollection.GetList(GalleryFolder Album, Int32 ModuleID, String FileListCacheKey) at DotNetNuke.Modules.Gallery.WebControls.Upload.get_PendingFiles() at DotNetNuke.Modules.Gallery.WebControls.Upload.get_HasPendingFiles() at DotNetNuke.Modules.Gallery.WebControls.Upload.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Can anyone offer some suggestions that might help?
I'm desperate...

Thank you in advance for your attention.

 

 

 
New Post
2/25/2010 5:49 PM
 

Congratulations! You found a reproducable bug in the Gallery 4.03.00 module!

When logged in as host user, navigate to Admin-->Site Settings and open the section Advanced-->Host Settings. There you will find a field for Disk Space (in MB) which can be used to place a limit on the amount of disk space consumed by the portal. If the value is 0, there is no limit. If the value is set to more than 2047 MB (about 2 GB), Gallery will throw this exception which is due to overflow in a System.Long variable when you attempt to add a file.

The fix for now is to set the portals Disk Space value to either 0 (no limit) or less than or equal to 2047 (about 2 GB).


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryArithmetic operation resulted in an overflow.Arithmetic operation resulted in an overflow.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out