Solved

Can't open perl script  "scriptname.pl" : Permission Denied.

Posted on 1999-01-09
4
1,172 Views
Last Modified: 2008-02-20
I am running perl on NT with IIS as the web server.
Basic authentication is used for access control and
file permissions are appropriately set for users.

The web browser however sometimes gives me the message
Can't open perl script "scriptname.pl" : Permission Denied.
even though permissions are available to the user.
Stranger still... . after a couple of refreshes or reloads
at the browser the perl script magically runs and the form
appears on the browser.

This problem has been haunting me for a while .... i cant
seem to get rid of it.  Can anyone help ?
0
Comment
Question by:wadiasha
[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
4 Comments
 
LVL 1

Accepted Solution

by:
Cov earned 100 total points
ID: 1207477
Does this happen when the server is initially started?  Perhaps it is a problem with the perl dll not being loaded initially, then taking a few moments to load...
0
 

Author Comment

by:wadiasha
ID: 1207478
Hi Cov.
      No, Unfortunately this happens even after the server
has been running for serveral hours/days. Another thing I
noticed is that this tends to happen more when the browser
is internet explorer rather than Netscape.

Cheers
Shapur
0
 

Expert Comment

by:robert_mann
ID: 1207479
Upgrade your perl on the NT machine.  If you are not using ActiveState's perl then do so.  If you are already then make sure you are up to the latest build.  I have seen weird results from ActiveState's perl that magically disapear with later builds

Hope this helps...
0
 

Author Comment

by:wadiasha
ID: 1207480
Thanks Cov,
     Switching to Active perl has taken care of the problem.
The message no longer appears and all is well.
Thanks !


0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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

624 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