Server error HTTP/1.1 405 Method not allowed

Upload core product.
Post Reply
pady
Posts: 1
Joined: Thu Jul 29, 2010 11:22 am

Server error HTTP/1.1 405 Method not allowed

Post 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

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post 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?

willeha
Posts: 3
Joined: Thu Mar 03, 2011 2:40 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post 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?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post by support »

Which server-side script are you using to handle upload?

willeha
Posts: 3
Joined: Thu Mar 03, 2011 2:40 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post by willeha »

We have a windows server with Oracle (APEX).

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post 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?

willeha
Posts: 3
Joined: Thu Mar 03, 2011 2:40 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Server error HTTP/1.1 405 Method not allowed

Post 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.

Post Reply