|
Latest Discussions
|
 |
|
|
|
|
 |
|
Support Forum
|
 |
|
| Author |
Messages |
|
Jereme Downs Posts:4

 |
| 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

 |
| 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

 |
| 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

 |
| 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

 |
| 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. |
|
|
|
|
|
|
 |
 |
|
 |
|