p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: FileSystemObject doesn't support this method or property


Message #1 by "Richard Berman" <rb@s...> on Thu, 7 Mar 2002 15:43:31
I have a problem where the FileSystemObject gives this error -- "object 

doesn't support this method or property", when I use certain methods, such 

as OpenTextFile (whether or not it has to create the file) or CreateFolder.



Note: This is server side ASP, Win 2K (latest updates), IIS 5



It doesn't throw a security error.  The directories in question have full 

access rights for all users, and specifically for the IUSR_ and IWAM_ 

users.



For many months one server has had this problem, the other has not.  



Here's the kicker: yesterday, for about 5 hours, FSO worked on the problem 

server.  We create a log file and write to it, and the file was created 

and had content.  Later, the object again began returning this error!



The server DOES have Norton Antivirus, and I know about the script 

blocking problem.  This isn't the same problem, as the NAV problem should 

hold up the page, not return this error.  But I've disabled script 

blocking, and in fact the server was working both with and without script 

blocking enabled -- I tested by deleting the directories, and saw the 

server create them and write to the file.   And of course the code itself 

is striaghtforward and works (i.e. on the other server, and on the problem 

server for a while).



An internet search shows a few discussion boards where developers have had 

this identical problem, but no solution was ever offered.



Any ideas?



Message #2 by "Venter, Q. (Quintis)" <QuintisV@n...> on Fri, 8 Mar 2002 10:33:20 +0200
This message is in MIME format. Since your mail reader does not understand

this format, some or all of this message may not be legible.



------_=_NextPart_001_01C1C67B.E6EF3D00

Content-Type: text/plain;

	charset="iso-8859-1"



I have the same problem with an Office 2000 Web Components Chart. I'm very

interested in the outcome of this one ...



Regards,

Quinny



-----Original Message-----

From: Richard Berman [mailto:rb@s...]

Sent: 07 March 2002 05:44

To: ASP components

Subject: [asp_components] FileSystemObject doesn't support this method

or property





I have a problem where the FileSystemObject gives this error -- "object 

doesn't support this method or property", when I use certain methods, such 

as OpenTextFile (whether or not it has to create the file) or CreateFolder.



Note: This is server side ASP, Win 2K (latest updates), IIS 5



It doesn't throw a security error.  The directories in question have full 

access rights for all users, and specifically for the IUSR_ and IWAM_ 

users.



For many months one server has had this problem, the other has not.  



Here's the kicker: yesterday, for about 5 hours, FSO worked on the problem 

server.  We create a log file and write to it, and the file was created 

and had content.  Later, the object again began returning this error!



The server DOES have Norton Antivirus, and I know about the script 

blocking problem.  This isn't the same problem, as the NAV problem should 

hold up the page, not return this error.  But I've disabled script 

blocking, and in fact the server was working both with and without script 

blocking enabled -- I tested by deleting the directories, and saw the 

server create them and write to the file.   And of course the code itself 

is striaghtforward and works (i.e. on the other server, and on the problem 

server for a while).



An internet search shows a few discussion boards where developers have had 

this identical problem, but no solution was ever offered.



Any ideas?





 




$subst('Email.Unsub')






$subst('Email.Unsub').





  Return to Index