Solved

Visual Basic CGI won't run on NT4 - IIS??

Posted on 1999-01-28
5
144 Views
Last Modified: 2013-12-25
Hello...

I've written several script (exe)in visual basic 4 pro. They all work perfect out of the cgi-bin directory on Xitami and a couple other web servers, but when I run them on NT4 with IIS4.0 I get the following:

I have to include the .exe extension because if I don't, the file is 404 not found. Under Configuration, .exe is not in the list of extensions under Application Mappings.  I would add it, but what do I use for the executable?

...so I type the full file name:

http://mydns.com/cgi-bin/myapp.exe?val=whatever

and it just hangs there with a spinning hour glass. It doesn't send anything back...

It works fine on other servers. Any ideas on how to fix this? Help would be appreciated...I'm losing hair. :-0

Ang
0
Comment
Question by:angela_k98
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1832434
Are theproper rights setup for that directory?  ie Execute Rights?
0
 

Author Comment

by:angela_k98
ID: 1832435
Under the Properties of the Default web site in the MMC, then the Home Directory tab, Permissions are set to Execute, but under Configuration, .exe is not in the list of extensions under Application Mappings.  I would add it, but what do I use for the executable?  I have not dealt with this too much yet.  I also checked just the cgi-bin directory under Default Web Site and it is the same.  File permissions are all correct.

Ang
0
 

Author Comment

by:angela_k98
ID: 1832436
Under the Properties of the Default web site in the MMC, then the Home Directory tab, Permissions are set to Execute, but under Configuration, .exe is not in the list of extensions under Application Mappings.  I would add it, but what do I use for the executable?  I have not dealt with this too much yet.  I also checked just the cgi-bin directory under Default Web Site and it is the same.  File permissions are all correct.

Ang
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1832437
Could you send me a copy of one to test?  masseym@mrqcorp.com

also, any parameters would be nice too.

0
 
LVL 10

Accepted Solution

by:
MasseyM earned 150 total points
ID: 1832438
Answer was sent in email.

Basically, there is just the need to send the proper header to the browser before sending the HTML.


0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now