http://qs1969.pair.com?node_id=315256


in reply to Re: Files on MS IIS server
in thread Files on MS IIS server

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.

Replies are listed 'Best First'.
Re: Re: Re: Files on MS IIS server
by inman (Curate) on Dec 17, 2003 at 12:49 UTC
    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.