Solved

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
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…

623 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