Solved

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

Posted on 1999-01-09
4
1,082 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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.

747 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

11 Experts available now in Live!

Get 1:1 Help Now