Solved

IIS 6 ASP access to mapped drive

Posted on 2009-07-15
2
529 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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