Error: http error1: 405 Method Not Allowed

Last post 07-26-2012, 8:43 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  11-11-2010, 11:34 PM 64982

    Error: http error1: 405 Method Not Allowed

    Hi I'm getting this error when uploading files 

    http error1: 405 Method Not Allowed

    When I click the upload button I choose my file(s) and click ok. Then the process bar starts and when it gets to the end for each file I get a message box with http error1: 405 Method Not Allowed.

    Any ideas? 

    PS: When I run the website with Visual Studio's Built in Web-Server it works fine but When I try to run the website with IIS7 I get this error message.  also I have my Upload button inside of a user-control. I don't know if this has anything to do with the problem
     
    Thanks in advance
    Carlos 
  •  11-15-2010, 9:11 AM 65007 in reply to 64982

    Re: Error: http error1: 405 Method Not Allowed

    Dear Carlos,
     
    Please save the following code to test.aspx, does it happen to this snippet?
    <%@ Page Language="C#" %>
    <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
    <!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>Uploading multiple files like GMail</title>
    </head>
    <body>
        <form id="form1" runat="server">  
            <CuteWebUI:UploadAttachments InsertText="Upload Multiple files Now" runat="server" ID="Attachments1" >          
            </CuteWebUI:UploadAttachments>     
        </form>
    </body>
    </html>
    If this snippet works fine, it means this issue is related to your code, please extract your code to one example which can reproduce this issue and send it to eric@cutesoft.net , I will test it on my end.
     
    Thank you for your business
  •  07-26-2012, 3:53 AM 74256 in reply to 65007

    Re: Error: http error1: 405 Method Not Allowed

    I'm receiving this error too. Any fix discovered yet?
  •  07-26-2012, 8:43 AM 74265 in reply to 74256

    Re: Error: http error1: 405 Method Not Allowed

    Hi Killianmcc,
     
    1. Please try the latest version below. Does it get the same problem? 
     
    Latest version download url: http://ajaxuploader.com/download/Ajax-Uploader.zip 
     
    2. Which demo you are testing? The MVC demo? or the others?
     
    3. Can you try the simple page below on your site? Does it work?
     
    1. <%@ Page Language="C#" %>  
    2.   
    3. <%@ Register Namespace="CuteWebUI" TagPrefix="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml">  
    6. <head id="Head1" runat="server">  
    7.     <title>example</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <CuteWebUI:UploadAttachments ID="uploader1" runat="server">  
    12.         </CuteWebUI:UploadAttachments>  
    13.     </form>  
    14. </body>  
    15. </html>  
    Regards,
     
    Ken 
View as RSS news feed in XML