Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

IIS accessing a drive mounted by LocalSystem fails

$
0
0
I have a Windows Server 2008 R2 Enterprise web server. The server mounts a network drive to a drive letter under the LocalSystem account. The drive letter is S:. I can launch a command prompt under LocalSystem account (using psexec) and browse to S: and peruse the files. Of course, since the drive is mounted under the LocalSystem context, it is not visible to any other user. This is fine for my purposes. I have a virtual directory underneath my main site in IIS 7.5. The virtual directory is /archives and points to S:\. Within IIS, the directory is set to use Anonymous authentication and use the application pool identity. The application pool identity is set to LocalSystem. As far as my understanding can fathom, Access to that subdirectory should be looking to S:\, the network drive mounted as LocalSystem. The subdirectory accesses the physical directory using the applicaiton pool identity which is itself localsystem. However, I repeatedly get "HTTP Error 401.3 - Unauthorized" for individual files as they try to get accessed. Note, it appears that I can access the actual document root of S:\, just not files within it. So it appears that the drive is visible under the user context that IIS is access it, but for some reasons files are not accessible. Module DefaultDocumentModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x80070005 Requested URL http://www.mysite.com:80/archives/ Physical Path S:\ Logon Method Anonymous Logon User Anonymous Any idea what I'm doing wrong? The drive letter exists under the user context that IIS is using to access it through a virtual directory. The LocalSystem user can manipulate files. I just... I can't figure this one out.

Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>