HTTP Error 405 - Method Not Allowed

HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource identified by the request.  Please ensure that you have the proper MIME type set up for the resource you are requesting.

==================

Does anyone know anything about the above error.  That happens when I call my C++ CGI program from a HTML form.  It was working fine on my own personal web server.  When I move to a new server, that's what happen.  The new server is a NT server.  I don't think that has to do with my code.  Could it be some setup on the NT Web server?
LVL 1
szetoaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

szetoaAuthor Commented:
Edited text of question.
0
mgfranzCommented:
Most ISP do not allow C++ routines to run on a web server for obvious reasons... security

You state it is a C++ CGI program, so I must assume it is a compiled routine that you want to run as a CGI right?

Compile it as a .dll, and ask the ISP nicely if they will allow its use.

Mark
0
szetoaAuthor Commented:
Edited text of question.
0
Webinar: What were the top threats in Q2 2018?

Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that describes and analyzes the top threat trends impacting companies around the world. Are you ready to learn more about the top threats of Q2 2018? Register for our Sept. 26th webinar to learn more!

szetoaAuthor Commented:
Mark,

  Would you please tell me more what you mean about compile the program as a .dll instead of a .exe?  How do I run a .dll 'program'?  Also the web server is part of our intranet server.  How do I turn the c++ program option on?  Our SA has access to those server.  Please give me more information.  Thanks.

A.
0
mgfranzCommented:
You call a executable object via an .asp page like this;

Set ObjUpLoad = Server.CreateObject("object.objectname")

If you know how to compile a c++ program, you should know how to do a .dll too...

Mark
0
szetoaAuthor Commented:
Mark,

  We do not support ASP here.  Our database is Oracle and that's why I need to write C++ program and using Oracle's OCI to access the database.  If there is something need to turn on to allow C programs to run on the web server, that I can talk to our SA.  Any other suggestions please?

A.
0
mgfranzCommented:
What web server are you using?
0
freshmeatCommented:
you should  put your cgi code in a folder which has the right to execute, such as "wwwroot\cgi-bin\" or other directory under the www publish folder, u must let that folder has the authority to execute your cgi
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.