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.

    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.