Solved

IIS 6 ASP access to mapped drive

Posted on 2009-07-15
2
515 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
2 Comments
 
LVL 20

Expert Comment

by:brwwiggins
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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