Search code examples
c#ajaxmodel-view-controllerswfuploadhttp-status-code-405

405 Error uploading file


I am using Steve Sanderson's jQuery AJAX SWFUploader. I have got it all working for the most part, except the most important part.

When I choose a file, it starts to upload (the progress bar advances) but then it give me a 405 error. Not sure why I get this error but I am using MVC here just like his example. I'm wondering if testing it locally I dont allow for PUT ?

Here is his example...

http://blog.codeville.net/category/jquery/

Anyone have any ideas on how to resolve a 405?


Solution

  • Alright my problem was the following for anyone interested... since I am using MVC and testing on an XP box (lame) I have to use the .mvc hack. I forgot to include that in my upload_url value therefore it wasn't locating the action properly. I hope this helps someone.