Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN file manager shows Files sizes in negative values. DNN file manager shows Files sizes in negative values.
Previous
 
Next
New Post
3/29/2015 10:20 AM
 

Hello,

In my DNN site, I am having files of sizes upto 3 GB.  Some files are less than 1 GB. The files of size less than 1 GB are not having problems. But the files of size greater than 1 GB are shown in negative values. For example, for a file of size around 2.7 GB is showing the file size as "-1,509,292,828.0 B". How can we fix it? Any kind of help would be great.

 The DNN version is 7.4.0. 

Thanks and Regards,
Dazzlers

 
New Post
3/31/2015 6:19 AM
 
Hello

Any one has any idea about why this happens? Please help.
 
New Post
3/31/2015 6:26 AM
 
this is a known issue (already reported), due to DNN using int32 and not int64 for sizes - and int32 has a range from approx. -2 bn to 2 bn, i.e. sizes between 2 and 4 bn are interpreted as negative values, larger values will result in an overflow. This Needs to be fixed in DNN core Framework.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/1/2015 5:09 PM
 
Hello Sebastian,

Thank you so much for the update. What should be done at the DNN core framework. Is there any files which I need to edit? I was looking in to the Filemanager.ascx file where the File size variable used by the table to show the File size was set to Int32. I tried to change it to Int64 but it didn't fix it. Any advice would be great.

Thanks,
Dazzlers.
 
New Post
4/1/2015 7:20 PM
 
I assume, it is not only the file manager, but also FileSystem Utilities in the core framework, which need to be modified and DotNetNuke.dll being recompiled.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN file manager shows Files sizes in negative values. DNN file manager shows Files sizes in negative values.


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