Method Not Allowed on Upload

Last post 12-07-2012, 7:00 AM by rasmusf. 2 replies.
Sort Posts: Previous Next
  •  07-26-2012, 3:23 AM 74255

    Method Not Allowed on Upload

    Hi,
     
    I added the Ajax Uploader to a large project and it displays fine but when I try to debug using Visual Studio and try to upload a file I get the error in Firefox ;
     
     http error1 :405:Method Not Allowed
     
    and the following error in IE;
     
     http error1 :12031:Unkown 
     
    I'm testing in IE6 and Firefox 14. I am left with the resx file in my UploaderTemp folder but the file hasn't been created in my destination folder and my OnFileUploaded method never gets called. I created a small example and this worked fine so I don't think it's my computer. Here is my code for the uploader;
     
     
    <CuteWebUI:Uploader id="Uploader" TempDirectory="~/UploaderTemp" runat="server"
        InsertText="Upload Multiple Files (Max 20M)" InsertButtonID="btnUploadDoc"                  CancelButtonID="btnCancelUpload" FileTooLargeMsg="File too large (20MB)"
                                                MultipleFilesUpload="true" OnFileUploaded="Uploader_FileUploaded">
    </CuteWebUI:Uploader>
     

    Update

    Was reading through the forum and came across this question: http://cutesoft.net/forums/thread/54924.aspx
    Someone with a similar problem to mine who tried Sample #2 MVC C# Demo and got the same error, so I tried that example and here are my results so far;
    Sample 2: works in FF14, IE8 and Chrome but not in IE6
    My project: works in Chrome but not in FF14 or IE6 (IE8 is TBC) 
     
     
    Any help would be really appreciated!
    Killian 
    Filed under: , ,
  •  07-26-2012, 8:42 AM 74264 in reply to 74255

    Re: Method Not Allowed on Upload

    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 
  •  12-07-2012, 7:00 AM 75412 in reply to 74255

    Re: Method Not Allowed on Upload

    Hi!

     

    I had the same problem. It ended up being a URL problem. I could not omit the page name in the URL, leaving me with this error.

    So, http://someapp.somedomain.com was not working, http://someapp.somedomain.com/default.aspx was.

    Hope this helps. Yes, i know it might be half a year too late...:-)

     

    Regards

    Rasmus

View as RSS news feed in XML