DNN Hosting Register Login
 
Latest Discussions Minimize
Comments by userID by daviking
Thank you for a great product! I am really enjoying working with the new UMG5 ga...
users add albums by OKCChopper
I want my users to be able to add there own albums but not delete others.. can t...
UVG Videos to play in Smart Phones by Ibbs
HiIs it possible for UVG videos to be played on Smart phones. e.g black berry or...
Copy to another page by OKCChopper
I want to copy the module to another page and also have access to the same album...
How to add a link to view all videos? by anthonyar
Sorry this is a newbie question...i want to add a link to the menu to VIEW ALL t...
Personal vs Profile mode by coolvibe
I carefully read the description for both modes. but, I'm not exactly sure which...
Permission Check Failed by tbredweb
I am getting the message: The binary pack is not installed, or ASPNET/Network_Se...
Furniture Showroom major crash by myearwood
Hi PengstenI sent you an email via service@bizmodules.net. It concerns the furni...
Top photos windows size restriction by OKCChopper
I have it so that i can restrict the size of the photos. However since some arn...
Users add photos by OKCChopper
Is there a way for users to add images to the correct album with out having acce...
Our Partnership Minimize
If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!
Support Forum Minimize
Subject: "Out of memory" when uploading new photos
Prev Next
You are not authorized to post a reply.

Author Messages
Jereme Downs
Posts:4
Bronze Member

03/14/2008 11:15 AM  
When I try to upload a photo, I get an "out of memory" error. I have one 1 gallery with multiple albums, and all the albums already have some pictures. The server my site was hosted on recently crashed and they had to move me to another server, which at that point I had to apply the folder/file permissions again to my portal. Maybe there's something else I need to re-configure to resolve this?

Here's the event log:

ModuleId: 932
ModuleDefId: 185
FriendlyName:
ModuleControlSource: DesktopModules/BizModules - UltraPhotoGallery/UltraPhotoGallery.ascx
AssemblyVersion: 04.06.02
PortalID: 8
ActiveTabID: 354
ActiveTabName: Photos of the Inn
RawURL: /PhotosoftheInn/tabid/354/mid/932/adminCtl/EditPhoto/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ab2f411d-d24a-43c2-baa9-a3c506bdfe0f
InnerException: Out of memory.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Drawing.Graphics.CheckErrorStatus
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Out of memory. ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttrs, DrawImageAbort callback, IntPtr callbackData) at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback) at System.Drawing.Graphics.DrawImage(Image image, Rectangle destRect, Int32 srcX, Int32 srcY, Int32 srcWidth, Int32 srcHeight, GraphicsUnit srcUnit, ImageAttributes imageAttr) at BizModules.UltraPhotoGallery.FileSystemController.ResizePicture(String strFilePath, Int32& intThumbnailWidth, Int32& intThumbnailHeight) at BizModules.UltraPhotoGallery.FileSystemController.AddPhoto(PhotoInfo& objPhotoInfo, AlbumInfo objAlbumInfo, HttpPostedFile postedFile) at BizModules.UltraPhotoGallery.PhotoController.AddPhoto(FileSystemController objFileSystemController, PhotoInfo objPhoto, HttpPostedFile photo, Boolean bolLinkOriginalFile) at BizModules.UltraPhotoGallery.ucEditPhoto.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: DNPWEB2-TX2
Pengtsen R
Posts:5179


03/14/2008 8:30 PM  
how big is your photo?

Pengtsen R
http://www.bizmodules.net
Jereme Downs
Posts:4
Bronze Member

03/18/2008 7:43 AM  
1.2 megs, smaller than the previous images I've uploaded successfully. I have the album resize to 800x600 upon upload.
Pengtsen R
Posts:5179


03/19/2008 7:10 AM  
I'm not sure why a 1.2mb picture cause a out of memory error, can you try it again? if possible, try another picture with similar size.

Pengtsen R
http://www.bizmodules.net
Jereme Downs
Posts:4
Bronze Member

03/19/2008 7:23 AM  
I've tried to upload different pictures, larger and smaller, and get the same error.
Pengtsen R
Posts:5179


03/19/2008 7:43 PM  
can you give me a host account? if so, please send to rongers@hotmail.com

Pengtsen R
http://www.bizmodules.net
Jereme Downs
Posts:4
Bronze Member

03/20/2008 2:01 PM  
I resized the images all the way down to around 60k and was able to upload them successfully. I'm not sure how I was able to upload the 1+mb images before, but I don't anticipate ever having images of very high resolution anyway so I will just resize them before I upload instead.

Thanks for your help.
Jereme
Pengtsen R
Posts:5179


03/20/2008 8:22 PM  
that's ok.

actually I tried to upload 4mb pictures before and it works fine.

Pengtsen R
http://www.bizmodules.net
jason dudley
Posts:31
Golden Member

08/11/2008 10:48 AM  
Could this error be due to a large resolution. I have some images that are around 612kb but the resolution is 3600 x 2400 I get the out of memory exception.
Pengtsen R
Posts:5179


08/11/2008 5:30 PM  
yes, if your pictures have large resolution then you should reduce the files in zip file.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Ultra Media Gallery > Support Questions > "Out of memory" when uploading new photos

Enterprise level DotNetNuke Solutions Copyright © 2005-2008 BizModules   |  Contact Us  |  Terms Of Use  |  Privacy Statement