Solved

Migrating scripts from IIS 3 to IIS 4

Posted on 1998-07-22
3
138 Views
Last Modified: 2010-03-05
We recently upgraded from IIS 3 to IIS 4. We are using ActivePerl. We
had a simple SSI ad-rotating banner using perl, and it worked fine under
IIS 3. However, now we are getting the following error with IIS 4:

Can't open perl script "?????????????????????i???ú??": Invalid argument

I've checked all of the directory permissions, and they all seem right.
In fact, if I use "include virtual" instead of "exec cgi", the script
will be included in the HTML, so IIS is indeed finding and reading the
script.

.cgi and .pl are both registered and mapped to the right files.

The only thing I can imagine is that IIS was installed with "exec"
disabled for security reasons. Unfortunately, the help files are wrong
and give bad information about how to enable and disable this feature.
It talks about the "metabase", which has been separated from the
registry, but it doen't tell you how to open the metabase for editing.

Am I going in the wrong direction? If not, how do I check to see if
"exec" is enabled/disabled. If I am going in the wrong direction, where
do I go from here?

Thanks
joemacd@covers.com

0
Comment
Question by:joemacd
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 100 total points
ID: 1208588
in MMC:
rightclicke on the webname and choose properties
then select resp:
  home directory
  configuration
  app mappings

You find your extensions listed there.

executable path: C:\PERL\BIN\PERL.EXE %s %s

The "%s %s"  MUST be in undercase, IIS4 puts it in uppercase.


0
 

Author Comment

by:joemacd
ID: 1208589
That was it. So simple, and yet so devious. I noticed that they had been converted to uppercase, but I just didn't think of the possible implications. Thanks.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1208590
Well, it took me some effort to find it out, so don't be embarassed, glad I could help you.

If you have problems with perlscripts writing to a file, I just asked the question and got it answered.



0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

762 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

19 Experts available now in Live!

Get 1:1 Help Now