Solution not able to access network resources from network drive
I'm running VS 2010 Ultimate on a Win7 Professional machine. The policy of my employer is that everyone does there work on the provided network drives.
The problem that I am having is that if I write an application that uses an external source such as Active Directory or an external web service I get varying error messages varying from " dead network " (I cant remember the full error) to " The Network Path was not found ".
However when I copy my solution to the local drive or a USB drive the project works fine. To add to the confusion any linqtosql or edm projects work fine.
I am an administrator of my local machine and I am running visual studio as an administrator. I've tried using caspol to set Exclusive entry’s for fully trusting the network drive.
When I run: caspol -rsg for the exe location on
C: the Enterprise and User are fully trusted and for Machine Zone MyComputer is fully trusted
for P (network) I have. 1. All code: Nothing
1.2. Zone - Intranet: LocalIntranet
1.2.1. All code: Same site Web
1.2.2. All code: Same directory FileIO - 'Read, PathDiscovery'
1.6. Url - P:\*: FullTrust (Exclusive)
1.7. Url - \\domain\staff\drives\ME\*: FullTrust (Exclusive)
1.8. Url - file://\\domain\staff\drives\ME\*: FullTrust (Exclusive)
1.9. Url - file://P:\*: FullTrust (Exclusive)
I am possibly missing the caspol command to set the appropriate permission on the network drive. The main thing that is confusing me is the inconsistency of it. It's very frustrating, especially as the error messages don't seem to completely relate to the problem at hand.
I hope someone can help point out where I am going wrong.