DNN Hosting Register Login
 
Latest Discussions Minimize
How Could I Insert a Custom Swap Image for Non-Flash Browsers? by RegGFX
I have a situation where some (because of security concerns)do not allow ActiveX...
what is mean by Online video conversion ? by marbab
I have read the home page. Its written under UVG that we can do 'Online video co...
How to Simplify Personal Gallery? by blob150
I am using UMG 5.3 intergated with Smart-Thinker User Profile.  I have a page se...
Video Size Problem by arshad786
Hi,     I am Arshad , i am trying to play video in my dnn site, but the problem ...
Configuration Error by koolexposure
I received this error on the last step of the Configuration Wizard. I have came ...
Serial Number by abudist
Hi, I have sent you emails regarding serial number for UVG. I'm stil waiting ...
Screenshot Capture Not Working by chadw3
Hello,I am using UVG 2.0 and am trying to use the Capture control in Edit Video ...
User uploads by OKCChopper
I have it set up so that regestered users can upload photos. I do not have a di...
Applying Watermark picture to existing images by Simone
I have recently upgraded to UMG 5.3 and after uploading some photos, I discovere...
Player auto plays select video? Not working by mg3hockey
Hello All,I am trying to get my player to  auto play a select video of several I...
Our Partnership Minimize
If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!
Support Forum Minimize
Subject: NeatUpload and large files
Prev Next
You are not authorized to post a reply.

Author Messages
Buck Anderson
Posts:75
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 ---


Buck Anderson
DNNprofessor.com
Pengtsen R
Posts:5433


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:5433


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:75
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

Buck Anderson
DNNprofessor.com
Pengtsen R
Posts:5433


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

Pengtsen R
http://www.bizmodules.net
Buck Anderson
Posts:75
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

Buck Anderson
DNNprofessor.com
Pengtsen R
Posts:5433


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:75
Golden Member


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

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

Best regrds,
Buck

Buck Anderson
DNNprofessor.com
Pengtsen R
Posts:5433


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:5433


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:3
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:5433


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
You are not authorized to post a reply.
Forums > Ultra Video Gallery > General Questions > NeatUpload and large files

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