Re: File Upload is Interrupted by Server Randomly

  •  11-10-2009, 5:11 PM

    Re: File Upload is Interrupted by Server Randomly

    Thank You for the quick reply. :)
     
    I am using the most recent version of the uploader. I have also set the Temporary File Location as well.
     
    From web.config in my application
     
    1.  <configuration>  
    2. ...  
    3.  <appSettings>  
    4.   <add key="CuteWebUI.AjaxUploader.TempDirectory" value="E:\UploaderTemp" />  
    5.   <add key="CuteWebUI.AjaxUploader.GlobalMaxSizeKB" value="2306867" />  
    6.  </appSettings>  
    7. ...  
    8.  <system.web>  
    9.    <httpRuntime executionTimeout="1255654" maxRequestLength="2306867" />  
    10.    <httpModules>  
    11.       <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>  
    12.        ...  
    13.     </httpModules>  
    14.        ...  
    15. </system.web>  
    16. </configuration> 
     
    And from my upload file ...

    1.  <asp:UpdatePanel ID="UpdatePanel1" runat="server">  
    2.     <ContentTemplate>  
    3.         <br />  
    4.         <asp:Button ID="btnSelectFiles" runat="server"  Text="Select file(s) - Max 2GB"/>  
    5.         <cc1:UploadAttachments MultipleFilesUpload="true" ShowRemoveButtons="false" ShowCheckBoxes="false" RemoveButtonBehavior="None" ValidateOption-AllowedFileExtensions="gho,ghs" ManualStartUpload="true" InsertText="Select file(s) - Max 2GB" ID="Uploader1" runat="server" InsertButtonID="btnSelectFiles" >
    6.            <VALIDATEOPTION MaxSizeKB="2306867">
    7.         </cc1:UploadAttachments>  
    8.     </ContentTemplate>  
    9. </asp:UpdatePanel> 
    **EDIT** Sorry, cc1 is the tag prefix I gave to the assembly
    1. <%@ Register assembly="CuteWebUI.AjaxUploader" namespace="CuteWebUI" tagprefix="cc1" %> 
     
     
    Thanks Again,
     W. Andrew Shogren
View Complete Thread