Biz Modules Solutions
Contact us
  • Home
  • Products
    • Ultra Media Gallery 8
      • Overview
      • Feature Highlights
      • Sample Galleries
        • UMGClassicNG (since UMG 8.9)
        • WidescreenTour1 2.0 (UMG 8.8)
        • SmoothGallery 2.0 (UMG 8.6)
        • Galleria (UMG 8.5)
        • Translucent Slider (UMG 8.4)
        • Tonic Gallery (UMG 8.3)
        • Slider Master (UMG 8.2)
        • Carousel Evolution (UMG 8.1)
        • Spotlight Slider ( UMG 8.1)
        • TripleLayerSlider | homepage slider
        • MediaLibrary | mixed media gallery
        • WidescreenTour2 | stills & trailers
        • Piecerotator | multi media rotator
        • Html Slideshow | image slideshows
        • Widescreenshowroom | showcase
        • UMG Professional | photo gallery
        • RSS subscription
        • Shooting places on Google maps
        • Virtual Tour
        • Photo calendar
      • Trial & Downloads
      • Testimonials
      • Release Notes
    • Ultra Video Gallery 4
      • Overview
      • Feature Highlights
      • Release Notes
      • Sample Sites
      • Reviews
      • Sample Videos
      • Trial & Downloads
    • Ultra News Article 1.1
      • Overview
      • Feature Highlights
      • Sample
    • Save as PDF
    • Custom development
  • Downloads
  • Buy now
    • License Upgrade
  • Support

Host Partnership

If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!

Need a custom module?

Should you have any questions about custom DNN modules or web projects, please let us know.

Latest Discussions

UMG-Free Content List Sorting Options by Jeremy Close
Is there a way for the Free Content List to sort albums in the same order that t...
Paging Options by eric peerless
We are looking to have a scrolling paging option where you roll over a down arro...
Video player z-index, main menu not visible. wmode? by victor mois
Hi, when I open a page with video player module on it and it is at the top of th...
Show one latest or top rated video on home page by victor mois
Hi, I can't find a way to show one single video on a home page. I need it to be...
Downgrade from UMGClassicNG to UMGClassic by Jean-Christophe BARREAU
Hi, My customer is very unhappy with the new UMGClassicNG. It is not optimize...
Home  > Support

Support Forum

Unanswered Active Topics Forums Search
Forums > Ultra Video Gallery > General Questions
Subject: NeatUpload and large files
Prev Next
You are not authorized to post a reply.

Page 1 of 212 > >>
Author Messages
Buck Anderson
Posts:79
Golden Member

01/17/2008 5:24 AM  
Hi Pengsten,
I hope all is well with you.

Can you offer some information on the following issue:

Another config file that is using NeatUpload

With DNN 4.7.0 and the repository module, I have the following setting in web.config:

executionTimeout="3600" useFullyQualifiedRedirectUrl="true" maxRequestLength="1048576" requestLengthDiskThreshold="1048576"

and

neatUpload useHttpModule="true" maxRequestLength="2097151" defaultProvider="FilesystemUploadStorageProvider

Using UVG_153_ENT with wizard set to 100 MB

Can't get a file larger than 4 MB to upload.

 

Talking with Dean Brettle and he seems to think that:

"That error means that NeatUpload thinks that the maxRequestLength attribute in the element is not set (or is set to 4Mbytes).  The line you posted, generally looks correct.  Perhaps you have another element in a element or in a different Web.config which is overriding the element that you posted?"

Pengsten,

Are you using it anywhere that it might be overriding the web.config settings?

 

Here is the error I receive:

Method: Brettle.Web.NeatUpload.FilteringWorkerRequest.WriteParsedToOutputStream
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException: Unhandled HttpException while processing NeatUpload child request ---> Brettle.Web.NeatUpload.UploadTooLargeException: Total size > 4194304 bytes at Brettle.Web.NeatUpload.FilteringWorkerRequest.WriteParsedToOutputStream() at Brettle.Web.NeatUpload.FilteringWorkerRequest.CopyUntilBoundary() at Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseOrThrow() at Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseMultipart() at Brettle.Web.NeatUpload.FilteringWorkerRequest.GetKnownRequestHeader(Int32 index) at System.Web.HttpWorkerRequest.HasEntityBody() at System.Web.HttpRequest.GetEncodingFromHeaders() at System.Web.HttpRequest.get_ContentEncoding() at System.Web.HttpServerUtility.UrlDecode(String s) at DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace --- at Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---



Pengtsen R
Posts:11533


01/17/2008 7:26 AM  
well, UVG 1.x don't use neatupload, only UVG 2 use it.

Pengtsen R
http://www.bizmodules.net
Pengtsen R
Posts:11533


01/17/2008 7:30 AM  
did you try to send your web.config to Dean Brettle if he can take a look about it?

Pengtsen R
http://www.bizmodules.net
Buck Anderson
Posts:79
Golden Member

01/17/2008 7:50 AM  
Posted By Pengtsen R on 01/17/2008 7:26 AM
well, UVG 1.x don't use neatupload, only UVG 2 use it.

Hi Pengsten,
I stand corrected. I am using Enterprise 2.0


Pengtsen R
Posts:11533


01/17/2008 6:41 PM  
can you send me your web.config?

Pengtsen R
http://www.bizmodules.net
Buck Anderson
Posts:79
Golden Member

01/18/2008 5:46 AM  
Posted By Pengtsen R on 01/17/2008 6:41 PM
can you send me your web.config?

Hi Pengsten,
Config file on its way to you.

Below is the response i received from Dean Brettle:

Hi Buck,

I now think the non-NeatUpload portion of the request ( e.g. viewstate, other form fields, non-NeatUpload files) must be larger that 4MB.  Try adding maxNormalRequestLength="1000000" to your element.  If that solves the problem, you might want to look into what is causing such a large amount of non-NeatUpload data to be sent with your upload requests.  Perhaps you are using some control which has a huge amount of viewstate?

--Dean


I tried it and can upload through completion but it takes 25 minutes to upload 30 MB. After the file is uploaded, to repository, I can download it in 3 minutes. So, it is not a problem with my high speed connection.

Best regards,
Buck


Pengtsen R
Posts:11533


01/18/2008 6:10 AM  
I gave you a reply.

I think a normal DNN page request shoundn't exceed 4MB.

Pengtsen R
http://www.bizmodules.net
Buck Anderson
Posts:79
Golden Member

01/23/2008 6:25 AM  
Hi Pengsten,

How did you send the reply? I never received it.

Best regrds,
Buck


Pengtsen R
Posts:11533


01/23/2008 6:37 PM  

I suggest you to remove:

{add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" /}

from your web.config. and also

{SECTIONGROUP name="system.web"}
{SECTION name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload" allowLocation="true" /}
{/SECTIONGROUP}


and

{NEATUPLOAD defaultProvider="FilesystemUploadStorageProvider" maxNormalRequestLength="1000000" maxRequestLength="1024001" useHttpModule="true"}
{PROVIDERS}
{ADD name="FilesystemUploadStorageProvider" type="Brettle.Web.NeatUpload.FilesystemUploadStorageProvider, Brettle.Web.NeatUpload" /}
{/PROVIDERS}
{/NEATUPLOAD}


to see whether you get same problem?


Pengtsen R
http://www.bizmodules.net
Dan Ambrose
Posts:4
Bronze Member

02/26/2008 10:20 AM  
Hi Pengtsen, I also have the same problem explained above. I can't see the code you suggested to have removed from the web.config file above, can you re paste it? Did that resolve the issue for Buck?

I cannot upload a file larger than 4mb.

Here is my error message- Thanks in Advance..

Server Error in '/' Application.

Total size > 4194304 bytes

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Brettle.Web.NeatUpload.UploadTooLargeException: Total size > 4194304 bytes

Source Error:


An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:

[UploadTooLargeException (0x80004005): Total size > 4194304 bytes]
Brettle.Web.NeatUpload.FilteringWorkerRequest.WriteParsedToOutputStream() +301
Brettle.Web.NeatUpload.FilteringWorkerRequest.CopyUntilBoundary() +65

Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseOrThrow() +2329
Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseMultipart() +253
Brettle.Web.NeatUpload.FilteringWorkerRequest.GetKnownRequestHeader(Int32 index) +21

System.Web.HttpWorkerRequest.HasEntityBody() +17
System.Web.HttpRequest.GetEncodingFromHeaders() +168
System.Web.HttpRequest.get_ContentEncoding() +48
System.Web.HttpServerUtility.UrlDecode(String s) +148

DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +214
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


[HttpException (0x80004005): Unhandled HttpException while processing NeatUpload child request]
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +845
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Pengtsen R
Posts:11533


02/26/2008 7:53 PM  
I reformated it so you should see it now.

basically I suggest you to remove neatupload from your web.config.

thanks.

Pengtsen R
http://www.bizmodules.net
Dean Brettle
Posts:5
Bronze Member

02/29/2008 8:41 PM  
It really should be possible to use NeatUpload with DNN and UVG. I'm not a DNN user but as the NeatUpload author I'd like to get to the bottom of the problem. From the errors reported above, it sounds like there is some non-NeatUpload control (or groups of controls) that creates more than 4MB of data to be uploaded. This could happen if the page has a large number of controls with significant viewstate, or a smaller number of controls with a *lot* of viewstate, or a file upload control other than NeatUpload's InputFile control. If someone who is experiencing the problem can send me (dean at brettle dot com) the HTML source for the page that is being submitted, I can probably determine which of those is the cause.

Thanks,
--Dean
Pengtsen R
Posts:11533


02/29/2008 9:15 PM  
Dean, I appreciate your registration on this website and your analysis of this problem, a client just reported this problem yesterday, I'll contact him so we can check his upload page to see whether it is a viewstate issue.

I'll contact you be email one I get his reply.

Thank you.

Pengtsen R
http://www.bizmodules.net
Brandon Hartsell
Posts:118
Diamond Member

02/03/2009 7:58 PM  

What was the outcome on this? I have to remove the NeatUpload section from both the Modules and the Handlers section of my web config or my site crashes.

Pengtsen R
Posts:11533


02/04/2009 8:23 AM  
netaupload won't cause to site crash, what problem did you get?

Pengtsen R
http://www.bizmodules.net
Richard Golko
Posts:4
Bronze Member

02/18/2009 4:13 AM  
I've got the same issue on feb 18 2008; I get it when not even uploading a file. Is there a solution to this? The last two times I got it I was installing modules on the site.
Pengtsen R
Posts:11533


02/18/2009 6:50 AM  
Total size ? xxx bytes issue?

you should increase maxnormalrequestlengh settings on neatupload node.

Pengtsen R
http://www.bizmodules.net
Brandon Hartsell
Posts:118
Diamond Member

04/01/2009 5:24 PM  
http://dnnviking.wordpress.com/2008/12/29/data-length-49152-is-shorter-than-content-length-xxx/

This solved my issues.
Pengtsen R
Posts:11533


04/02/2009 12:19 AM  
yes, this is a known issue, the fix for "data-length-49152-is-shorter-than-content-length-xxx" problem is to move neatupload to the 1st line of httpModules section.

Pengtsen R
http://www.bizmodules.net
Jack Hoelz
Posts:83
Diamond Member

06/06/2009 8:04 AM  
I have the problem as well. I moved the reference to the first line of the web.config. I'm trying to upload a zip file that is 19MB and I receive this error.

DNN 4.9.4
UVG3 Pro

Server Error in '/' Application.
--------------------------------------------------------------------------------

Total size > 4194304 bytes
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Brettle.Web.NeatUpload.UploadTooLargeException: Total size > 4194304 bytes

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[UploadTooLargeException (0x80004005): Total size > 4194304 bytes]
Brettle.Web.NeatUpload.FilteringWorkerRequest.WriteParsedToOutputStream() +295
Brettle.Web.NeatUpload.FilteringWorkerRequest.CopyUntilBoundary() +68
Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseOrThrow() +2263
Brettle.Web.NeatUpload.FilteringWorkerRequest.ParseMultipart() +266
Brettle.Web.NeatUpload.FilteringWorkerRequest.GetKnownRequestHeader(Int32 index) +24
System.Web.HttpWorkerRequest.HasEntityBody() +20
System.Web.HttpRequest.GetEncodingFromHeaders() +131
System.Web.HttpRequest.get_ContentEncoding() +48
System.Web.HttpRequest.get_QueryStringEncoding() +8
System.Web.HttpRequest.get_QueryStringText() +83
System.Web.HttpRequest.get_Url() +43
DotNetNuke.Common.Initialize.RunSchedule(HttpRequest request) +38
DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) +61
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

[HttpException (0x80004005): Unhandled HttpException while processing NeatUpload child request]
Brettle.Web.NeatUpload.UploadHttpModule.Application_BeginRequest(Object sender, EventArgs e) +795
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
You are not authorized to post a reply.
Page 1 of 212 > >>

Forums > Ultra Video Gallery > General Questions > NeatUpload and large files



ActiveForums 3.7
Copyright © 2005-2011 BizModules
Register Login