Solved

filesystem object won't work in IIS6

Posted on 2004-04-07
4
398 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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