Solved

Migrating scripts from IIS 3 to IIS 4

Posted on 1998-07-22
3
139 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SIMPLE Perl Regex 1 153
add a syntax to a csv file 8 98
Perl modules on linux ec2 3 95
combine multiple lines 2 42
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

919 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

14 Experts available now in Live!

Get 1:1 Help Now