Been seriously racking my brain for a while with this.
I'm trying to add a Virtual Directory to a site that points to a UNC share. Both machines are not in a domain and I know the machines both see each other.
I've read that I need to create a user account on both machines with the same user name and password. For the VDir I have set the Specific User in the Connect As dialog and set the Physical Path Credentials Logon Type as "Network." If from the Basic Settings Dialog I run "Test Settings..." Authentication and Authorization both check out ok.
If I try to browse to the virtual directory with http through my site to access a simple graphic, I get a 500 error. Despite turning on all the detailed error message, trace logging - none of the sub error code (500.xx) comes through.
The VDir points to another website on another server that has it's own Web.Config. I had thought that perhaps that Web.Config was getting in the way but when I temporarily removed it, there was no change.
Currently, the App Pool assigned to the site has the Identity set to ApplicationPoolIdentity. I had tried NetworkService, and I tried using a custom account with the same user name and credentials as the accounts that are on both machines
Not quite sure what's left to try or do differently but I hope I've supplied enough information.
I appreciate any input in advance!
EDIT: Strangely enough, I'm seeing on the server with the share, that there's a login from ANONYMOUS LOGON from the Security Event viewer. Then an immediate Log Off...