DotNetNuke ® Portal and Module Development - www.schelian.com

 Search



Forum


 Forum update Minimize

Today: 09/12/2005 we have setup our new dedicated English forum.

From today on, please use this forum instead of the English forums on DNNPortal.DE.

I will lock the English forums on DNNPortal.DE.



 Forum Minimize
SearchForum Home
     
  DNNPortal-Download  Using the DNNPortal-Download  Max portal size...
 Max portal size 2GB? Can't upload anymore
 
imgOfflinedbhertel
2 posts
Joined
1/25/2006

Max portal size 2GB? Can't upload anymore
Posted: 09 Mar 06 4:39 PM (United States)
Hans-Peter,
   I've posted a bug on the DNN site -- I belive the root cause of the upload error described below is because of a 2GB limit on the portal size.  I've tried a few different things and each time the portal size exceeds 2GB, I can no longer upload files and File Manager also stops working.

As a workaround, I am considering using the source code you've graciously provided and customizing the module. But I have a couple questions:

1) I am assuming I'll be able to customize the way files are stored, so they are NOT stored under the directory hierarchy of the portal.  Do you foresee any problems with this?  
  My thinking is that if I customize the storage so the files are outside the portal, the 2GB limit won't be reached and hence the problem avoided.

2) I am using the DNNportals module to upload MP3 files for my
church .  The download module is allowing people to download the MP3 files before playing them.... But I'd like an option to play the MP3's in streaming mode too.   Are you aware of anyone that has already modified your DNNdownload module to provide a streaming-download option?  I'd love to talk to anyone that has already done this, rather than  build from scratch.

Thanks

-----Original Message-----
Sent: Friday, February 24, 2006 7:16 PM
Subject: RE: [NEWSENDER] - Source module for Filter options? - Message is from an unknown sender

Hans-Peter,
 
 I've ran into an issue with the download module -- I'm getting error:  "A Critical error has occurred"  "Value was either too larger or too small for an Int32"

I have uploaded 74 files without any problems... But can't seem to do any more.  I will test to see if some type of limit on the # of uploads has been reached by removing one of the existing 74 and then retrying... Testing to see if the 75th is some odd barrier.

If you have any input, please let me know.  Thanks
imgOfflinedbhertel
2 posts
Joined
1/25/2006

Re: Max portal size 2GB? Can't upload anymore
Posted: 14 Apr 06 10:05 PM (N/A)

The problem has been fixed by doing 2 steps:
1.  Changing the core DNN code in GetPortalSpacedUsed to use a Int64 rather than Int32.  See here for more details: http://forums.asp.net/thread/1206316.aspx

2. After the core framework was working, i.e. File Manager worked beyond the 2GB limit, then I had to recompile the DNN-Download module.  Apparently it had to recognize the changes made to the dotnetnuke.dll file too.  Recompiling to get a new HPS.DnnPortal.Download.dll file and replacing it too (in addition to step 1 above) fixed the problem.

Hope this helps someone...

  DNNPortal-Download  Using the DNNPortal-Download  Max portal size...


Page generated in 0.40625 seconds.