Solved

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

Posted on 1999-01-28
5
167 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
[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
  • 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
how to pick specific file from ftp 13 76
change the windows script file to BAT 10 60
Powershell GUI 11 95
CSV file copy field 1 to field 2 2 63
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
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 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…

752 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