I'm trying to access a virtual directory as a folder and I'm getting the error "Attempted to access a path not on the disk". The virtual directory is pointing to a network share. Looking at previous posts, I changed the app pool to run under a specific domain user that has full access to that share.
I'm putting the path as "~/virtualdirectory/restofpath".
1/30/2013 4:13 PM
You can use the UNC path (//server/share) directly instead of a virtual path. As long as the app pool identity has permissions, you should be able to access.
1/30/2013 4:28 PM
Thanks for the response. I'm still getting the same error using the UNC. I checked that the w3wp.exe process is running under the username I had set in task manager and I also went to the network share and checked the security on the folder I'm trying to access and verified the user has full control access.
Is there a way to get a more specific error message of what might be causing the problem?
1/31/2013 7:09 AM
Sorry, for UNC to work you will need to impersonate the user.
Please see this topic:UNC Path
2/6/2013 1:17 PM