David Poindexter Posts:16


 |
| 08/21/2008 2:43 PM |
|
We are getting the following error now when trying to upload new images. Any ideas why?
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException:
Parameter is not valid. ---> System.ArgumentException: Parameter is
not valid. at System.Drawing.Image.Save(String filename, ImageCodecInfo
encoder, EncoderParameters encoderParams) at
BizModules.UltraPhotoGallery.FileSystemController.SaveJpeg(String
strPath, Bitmap b) 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 ---
|
|
David Poindexter DP Limited www.dplimited.us |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 2:47 PM |
|
| By the way, we can upload via DNN File Manager just fine. |
|
David Poindexter DP Limited www.dplimited.us |
|
|
Pengtsen R Posts:5448

 |
| 08/21/2008 5:33 PM |
|
is your picture readonly? can you upload pictures to the "large folder" of an album in UMG? the large folder can be seen in Manage menu -> Pick an album. thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 5:53 PM |
|
| The JPG is not read-only and we can't upload it to the "large folder". We get the error when we click "Add New", enter the appropriate fields (Title, Description, Photo) and click "Save & Continue" or "Save & Exit". |
|
David Poindexter DP Limited www.dplimited.us |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 5:55 PM |
|
Here is some additional information from the Event Viewer: ModuleId: 412 ModuleDefId: 131 FriendlyName: ModuleControlSource: DesktopModules/BizModules - UltraPhotoGallery/UltraPhotoGallery.ascx AssemblyVersion: 04.08.04 PortalID: 0 PortalName: The Visible Group UserID: 1 UserName: host ActiveTabID: 59 ActiveTabName: identity & brand development RawURL: /Default.aspx?TabId=59&mid=412&adminCtl=EditPhoto AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://thevisiblegroup.dplimited.us/solutions/identitybranddevelopment/tabid/59/mid/412/adminCtl/EditPhoto/Default.aspx UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 62170c6a-b743-4bb2-b5bd-d80675799767 InnerException: Parameter is not valid. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.Drawing.Image.Save StackTrace: Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Parameter is not valid. ---> System.ArgumentException: Parameter is not valid. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at BizModules.UltraPhotoGallery.FileSystemController.SaveJpeg(String strPath, Bitmap b) 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: DPLIMITED |
|
David Poindexter DP Limited www.dplimited.us |
|
|
Pengtsen R Posts:5448

 |
| 08/21/2008 8:21 PM |
|
| what error do you get if you upload your picture to the large folder in DNN file manager? |
|
Pengtsen R http://www.bizmodules.net |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 8:44 PM |
|
No error while uploading to that folder via DNN File Manager. However, if I go back to the gallery (Manage) and "Synchronize", I get the following error: 0 photos synchronized Error Occured: Bad image file |
|
David Poindexter DP Limited www.dplimited.us |
|
|
Pengtsen R Posts:5448

 |
| 08/21/2008 8:46 PM |
|
so, please email me your picture, and a host account so I can try it by my self. thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 8:53 PM |
|
| Okay, will send to rongers@hotmail.com. Is that the correct email address? |
|
David Poindexter DP Limited www.dplimited.us |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 8:54 PM |
|
| Or should I send it to service@bizmodules.net? |
|
David Poindexter DP Limited www.dplimited.us |
|
|
Pengtsen R Posts:5448

 |
| 08/21/2008 8:55 PM |
|
yes. thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 9:01 PM |
|
| Okay, just sent. |
|
David Poindexter DP Limited www.dplimited.us |
|
|
Pengtsen R Posts:5448

 |
| 08/21/2008 9:02 PM |
|
| I got a registration email but I don't know the password, and please email me your pictures too. |
|
Pengtsen R http://www.bizmodules.net |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 9:12 PM |
|
| I emailed your password, along with the image, at 12:01am. Just in case that email doesn't come through, I just sent the email again. |
|
David Poindexter DP Limited www.dplimited.us |
|
|
David Poindexter Posts:16


 |
| 08/21/2008 9:37 PM |
|
| For all those following this thread, this ended up being a crazy issue. Evidently the graphic designer I am working with on this project was creating TIFF images, but with a JPG extension. Not sure how he is doing that, but that's what was causing UMG to throw and error. As soon as I converted the images to actual JPGs, uploads worked great! |
|
David Poindexter DP Limited www.dplimited.us |
|
|
Pengtsen R Posts:5448

 |
| 08/21/2008 9:44 PM |
|
| great |
|
Pengtsen R http://www.bizmodules.net |
|
|