Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

    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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-06-09 04:36 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (35 votes). Check out past polls.