Home All Groups Group Topic Archive Search About
Author
4 Aug 2006 6:14 PM
nickchan
I am able to run my Windows app from a local drive. But I try running it from a mapped drive, I get the following error:

Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0

After I click Ok, it recommends I tweak the .Net Configuration wizard to adjust the security settings. What does that mean ?

TIA

Author
4 Aug 2006 7:10 PM
Nicole Calinoiu
See http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx for an
explanation of the problem and some workarounds.  Since you're using .NET
2.0, you also have the option of deploying your application via ClickOnce,
which will avoid the requirement to modify the CAS policy on all the client
machines.



<nickc***@programmer.net> wrote in message
Show quoteHide quote
news:OmxMfH$tGHA.1504@TK2MSFTNGP03.phx.gbl...
>I am able to run my Windows app from a local drive. But I try running it
>from a mapped drive, I get the following error:
>
> Request for the permission of type
> 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0
>
> After I click Ok, it recommends I tweak the .Net Configuration wizard to
> adjust the security settings. What does that mean ?
>
> TIA
>