Server error HTTP/1.1 405 Method Not Allowed

Upload core product.
Post Reply
pietmomberg
Posts: 3
Joined: Sat Mar 08, 2008 12:21 am

Server error HTTP/1.1 405 Method Not Allowed

Post by pietmomberg »

Hallo can any one please help me

I get this erro all the time, usening applet_http.html
on a win2003 server

<code>
Select or drag and drop file to upload
--------------------------------------------------
Uploading : googletop.jpg
(35.640 bytes)
Upload started ...Server error HTTP/1.1 405 Method Not Allowed
--------------------------------------------------
<code>

Best regards Piet

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 request ?
Are you using ASP.NET sample script available in add-ons section ?

pietmomberg
Posts: 3
Joined: Sat Mar 08, 2008 12:21 am

Re: Server error HTTP/1.1 405 Method Not Allowed

Post by pietmomberg »

Hallo support
I was usening add-on (JSP upload script 2.0).
Now Im usening add-on (ASP.NET upload script 2.0) and getting a new erro:

Code: Select all

Select or drag and drop file to upload
--------------------------------------------------
Uploading : googletop.jpg
(35.640 bytes)
Upload started ...Server error HTTP/1.1 302 Found
--------------------------------------------------
Best regards Piet
support wrote:Which server-side script are you using to handle upload request ?
Are you using ASP.NET sample script available in add-ons section ?

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, the JSPUpload add-on works with a JSP/Servlet engine. Basically, such engine is not available on Windows 2003 server but it could be installed. Do you have one (such as Tomcat) ?

The ASP.NET sample works with ASP.NET 2.0 framework installed on server. Could you check you have it ? Also, try basic upload first to make sure you're able to upload file from a simple HTML form. To do so, try http://yourserver.com/something/process.aspx directly in your browser.

pietmomberg
Posts: 3
Joined: Sat Mar 08, 2008 12:21 am

Re: Server error HTTP/1.1 405 Method Not Allowed

Post by pietmomberg »

No I do not have a' Tomcat, but if I cam find a windows2003 server that hase Tomcat on the server.
Then what shell I do...?

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 »

To install TOMCAT on a server, you need:
1 - Install JDK 1.5 available at: http://java.sun.com/javase/downloads/index_jdk5.jsp
Latest version is JDK 1.5 update 15
2 - Install TOMCAT 5.5 available at: http://tomcat.apache.org/download-55.cgi
Latest core version is 5.5.26.
3 - Once done, copy jspupload.zip under TOMCAT_HOME/webapps folder.
Rename jspupload.zip into jspupload.war
4 - Start Tomcat. It will decompress automatically the WAR file.
5 - Update upload directory path under TOMCAT_HOME/jspupload/process.jsp
6 - Try simple upload from browser: http://yourserver.com:8080/jspupload/process.jsp
7 - If it works then try the applet.
Don't forget to update "url" parameter in applet such as:
<PARAM NAME="url" VALUE="http://yourserver.com:8080/jspupload/process.jsp">

Does it help ?

Post Reply