By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,417 Members | 1,845 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,417 IT Pros & Developers. It's quick & easy.

Unable to read files in directory

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.