Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 1999-01-28
5
Medium Priority
?
180 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 600 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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…
Suggested Courses

824 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