When you deploy and run an application from a network path
(either a path on a mapped drive or a UNC path), the .NET Framework
on the computer must be configured to have Full Trust permissions
at runtime.
- From the Windows Control Panel, select .
- In the .NET Framework Configuration tool, expand My Computer and
select .
- From the context menu, select
Properties.
- In the Permission set
drop-down list on the Permission Set tab page, select FullTrust.