I am runnig IIS 5.0 on my Windows XP machine for development purposes, specifically ASP.
WHen I run the following code:
strThisPage = request.ServerVariables("Path_Translated")
Set filesys = CreateObject("Scripting.FileSystemObject")
strDir = filesys.GetParentFolderName(strThisPage)
Set dir = filesys.GetFolder(strDir)
I receive the following error at the last line:
* Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'GetFolder'
/ac_library/text_samples/index.asp, line 48
I can run this fine on our production server. I am stumped as to what could be the problem and would appreciate some expert IIS advice.
Thank you.
WHen I run the following code:
strThisPage = request.ServerVariables("Path_Translated")
Set filesys = CreateObject("Scripting.FileSystemObject")
strDir = filesys.GetParentFolderName(strThisPage)
Set dir = filesys.GetFolder(strDir)
I receive the following error at the last line:
* Error Type:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'GetFolder'
/ac_library/text_samples/index.asp, line 48
I can run this fine on our production server. I am stumped as to what could be the problem and would appreciate some expert IIS advice.
Thank you.