brownie124
Programmer
Hi,
Very new to VBScript and ASP. I am trying to open a file in my ASP and it isn't working. Here is the code:
I am not getting past the OpenTextFile() method call. So, I have a couple of questions:
1) Where are ASP errors logged?
2) Why can I not open the file?
The file resides in c:\inetpub\ I have tried putting the full path in, a relative path and no path.
Thanks,
- Michael
Very new to VBScript and ASP. I am trying to open a file in my ASP and it isn't working. Here is the code:
Code:
Dim strFileName
strFileName = "foo.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set datafile = fso.OpenTextFile(strFileName, ForReading)
' More code here
I am not getting past the OpenTextFile() method call. So, I have a couple of questions:
1) Where are ASP errors logged?
2) Why can I not open the file?
The file resides in c:\inetpub\ I have tried putting the full path in, a relative path and no path.
Thanks,
- Michael