Discussion Locked

Legacy Search Engine with W2K

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I set up W2k as a webserver only, with two nic's. One to SPX for Novell and one to TCP/IP. Gateway is working and I can log into the network if needed. I have a DOS program that works as a CGI script but isn't really a CGI script. The batch file initiates a COBOL 16bit DOS exe program that searches a database and then returns the results. Using O'Reilly and W95, this worked without being logged into the system. In W2K, it does not work either logged in or not. in W2K I receive the following error: HTTP/1.1 Error 405 - Resource not allowed. This is the only program that does not work. I can run other batch files that update web pages without being logged into the system, I have only one web address ip number, I allow anon users. I do not have AD installed. Any avenues would be greatly appreciated.

2 replies

by rkelly

It's probably the dos exe that's causing the problem. DOS (and Windows 95 to a lesser extent) allow applications to have full access to system resources.

Windows NT and 2000 use something called the Hardware Abstraction Layer (HAL) to intercept direct hardware access calls and check them for validity. Any calls that are direct to the hardware are usually deemed to be illegal and as such are not allowed by the system. Your exe file probably make a direct disk access call and parses the infomation off the disk in an "illegal" way.

This error would be interpreted as per the error above. Unfortunately the only fix would be to rewrite the app or get a fixed version.

This discussion is closed to new replies.