SlickUpload
Welcome Guest Search | Active Topics | Log In | Register

Unable to upload files of about 40MB or larger Options
boppanavarun
#1 Posted : Thursday, April 16, 2009 3:00:07 AM
Rank: Newbie

Groups: Registered

Joined: 4/16/2009
Posts: 3

Hi, 

I just configured slick upload for my project but am not able to upload files larger than about 35-40MB. It works fine for small files.

The UI behavior is as follows: 

The file starts uploading at a decent rate but the rate continues to fall till about 200b/s or so. At this point uploading stops even though only about 1% of the file has been uploaded and when I check the folder where I upload files the file cant be found.

 

My web.config is as below: 

 <sectionGroup name="slickUpload">

      <section name="uploadParser" type="Krystalware.SlickUpload.Configuration.NameValueConfigurationSectionHandler, Krystalware.SlickUpload" />

      <section name="uploadStreamProvider" type="Krystalware.SlickUpload.Configuration.NameValueConfigurationSectionHandler, Krystalware.SlickUpload" />

      <section name="statusManager" type="Krystalware.SlickUpload.Configuration.StatusManagerConfigurationSectionHandler, Krystalware.SlickUpload" />

    </sectionGroup>

 

 <slickUpload>

    <uploadParser handleRequests="false" />

    <uploadStreamProvider location="C:\RebatesUpload\SlickUploadFolder" existingAction="Overwrite" />

    <statusManager manager="Custom" type="ZSAssociates.RebateDesigner.Web.SlickUploadStatusManager,ZSAssociates.RebateDesigner.Web"  />

  </slickUpload>

 

 <httpRuntime maxRequestLength="2097151" executionTimeout="3600"/>

 

On checking the status of the upload in the uploadcomplete event in the code behind i get the following:

AllErrors: Nothing

ErrorMessage: Exception of type 'Krystalware.SlickUpload.UploadException' was thrown.

Reason: Disconnected {3}

State: Terminated {2}

 

I work on VS 3.5 SP1 and on a IIS6 environment. 

 

Any ideas on what I might be doing wrong?

 

boppanavarun
#2 Posted : Thursday, April 16, 2009 7:05:07 AM
Rank: Newbie

Groups: Registered

Joined: 4/16/2009
Posts: 3

A quick update on a few points..

I realized that this problem occurs for files from about 8-10MB..

I tried setting the file upload size limit of IIS to about 1GB. This didnt help either. 

boppanavarun
#3 Posted : Thursday, April 16, 2009 10:13:40 AM
Rank: Newbie

Groups: Registered

Joined: 4/16/2009
Posts: 3

Fixed this by changing the following:

 

 <slickUpload>

        <uploadStreamProvider location="C:\RebatesUpload\SlickUploadFolder" existingAction="Overwrite"  />

    <statusManager manager="Custom" type="ZSAssociates.RebateDesigner.Web.SlickUploadStatusManager,ZSAssociates.RebateDesigner.Web"  />

  </slickUpload>

 

 

TO

 

 <slickUpload>

    <uploadParser attachEvent="BeginRequest" ></uploadParser>

    <uploadStreamProvider location="C:\RebatesUpload\SlickUploadFolder" existingAction="Overwrite"  />

    <statusManager manager="Custom" type="ZSAssociates.RebateDesigner.Web.SlickUploadStatusManager,ZSAssociates.RebateDesigner.Web"  />

  </slickUpload>



Check uploadParser and the different options it has. 

 

Axosoft
#4 Posted : Thursday, April 16, 2009 10:24:37 AM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

If you have an uploadParser tag with handleRequests="false", that turns off SlickUpload request handling by default. In the samples, we do this because we also have a location tag for the SlickUpload.axd handler that includes an uploadParser tag with handleRequests="true". This makes sure that SlickUpload doesn't handle all upload requests across the application, but just the SlickUpload upload requests.

In your case it looks like you're configuring SlickUpload applicationwide (which is fine). You can probably solve the issue by using handleRequests="true" (you most likely don't need the attachEvent="BeginRequest" unless you're doing advanced stuff).

In any case, it sounds like you have solved the issue. Let us know if you have any other questions.

suneelgupta
#5 Posted : Tuesday, October 11, 2011 12:25:22 AM
Rank: Member

Groups: Registered

Joined: 8/2/2011
Posts: 18

We are also facing the same issue, but for IE only. It is showing 100% file upload but after that showing disconnected error.

Please help us in solving this issue.

 

Axosoft
#6 Posted : Tuesday, October 11, 2011 10:01:13 AM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

Which version of SlickUpload are you using?

suneelgupta
#7 Posted : Wednesday, October 12, 2011 12:37:19 AM
Rank: Member

Groups: Registered

Joined: 8/2/2011
Posts: 18

Thanks for replying,

 

we are using version. 4.1.1.21510.

Apart from the upload failure issue, when we tried to cancel the file upload in IE then upload get stuck.

 

Regards

Axosoft
#8 Posted : Thursday, October 13, 2011 9:41:37 AM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

Can you send me a login to your site so I can reproduce the issue here? chrish@krystalware.com

Users browsing this topic
Guest
Forum Jump  
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.