Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1999-01-09
4
Medium Priority
?
1,208 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 400 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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

670 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