Welcome Guest Search | Active Topics | Members | Log In | Register
Picture Uploads with .zip problems Options
shendrickson
Posted: Monday, November 17, 2008 1:46:05 PM
Rank: Newbie

Joined: 11/17/2008
Posts: 3
Location: USA
Good Day. I have a new installation that seems to be working just fine with the exception of being able to upload using the .zip feature. Is there a place to look for information about this? After I select the .zip file and click on upload, IE times out. The .zip file contains 50 pictures, all .jpg and no videos or other formats. The total size of the .zip file is 256 MB. I've adjusted the max upload size to 300MB but it still appears to be timing out. I don't really know where to look for errors either. Any suggestions would be apprecieated.

Steve.

File Attachment(s):
GalleryIssues.pdf (179kb) downloaded 2 time(s).


Roger Martin
Posted: Monday, November 17, 2008 1:57:44 PM
Rank: Administration

Joined: 8/3/2007
Posts: 847
Location: Fort Atkinson, WI
You should have the following section in web.config:

Code:
<location path="task/addobjects.aspx">
    <system.web>
        <httpRuntime maxRequestLength="2097151" executionTimeout="28800"/>
    </system.web>
</location>


This sets the timeout for the addobjects.aspx page to 8 hours (28,800 seconds). If you are not going over this time, then something else is happening. What is the exact text of the error message? What long after clicking upload does it happen?

I have noticed that HTTP in general does not work very well for uploading very large files. For this reason, I generally use FTP to load files into the media objects folder and then synchronize.


Roger Martin
Lead Developer for Gallery Server Pro
shendrickson
Posted: Tuesday, November 18, 2008 6:13:57 AM
Rank: Newbie

Joined: 11/17/2008
Posts: 3
Location: USA
Thank you for the prompt response. The value in the web config file is correct.
When I was trying this yesterday, the browser windows would just bring up the generic page that you see when you get a 404. Today I'm seeing a much better formatted 404 error message. I'm trying to do this from inside the local network. The progress window never shows any progress, it just sits there and then I get the 404 error. This is within 30 seconds too.

Thanks,

Steve.
Roger Martin
Posted: Tuesday, November 18, 2008 9:25:22 AM
Rank: Administration

Joined: 8/3/2007
Posts: 847
Location: Fort Atkinson, WI
Please provide more information about this "better formatted 404 error message". What is it's URL? Do you have email reporting turned on? If so, you may get detailed info about the error sent to your inbox.


Roger Martin
Lead Developer for Gallery Server Pro
shendrickson
Posted: Wednesday, November 19, 2008 9:45:15 AM
Rank: Newbie

Joined: 11/17/2008
Posts: 3
Location: USA
I've attached a .pdf of the two screenshots. For some reason, email reporting isn't working. I've not looked into that yet. I'm sure it's something with my email server and the way I've got it configured. Sorry.

Here is the URL though:
http://www.wyodiamond.com/photos/task/addobjects.aspx?aid=4&CartUploadId=be575d93-a8c9-4406-8130-0e7405a00e16

spamcram
Posted: Monday, November 24, 2008 8:21:59 AM
Rank: Member

Joined: 10/27/2008
Posts: 13
Location: UK
I have had the same issues with zip files, I had one zip file containing 6 sub folders all with about 150 pictures in each folder (total zip size around 750mb). It uploaded the zip file in no time but then timed out under the "Processing.. please wait"

I've found zips only seem to work when uploading very small zip files. I ended up just coping all my albums to the server then using the synchronize command.

(fyi - I increased the size of upload soon as I built the server to 2GB)

At the moment I don't have an issue with this but within the short future users will need to upload there albums onto my server, and the fact that it timed out and it wouldn't let me delete the albums it created and required me to rebuild isn't ideal.

In the new version if the "Processing .. please wait" could have a timer or some indication of how long it's going to take it would be better for users.. because there will start to think it's crashed then properly close the diaglog box (which in most cases it does crash anyway).

I think a better upload method will be needed, maybe allowing multiple selecting of files like you can on hotmail when you upload pictures via email. I know you can select each file one by one but this would take hours.
Roger Martin
Posted: Monday, November 24, 2008 2:05:01 PM
Rank: Administration

Joined: 8/3/2007
Posts: 847
Location: Fort Atkinson, WI
The upload control is built by ComponentArt, and I have also noticed that things can go wrong for very large files. In my experience it is an issue with transferring the large file to the server, as HTTP doesn't seem to be very robust in this regard. I haven't noticed problems with the zip file extraction. If you can provide any details about this, I am happy to dig in (For example, how many of the files become extracted?). The add objects page has an execution timeout of 8 hours, so you shouldn't be seeing a timeout, unless it is a SQL timeout.

Last year I contacted CA to see if there was a way to hook into their control to provide status updates of the ZIP file extraction, and the answer unfortunately was no. So I'm not sure of an easy solution here.

Now that Silverlight is out, I am intrigued by the Silverlight file upload controls that are starting to pop up, some of them open source. I haven't yet played with them, but maybe we need to go in that direction.

If anyone has insights - or time to do some experiments - as to the real issue going on with the current upload control, that would be great. Specifically, are we bumping against the limits of HTTP transfer, or is there a bug that can be fixed?

Or, if anyone is interested in looking at doing file uploads with Silverlight, that would be cool, too. One requirements is that Gallery Server must run in medium trust, but that can be handled with special code that falls back to a standard ASP.NET FileUpload control, like it does now.


Roger Martin
Lead Developer for Gallery Server Pro
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.2 (NET v2.0) - 9/27/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.