Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Files on MS IIS server

by SquireJames (Monk)
on Dec 17, 2003 at 01:05 UTC ( #315193=note: print w/replies, xml ) Need Help??


in reply to Files on MS IIS server

How are you referencing the file to open? Are you using UNC paths, is it local to the script or are you trying to use HTML?

More information would be great....

Replies are listed 'Best First'.
Re: Re: Files on MS IIS server
by Dovkont (Novice) on Dec 17, 2003 at 11:50 UTC
    The filename of the $idfile is determined by the program, and references to a file almost local to the script (one directory below). Anyway, it is relative local path.

    Update
    The file opens for reading without problems. The halt occurs on trying to open the file for writing. Using absolute paths does not make any effect.

      Have you checked the security permissions for this file? IIS will use the IUSR_<servername> account when your CGI script is run. Normally the IUSR_ account only has read access to files.

      Try setting the file security to Everyone / Full Control to see if that helps. You can change the security again later to remove the Everyone group and use the IUSR_ account explicitly.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://315193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-07-07 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?