Solved

filesystem object won't work in IIS6

Posted on 2004-04-07
4
384 Views
Last Modified: 2008-02-26
I use the filesystem object in several of my ASP applications, on IIS6 servers the FSO won't work, when I try the same code on IIS5 servers (with the same filters) it works fine.  FSO returns no errors, just lots of "falses" like I'm referencing an empty var.  I've researched the problem and can only find people having this problem when anti-virus apps block the filesystem object, or security permissions block access to the DLL required to run FSO.  I don't know what DLL is required to run FSO, or what permissions are required on the DLL or if the DLL is even the problem.  All I can really say for sure is FSO works in IIS5 and not in IIS6, there must be a reason.  We're supposed to be upgrading our servers soon to IIS6 so I need to find out how to get IIS6 to work with my apps.

-Coolhand2120

0
Comment
Question by:Coolhand2120
  • 2
4 Comments
 
LVL 7

Expert Comment

by:brgivens
Comment Utility
I think this PAQ might have the information you need:

http://oldlook.experts-exchange.com:8080/Web/Web_Languages/ASP/Q_20726698.html
0
 
LVL 15

Accepted Solution

by:
deighc earned 500 total points
Comment Utility
> I think this PAQ might have the information you need

I doubt it: it discusses the change in default Response buffer size between IIS5 and 6, and I can't see how that could effect file system access.

> I don't know what DLL is required to run FSO

The FSO comes from the script engine DLL, so assuming you can run ASP scripts I think it's safe to say that you have the permissions to access the FSO objects.

Most likely is the default file-level permissions exposed via IIS. IIS6, out of the box, is alot more locked down that IIS5.

> FSO returns no errors, just lots of "falses" like I'm referencing an empty var.

Post some code where the problem occurs.
0
 
LVL 2

Author Comment

by:Coolhand2120
Comment Utility
Stupid computer (oxymoron)

I put the wrong path in my FSO object when I asked objFSO.FileExists(filename), thanks for telling me to lookup my script!  Made me start wondering about the path to the file.   Sometimes it just takes a little advice (RTFM etc.) to get people pointed in the right direction.  I feel like a jerk now for suggesting the wrong idea, and looking for the problem in the wrong place.  I store the physical path in a SQL database so it wasn't horribly apparent I was looking for a path that didn't exist.  Thanks for your help all the same.

-Coohand2120
0
 
LVL 15

Expert Comment

by:deighc
Comment Utility
;-)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now