Page 1 of 1

Server error HTTP/1.1 405 Method not allowed

Posted: Thu Jul 29, 2010 11:49 am
by pady
Hi ,
I hv created virtual directory and when i m applet_http.html , after selecting file i m getting error Uploading : Book1.xls
(23,552 bytes)
Upload started ...Server error HTTP/1.1 405 Method not allowed.

And My Javascript setting are are.

document.writeln('<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">');
document.writeln('<PARAM NAME=CODEBASE VALUE="./">');
document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar">');
document.writeln('<PARAM NAME=NAME VALUE="fileupload">');
document.writeln('<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">');
document.writeln('<PARAM NAME="scriptable" VALUE="true">');
document.writeln('<PARAM NAME="url" VALUE="http://localhost/jupload2.6/upload/process.jsp">');
document.writeln('<PARAM NAME="paramfile" VALUE="uploadfile">');
document.writeln('<PARAM NAME="param1" VALUE="todo">');
document.writeln('<PARAM NAME="value1" VALUE="upload">');
document.writeln('<PARAM NAME="mode" VALUE="http">');


Please help me.

I want to add this in my asp.net application for Demo.
I m using trail version 2.6.

Plz suggest.

Regards,
Pady

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Thu Jul 29, 2010 8:21 pm
by support
For ASP.NET you need install ASP.NET script on server-side to handle upload requests:
http://www.jfileupload.com/products/tools/index.html

Then you have to update "url" parameter in the JavaScript accordingly.

Does it help?

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Thu Mar 03, 2011 2:52 pm
by willeha
I have the same error, but I'm not using ASP.NET.
I'm using Oracle on a windows server...

Does anybody know what the problem is? Or do you need more info?

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Thu Mar 03, 2011 7:58 pm
by support
Which server-side script are you using to handle upload?

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Fri Mar 04, 2011 3:14 pm
by willeha
We have a windows server with Oracle (APEX).

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Sun Mar 06, 2011 7:54 pm
by support
I don't know how Oracle server work but I guess you've installed a script to handle upload request, correct? Is it JSPUpload?

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Mon Mar 07, 2011 7:54 am
by willeha
Yes, there was a JSPUpload installed (and we just moved everything to the other server).
We use an Oracle database and an apache server.

Re: Server error HTTP/1.1 405 Method not allowed

Posted: Mon Mar 07, 2011 6:34 pm
by support
ok, could you try http://yourserver.com/something/process.jsp in your browser?
You should see a simple HTML upload form, try to upload a file from it and see if it works. If not then it cannot work with the applet.