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: Add Photo's from ZIP File - Error
Prev Next
You are not authorized to post a reply.

Page 1 of 212 > >>
Author Messages
John Liptak
Posts:34
Golden Member

08/30/2006 6:19 AM  
Hi,
I'm trying to add a zip file of photo's using the "Add Photo" link ad i'm getting an error.  Here are the steps;

1 - Select an album from the dropdown list
2 - In the "Photo (zip of jpg)", I use the Browse button to select my zip file.
3 - Press "Save & Exit"

I get the following error;

Firefox - A page loads that says "The connection was reset"
IE6 - a page loads that says "The Page Cannot be displayed".

It works ok when i select a single JPG file but wont work with a zip file?.  Any ideas?

The following message was in the site log.

AssemblyVersion: 04.03.04
PortalID: 0
PortalName: Alternate View
UserID: 1
UserName: host
ActiveTabID: 69
ActiveTabName: Media Gallery
RawURL: /Undecided/MediaGallery/tabid/69/mid/477/adminCtl/EditPhoto/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://alternateview.info/Undecided/MediaGallery/tabid/69/mid/477/adminCtl/EditPhoto/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5bbed98e-b7c7-415f-988a-5402781cee00
InnerException: Maximum request length exceeded.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.HttpRequest.GetEntireRawContent
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Maximum request length exceeded. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: VIEWMOBILE



Cheers
Pengtsen R
Posts:5179


08/30/2006 9:19 AM  
This is not a bug, it is a configuration issue, the file size of your zip file exceed max request length which is set in web.config.

To fix it, you can upload smaller zip file or edit your web.config to enlarge max request length.

To edit it in web.config, you can search for "maxRequestLength" and try to increase it.

Thanks.

Pengtsen R
http://www.bizmodules.net
John Liptak
Posts:34
Golden Member

08/30/2006 8:55 PM  
The fixed worked.  Thanks.
Pengtsen R
Posts:5179


08/30/2006 9:04 PM  
Good, hope you enjoy it.

Pengtsen R
http://www.bizmodules.net
Ken Florian
Posts:5
Bronze Member

12/08/2006 7:09 PM  
I have a similar problem. I've correctly increased the max size in web.config to something high...50000...I cannot successfully upload a zip file larger than 4 megs. Upload simply appears to timeout...with this screen Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. and the log file seems to contain nothing very helpful AssemblyVersion: -1 PortalID: -1 PortalName: UserID: -1 UserName: ActiveTabID: -1 ActiveTabName: RawURL: AbsoluteURL: AbsoluteURLReferrer: UserAgent: DefaultDataProvider: ExceptionGUID: InnerException: Unhandled Error: FileName: FileLineNumber: -1 FileColumnNumber: -1 Method: StackTrace: Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Request timed out. --- End of inner exception stack trace --- Source:
Pengtsen R
Posts:5179


12/09/2006 5:25 AM  
I think you have to enlarge "RequestTimeOut" option.

Thanks.

Pengtsen R
http://www.bizmodules.net
mako s
Posts:4
Bronze Member

01/05/2007 6:51 AM  
Hello, I changed the maxRequestLength to 9100 but I still cannot upload more than 12 photos at a time. Is 9100 enought? I also tried to change RequestTimeOut as you said in a previous posting but "RequestTimeOut" is not in my web.config. I am very confused. Thank you! M
Pengtsen R
Posts:5179


01/05/2007 7:40 AM  
9100 means about 9M, if your zip file is bigger than 9M, you may need to increase it further.

RequestTimeOut should be "executionTimeout", which is in same node as "maxRequestLength", if you can't find it in your web.config, you can safely add it.

Please note if maxRequestLength is not enough, you will get an error saying "maximum request length exceeded", if executionTimeout is not enouth, you will see "The page can't be displayed"

Thanks.

Pengtsen R
http://www.bizmodules.net
Mitch Webster
Posts:1
New Member

05/06/2007 1:02 AM  
We are trying to upload zip files (rather than loading a photo at a time for example)



We get the following error message:



The INSERT statement conflicted with the FOREIGN KEY constraint "FK_FolderPermission_Folders". The conflict occurred in database "northgate_org_nz", table "dbo.Folders", column 'FolderID'. The statement has been terminated.



Mitch
Pengtsen R
Posts:5179


05/06/2007 1:59 AM  
The most possible reason is your folder table, or folder permission table, is corrupted, you can try to run synchronize(recursive) in your Admin -> File Manager, if it doesn't work, you can create an admin account on your website for me and let me take a look. generally, this is irrelevant with UMG module.

Thanks.

Pengtsen R
http://www.bizmodules.net
Mark Turkel
Posts:10
Silver Member

06/26/2007 9:18 PM  
Hi - I'm having an issue saving a zip file of any size. I have adjusted my web.config as suggested above, but I'm only trying to upload a 2.4mb file anyway.

My Web.confg line:


Any help is REALLY Appreciated!
Thanks, Mark


Here's the error:
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: 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 BizModules.UltraPhotoGallery.FileSystemController.SaveJpeg(String strPath, Bitmap b) at BizModules.UltraPhotoGallery.FileSystemController.GenerateThumbnail(String strSrcPath, String strDestPath, String strFileName, Int32& intThumbnailWidth, Int32& intThumbnailHeight, Boolean bolRegenerate) at BizModules.UltraPhotoGallery.FileSystemController.AddPhoto(PhotoInfo& objPhotoInfo, AlbumInfo objAlbumInfo, String File) at BizModules.UltraPhotoGallery.PhotoController.AddPhoto(FileSystemController objFileSystemController, PhotoInfo objPhoto, String photo, Boolean bolLinkOriginalFile) at BizModules.UltraPhotoGallery.ucEditPhoto.cmdUpdate_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
Mark Turkel
Posts:10
Silver Member

06/26/2007 9:19 PM  
Web Config:
Opening and closing tags removed...

httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="30000" requestLengthDiskThreshold="30000"
Pengtsen R
Posts:5179


06/26/2007 11:26 PM  
The GDI+ error is due to permission configuration. please ensure ASPNET account and Network_Service account have full control on your portal root folder.

Thanks.

Pengtsen R
http://www.bizmodules.net
Mark Turkel
Posts:10
Silver Member

06/27/2007 5:05 AM  
Hi - They do. Network_Service and ASPNet users both have full control. I had to add the ASPNet user but nothing has changed.

Thanks for your help...
Mark
Pengtsen R
Posts:5179


06/27/2007 7:20 AM  
What's your DNN version?

Pengtsen R
http://www.bizmodules.net
Mark Turkel
Posts:10
Silver Member

06/27/2007 9:33 AM  
Hi - it's 04.05.01

I will upgrade it to the latest and greatest now and test again...
Pengtsen R
Posts:5179


06/27/2007 10:24 AM  
can you try to grant EVERYONE full control on your portal root folder?

Thanks.

Pengtsen R
http://www.bizmodules.net
Mark Turkel
Posts:10
Silver Member

06/27/2007 10:35 AM  
Hi - upgrade of DNN fixed the problem. Thanks for all of your help, and the extra fast response time! I will recommend you to a bunch of developers.

Thanks,
Mark Turkel, President
Palm Beach Software Design, Inc.
http://www.PalmBeachSoftware.com
Pengtsen R
Posts:5179


06/27/2007 10:40 AM  
quite strange, i didn't hear that DNN 451 will cause to this problem, I do know DNN 432 have this problem.

Thanks for your recommendation, I really appreciate it.

Pengtsen R
http://www.bizmodules.net
Mark Turkel
Posts:10
Silver Member

06/27/2007 12:22 PM  
This is off-topic, but I posted before, it said it was saved, but I can't find the question any more...

I uploaded pictures in a zip file (it's working)...set a price of $15 for the pictures, and it uploaded and set them to FREE. I don't have any way to change this? It's showing in a label, not a textbox. I'm logged in as HOST, and I'm the owner of the album and pictures, too.

How do I change the cost, so the shopping cart button is enabled, etc.?
You are not authorized to post a reply.
Page 1 of 212 > >>

Forums > Ultra Media Gallery > Support Questions > Add Photo's from ZIP File - Error

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