Solved

http error 405 when CGI use post method

Posted on 2004-10-05
6
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 125 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
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…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

623 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