Hi I have a simple Script that is sort of like a guest book. I have tried to run this script but end up getting permission denied all the time. I have told 2000 Server to give access for full control to both "Everyone" and the Anonomous internet user and have set write access in IIS. In fact every single write/modify/create permission is set to OK! I can now only think of two things. 1: my server hosts 3 sites using Host Headers - Will this cause a problem? 2: I know little to nothing about ASP or other settings in IIS so maybe there is a problem there?
Please help even if you have only a vague idea!
Thanks
James
Code is:
<%
MyFile = "<Path to text file in same folder as this code>"
'Ready Scripting.FileSystemObject
Set MyFileObj=Server.CreateObject("Scripting.FileSystemObject"
Set MyOutStream=MyFileObj.OpenTextFile(MyFile, 8, TRUE)
New_line = Request.Form("new_line"
New_line = Server.HTMLEncode(New_line)
New_line = "<I>Posted: " & NOW & "</I><BR>" & New_line
MyOutStream.WriteLine(New_line)
MyOutStream.Close
Response.Redirect "<any web page>"
%>
Please help even if you have only a vague idea!
Thanks
James
Code is:
<%
MyFile = "<Path to text file in same folder as this code>"
'Ready Scripting.FileSystemObject
Set MyFileObj=Server.CreateObject("Scripting.FileSystemObject"
Set MyOutStream=MyFileObj.OpenTextFile(MyFile, 8, TRUE)
New_line = Request.Form("new_line"
New_line = Server.HTMLEncode(New_line)
New_line = "<I>Posted: " & NOW & "</I><BR>" & New_line
MyOutStream.WriteLine(New_line)
MyOutStream.Close
Response.Redirect "<any web page>"
%>