Solved

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

Posted on 1999-01-09
4
1,151 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

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…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
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…

751 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