Question : UNC Share as an IIS Virtuial Directory

I'm trying to set up a UNC share as a new IIS Virtual Directory in either IIS6.0 or IIS7.0

The virtual directory is created just fine but when I attempt to browse it I get the following error from IIS7:
HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code: 0x8007052e
Notification: BeginRequest
Module: IIS Web Core
Requested URL: http://localhost:80/MediaPresATA
Physical Path: \\mediapresdm01\mediapres_ata
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot read configuration file
Config File: \\?\UNC\mediapresdm01\mediapres_ata\web.config

Does anyone have a clue as to what is causing this?

I found an MS KB article: #934515 but the options listed there didn't seem to be of any help.

Any help is greatly appreciated.
Thank you, stullhe104

Answer : UNC Share as an IIS Virtuial Directory

The UNC share has to be configured to allow the web server to connect to the share.  If the Application Pool for the web application is running as 'Local Service' it won't have permissions to access the share.
Random Solutions  
 
programming4us programming4us