|
Subject:
|
FileSystemObject problem...
|
|
Posted By:
|
swampwrecker
|
Post Date:
|
10/11/2004 9:52:13 AM
|
I am having a problem with the FileSystemObject running on my machine. I'm using WinXp's IIS on a P3 650mhz laptop. Whenever I create an instance of the FileSystemObject, the page just sits there loading. It doesn't time out, it doesn't error out, it just sits there loading. All I have to do is set an object equal to CreateObject("Scripting.FileSystemObject") and the page is doomed. I don't have to do anything more then that. My page could be one line <% Set fso = CreateObject("Scripting.FileSystemObject")%>.
I've been coding ASP for about 5 years and using the FileSystemObject for almost as long and have never encountered this problem before.
Any ideas would be appreciated.
Thank you,
-Michael
|
|
Reply By:
|
happygv
|
Reply Date:
|
10/12/2004 12:47:58 AM
|
Did you forget Server all those times or just this time? How about trying that now?<% Set fso = Server.CreateObject("Scripting.FileSystemObject")%>Cheers!
_________________________ - Vijay G Strive for Perfection
|
|
Reply By:
|
swampwrecker
|
Reply Date:
|
10/12/2004 2:45:50 PM
|
With the FileSystem Object,there is no need for the Server. portion, CreateObject works just fine.
Following Microsoft's example, they don't use it either: http://support.microsoft.com/default.aspx?scid=kb;en-us;300982
The code works fine live on IIS 6.0 on Windows Server 2003 as well as on IIS 4.0 on Windows NT 4 and PWS on Windows 98SE. I thought maybe there was something quirky with the version of IIS on WinXP.
Just to satisfy your post, adding the Server. doesn't produce results.
Thanks,
-Michael
|