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

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 ?
wadiashaAsked:
Who is Participating?
 
CovConnect With a Mentor Commented:
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
 
wadiashaAuthor Commented:
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
 
robert_mannCommented:
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
 
wadiashaAuthor Commented:
Thanks Cov,
     Switching to Active perl has taken care of the problem.
The message no longer appears and all is well.
Thanks !


0
All Courses

From novice to tech pro — start learning today.