Solved

filesystem object won't work in IIS6

Posted on 2004-04-07
4
397 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:brgivens
ID: 10781181
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
ID: 10781935
> 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
ID: 10783441
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
ID: 10783454
;-)
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
is this a cms? 8 88
Connection to multiple databases 13 41
My Do While is Not Producing Anything 15 79
ASP Error Handler 5 33
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…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

738 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