|
Latest Discussions
|
 |
|
|
|
|
 |
|
Support Forum
|
 |
|
| Author |
Messages |
|
Chas DW Posts:41

 |
| 04/17/2006 6:50 AM |
|
| I have created an album and added 1 picture, decided to upload them all to the gallery>id>large then go to moderation and click synchronize and get the following error:
UserName: admin
ActiveTabID: 53
ActiveTabName: Gallery
AbsoluteURL: /RedEarthSystems/Default.aspx
AbsoluteURLReferrer: http://dev.redearthsystems.com/redearthsystems/Gallery/tabid/53/mid/365/adminCtl/Moderation/useCtl/PhotoList/AlbumId/1/Default.aspx
ExceptionGUID: c1494fee-7245-42bc-a4b9-62ffe272829b
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: A generic error occurred in GDI+.
Message: DotNetNuke.Services.Exceptions.PageLoadException: A generic error occurred in GDI+. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) at System.Drawing.Image.Save(String filename, ImageFormat format) at BizModules.UltraPhotoGallery.FileSystemController.ResizePicture(String strFilePath, Int32 intThumbnailWidth, Int32 intThumbnailHeight) at BizModules.UltraPhotoGallery.FileSystemController.AddPhoto(PhotoInfo objPhotoInfo, AlbumInfo objAlbumInfo, String File) at BizModules.UltraPhotoGallery.PhotoController.UpdatePhoto(FileSystemController objFileSystemController, PhotoInfo objPhoto, String photo) at BizModules.UltraPhotoGallery.PhotoController.AddPhoto(FileSystemController objFileSystemController, PhotoInfo objPhoto, String photo) at BizModules.UltraPhotoGallery.PhotoController.Synchronize(FileSystemController objFileSystemController, Int32 albumId, Int32 userId) at BizModules.UltraPhotoGallery.ucPhotoList.cmdSynchronize_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Thanks for any help.
Chas |
|
|
|
|
Pengtsen R Posts:5179

 |
| 04/18/2006 9:58 AM |
|
Make sure your application has write access to the Portal Root/UltraPhotoGallery folder. There are a couple of ways of doing this, but the most simple would be to add your aspnet account to the ACL of the folder.
Thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
Frank Stevenson Posts:5

 |
| 04/24/2006 7:39 AM |
|
I am running into this, too.
Permissions are as follows: * DNN4 is running with trust="Full" * NETWORK SERVICE has Full Control for the root directory (and all subdirectories) where DNN is installed -- which includes the PortalRoot/UltraPhotoGallery folder
Are these permissions inadequate? If so, please be -very- specific as to what account (or service account) requires which permissions. I'd also like to know if those permissions are needed -only- on the the UltraPhotoGallery folder or if they need to be applied somewhere higher in the directory tree. Please be very specific as to where to apply the permissions, as well. I'm happy to follow instructions, but I need good ones to follow.
|
|
|
|
|
Pengtsen R Posts:5179

 |
| 04/24/2006 9:53 AM |
|
Ultra Photo Gallery doesn't need extra permissions set than other modules. just ensure the aspnet account(or NETWORK SERVICE) have full permission on the portal root.
You can try to upload a file to the portal root. if you can upload it successfully , please tell me the address of your portal( and maybe the password of your host account?) , if you can't upload it, you have to check the reason.
Thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
Chas DW Posts:41

 |
| 04/25/2006 2:55 PM |
|
| Figured it out, or should I say this worked for me...The album definition was checked to resize photos to a certain width and the uploaded photos were a lot larger.
When I unchecked that, updated and hit synchronize everything worked...
Thanks
Chas |
|
|
|
|
Pengtsen R Posts:5179

 |
| 04/25/2006 3:46 PM |
|
There must still be some curious problem with your server, the synchronize feature should work even you have Auto Resizing checked, but I can't figure it out :(
The good news is you can use if without the auto resizing feature.
Thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
Frank Stevenson Posts:5

 |
| 04/26/2006 4:54 AM |
|
Xue, I think there's simply a bug in the code. I say this because in order to rule out the possibility of permissions on the filesystem having -anything- to do with this problem, I temporarily set FULL permissions for 'Everyone' at the portalroot level.
The problem still manifested... and I did, indeed, verify that 'everyone' had permissions on the image I was trying to delete through the interface prior to attempting to do so...
Can you please look into this? This is a bug that will keep me from launching a site this weekend...
-- F |
|
|
|
|
Frank Stevenson Posts:5

 |
| 04/26/2006 4:57 AM |
|
Posted By Frank Stevenson on 04/26/2006 4:54 AM Xue, I think there's simply a bug in the code. I say this because in order to rule out the possibility of permissions on the filesystem having -anything- to do with this problem, I temporarily set FULL permissions for 'Everyone' at the portalroot level.
The problem still manifested... and I did, indeed, verify that 'everyone' had permissions on the image I was trying to delete through the interface prior to attempting to do so...
Can you please look into this? This is a bug that will keep me from launching a site this weekend...
-- F
Oh, I should note that my symptoms are slightly different from the initial poster's. I try to delete an image -- and it dutifully disappears from the UI. Then I click synchronize and it re-appears. IT seems the removal occurs in the database but the file's not purged from the file system ... and clicking synchronize causes it to get stashed -back- in the database (and re-appear on the UI)...
-- F |
|
|
|
|
Pengtsen R Posts:5179

 |
| 04/26/2006 8:06 AM |
|
Thanks for your report, exactly as you said ,it's a bug! I fixed it in my local computer and will include this fix in UPG 2.5.6. which will be publicly released some days later.
However, if you would like to obtain this version instantly, please contact me by "Contact Us".
Thanks. |
|
Pengtsen R http://www.bizmodules.net |
|
|
Frank Stevenson Posts:5

 |
| 04/28/2006 1:41 PM |
|
I can confirm this is fixed in UPG 2.5.6.
Thanks for the quick fix!
-- F |
|
|
|
|
Pengtsen R Posts:5179

 |
| 04/28/2006 1:58 PM |
|
That's good!
: ) |
|
Pengtsen R http://www.bizmodules.net |
|
|
|
| You are not authorized to post a reply. |
|
|
|
|
|
|
 |
 |
|
 |
|