Solved

Migrating scripts from IIS 3 to IIS 4

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…

697 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