Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader, unable to upload large files using Options
Mike Carlson
Posted: Monday, April 20, 2009 4:22:46 PM
Rank: Newbie
Groups: Member

Joined: 4/20/2009
Posts: 1
I purchased your product because of your claim to upload large files over the web.

I have been able to upload smaller files so your product is working, however when I try to use it to upload a database backup (768,174 kb size file).

Am I doing something wrong or is the control choking on the size.

The error that I get from IE is:

EO.Web control 'AJAXUploader1' error messag:AJAX call to the server times out.(set ClientSideOnError to handle this error).

You can turn off this message by setting EO.Web.Runtime.DebugLeve to 0 (Not recommend for debug build).

Operating System is "Vista Professional"

Source Code follows:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="FileUpload.aspx.vb" Inherits="FileUpload" %>

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>
<eo:AJAXUploader ID="AJAXUploader1" runat="server" Width="250px"
AutoUpload="False" TempFileLocation="c:\temp">
</eo:AJAXUploader>
</td>
</tr>
<tr>
<td>
<asp:Button ID="btnPost" runat="server" Text="Post File" />
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="txtErrorMsg" runat="server" Width="500px" TextMode="MultiLine" Rows="6" ></asp:TextBox>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

<%-- ****************************************************************************************

Partial Class FileUpload
Inherits System.Web.UI.Page

Protected Sub btnPost_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnPost.Click

Dim file As EO.Web.AJAXPostedFile
For Each file In AJAXUploader1.PostedFiles
Dim tempName As String = file.TempFileName
Dim finalFileName As String = System.IO.Path.Combine("c:\Uploads", file.ClientFileName)
Try
System.IO.File.Move(tempName, finalFileName)
Catch ex As Exception

txtErrorMsg.Text = ex.Message

End Try
Next

End Sub
End Class

*******************************************************************************************--%>
eo_support
Posted: Monday, April 20, 2009 4:32:08 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You need to increase IIS 7 input size limit. I believe the default value is about 30M. You can find more information about this setting and how to change it at here:

http://doc.essentialobjects.com/library/1/ajaxuploader/troubleshoot.aspx

Look for "ck IIS 7 request filtering". The online documentation explains how to change this setting through command line. However your local version (go to Start -> EO.Web Controls -> EO.Web Controls for ASP.NET 2.0 -> EO.Web Help) should have more information about how to change it through web.config. You can use either method.

Thanks!


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.