Solved

IIS 6 ASP access to mapped drive

Posted on 2009-07-15
2
532 Views
Last Modified: 2012-05-07
I had an application that ran on IIS 5 the used a mapped network drive to write temp data. We used a domain account with access to this share as the anonymous account and worked without problem. when we moved to app to IIS 6 on Windows 2003 it would no longer work. we are getting "Path not Found". the drive is mapped and permissions are set correctly, and the domain account is set in IIS. I know it will work with the UNC, but we are trying to avoid this due the the excessive edits necessary. am i missing something?

thanks,

Ralph
set fs=Server.CreateObject("Scripting.FileSystemObject")
     tracefilename = "G:/Report/tempdata/search_" _
                   & myUniText

Open in new window

0
Comment
Question by:rvaccaro
[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 Comments
 
LVL 20

Expert Comment

by:brwwiggins
ID: 24863429
Don't think it will work. The drive letters are user specific. The account that runs IIS does not have a login script and can only access local drive letters.

http://www.eggheadcafe.com/conversation.aspx?messageid=29572940&threadid=29572924
0
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 24864494
It will not work at all with mapped drives under IIS 6 or later.  Mapped drives are user specific and IIS 6 and later actually have code that should not let you do things like map virtual directories to mapped drives.  Unfortunately there isn't any feasible way to scan all user code to check for these kinds of mappings as well.

Should not have worked under IIS 5.0 after SP4 was installed either due to changes implemented in the way mapped drives were handled.

Dave Dietz
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

636 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