Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

http error 405 when CGI use post method

Posted on 2004-10-05
6
Medium Priority
?
413 Views
Last Modified: 2013-12-25
we are using two servers:
One Win2000 Server is the IIS server.
Second Win2000 Server which hosts all phisical files (cgi, asp, images, etc)

The virtual directory was created in IIS and the site folder was mapped on it.

The ASP pages are fine...I can logged in system...but when It has to send an transaction using POST method the IIS returns HTTP Error 405: Method not allowed.

My CGI file is a .exe (visual basic) file.

Do You have an Ideia to solve that???

0
Comment
Question by:maresol82
  • 2
6 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 12230566
A 405 error generally means the webserver is not configured correctly to allow the operation of CGI programs.
0
 

Author Comment

by:maresol82
ID: 12236357
How IIS 5.0 should be configured to allow the operation of my CGI (visual basic)...??
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 12242305
Specifically, a 405 error means a particular method is not allowed.  In most instances, this is the webserver restricting POST requests.

In IIS, Application Extension Mapping for .exe, ensure you have the appropriate methods defined in the "Verbs" section.

Either select "All Verbs", or set "Limit verbs" to whatever method your CGI application uses, ie: GET or POST
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question