469,356 Members | 1,947 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

Unable to read files in directory

Kay
IIS cannot read files in a directory reporting that :

Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Fso.GetFolder'

This has to do with Scripting.FileSystemObject.
I make sure the scrrun.dll is properly registered with regsvr32.
Still the problem persists.

Previously I do not know what I did right once in permission setting and
managed to display the said files but it went away after tweaking the
permission for make other functions available.

I scoured the web and this problem is a perrenial one. Many many suggestions
have been made even in expertsexchange site but no real solution. I don't
understand why it is so difficult to have this file system service up and
running.

Can some experts who have the answer please help?

------------------------------------------------------------
Oct 13 '05 #1
3 4911
Can you post the code in which you dim and instantiate this "Fso" variable?
Or just post a good snippet of the relevant code?

Ray at home

"Kay" <so******@foranswer.com> wrote in message
news:di**********@mawar.singnet.com.sg...
IIS cannot read files in a directory reporting that :

Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Fso.GetFolder'

This has to do with Scripting.FileSystemObject.
I make sure the scrrun.dll is properly registered with regsvr32.
Still the problem persists.

Previously I do not know what I did right once in permission setting and
managed to display the said files but it went away after tweaking the
permission for make other functions available.

I scoured the web and this problem is a perrenial one. Many many
suggestions
have been made even in expertsexchange site but no real solution. I don't
understand why it is so difficult to have this file system service up and
running.

Can some experts who have the answer please help?

------------------------------------------------------------

Oct 14 '05 #2
Kay
-------------- CODE----------------------------------------
'UPLOAD_PATH is also correct using response.write
response.write UPLOAD_PATH

Set Fso = Server.CreateObject("Scripting.FileSystemObject")

If Not Fso.FolderExists(UPLOAD_PATH) Then
Fso.CreateFolder (UPLOAD_PATH) ' error here
End If

Set Folder = Fso.getFolder(UPLOAD_PATH) 'error here also

dim Fso does not help
-------------------------------------------------------------

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:eL**************@TK2MSFTNGP15.phx.gbl...
Can you post the code in which you dim and instantiate this "Fso" variable? Or just post a good snippet of the relevant code?

Ray at home

"Kay" <so******@foranswer.com> wrote in message
news:di**********@mawar.singnet.com.sg...
IIS cannot read files in a directory reporting that :

Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method: 'Fso.GetFolder'

This has to do with Scripting.FileSystemObject.
I make sure the scrrun.dll is properly registered with regsvr32.
Still the problem persists.

Previously I do not know what I did right once in permission setting and
managed to display the said files but it went away after tweaking the
permission for make other functions available.

I scoured the web and this problem is a perrenial one. Many many
suggestions
have been made even in expertsexchange site but no real solution. I don't understand why it is so difficult to have this file system service up and running.

Can some experts who have the answer please help?

------------------------------------------------------------


Oct 14 '05 #3
What is the error?

What is the exact text returned by response.write UPLOAD_PATH?

Ray at work

"Kay" <so******@foranswer.com> wrote in message
news:di**********@mawar.singnet.com.sg...
-------------- CODE----------------------------------------
'UPLOAD_PATH is also correct using response.write
response.write UPLOAD_PATH

Set Fso = Server.CreateObject("Scripting.FileSystemObject")

If Not Fso.FolderExists(UPLOAD_PATH) Then
Fso.CreateFolder (UPLOAD_PATH) ' error here
End If

Set Folder = Fso.getFolder(UPLOAD_PATH) 'error here also

dim Fso does not help

Oct 14 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by alan_coffman2004 | last post: by
6 posts views Thread by Bruce | last post: by
2 posts views Thread by Sagar | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.