Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Migrating scripts from IIS 3 to IIS 4

Posted on 1998-07-22
3
Medium Priority
?
149 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
[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
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Six Sigma Control Plans

636 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