Solved

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

Posted on 1999-01-28
5
157 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
copy-item script help 15 80
Facebook React and SyntheticEvents 6 70
Logon script fails 23 45
AWK: How to strip all double quotes from a file? 7 24
Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

809 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