Hi,
This ASP (Visual Studio 6) code works on other PCs (The ASP code runs locally on localhost), but it causes IE to hang on a new PC (again, the ASP code runs locally on localhost). I think it may be a permissions issue. I need help trouble-shooting:
This works fine:
Dim fso, ts, sLog, sDate
sDate = Right(DatePart("yyyy", Date), 2) & ...
sLog = sDate & ".LOG"
Set fso = Server.CreateObject("Scripting.FileSystemObject")
IE hangs here (no error message. status bar says "Opening page http://localhost/kiosk/default.asp?marketid=..."):
Set ts = fso.OpenTextFile(Server.MapPath("logs") & "\" & sLog, 8, True)
Server.MapPath("logs") & "\" & sLog
evaluates to:
C:\Inetpub\wwwroot\travelmaster\kiosk\logs\041105. LOG
C:\Inetpub\wwwroot\travelmaster\kiosk\logs is a valid folder.
I have tried both cases: the text file 041105.LOG exists or does not exist.
Under Windows Explorer's Properties | Security, the folder C:\Inetpub\wwwroot\travelmaster\kiosk\logs shows (among other users) the following:
IUSR_MachineName with Modify, Read & Execute, List, Read, Write allowed.
IWAM_MachineName with Modify, Read & Execute, List, Read, Write allowed.
If I right click on My Computer | Manage | expand IIS | expand Default Web Site | expand the kiosk folder | right click on the Logs folder | and select the Directory tab, "Execute Permissions" are set to "Scripts and Executables"
If I right click on My Computer | Manage | expand IIS | expand Default Web Site | select the Home Directory tab,
"Local Path" is set to "C:\Inetpub\wwwroot\travelmaster"
Execute Permissions is set to "Scripts and Executables"
Application Protection is set to "Medium (Pooled)"
What have I not set properly?
If you can, please explain as I am a newby trying to learn and understand.
Thanks.