when i open the administrative tools->dot net configuration, under "runtime Security Policy", there are 3 options:
Enterprise, Machine, User, whice under you have Code Groups.
for which of the options should i configure this?
and what exactly should i do ?
TIA, z.
"Patrik Lwendahl [C# MVP]" <patrik.lowendahl.no.freakin.spam@home.se> wrote in message news:uOIL0EC0EHA.3820@TK2MSFTNGP11.phx.gbl...
This is because of .NET's Code Access Security which is configured to
only grant a subset of permissions.
The easiest way to solve the problem is to add the url to trusted sites.
The neater solution is to create a new "Code Group" for your network
share and assign appropiate permissions.
--
Patrik Lwendahl [C# MVP]
cshrp.net - 'Elegant code by witty programmers'
cornerstone.se 'IT Training for professionals'
z. f. wrote:
> my development environment is windows 2003 server.
> when i open a project on the visual studio IDE that is located on
> another server i get the message
>
> "
> The project location is not fully trusted by the .NET runtime. This is
> usually because it is either a network share or mapped to a network
> share not on the local machine. If the output path is under the project
> location, your code will not execute as fully trusted and you may
> receive unexpected security exceptions.
> "
> every time i open the project
> what can i do to make it disappear?
>
> TIA, z.
The simplest (least work) in this situation is to change the machine policy (those 3 options are known as policy levels). Under the Intranet zone groop, add a new code group with a Membership condition of type Site and value of the machine you want to trust. Then set the Permission Set to be fulltrust.
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
 when i open the administrative tools->dot net configuration, under "runtime Security Policy", there are 3 options: Enterprise, Machine, User, whice under you have Code Groups. for which of the options should i configure this? and what exactly should i do ? TIA, z.
z. f. - 22 Nov 2004 15:10 GMT
thanks!
The simplest (least work) in this situation is to change the machine policy (those 3 options are known as policy levels). Under the Intranet zone groop, add a new code group with a Membership condition of type Site and value of the machine you want to trust. Then set the Permission Set to be fulltrust.
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
 when i open the administrative tools->dot net configuration, under "runtime Security Policy", there are 3 options: Enterprise, Machine, User, whice under you have Code Groups. for which of the options should i configure this? and what exactly should i do ? TIA, z
Lewis - 30 Jan 2005 02:21 GMT
Could you give an example?
I have tried to add this to the membership condition as a site and URL. It
says the site does not appear to be valid.
\\myserver\Userfiles\lewis\My Documents\My Programming
I have "My Documents" redirected here.
> The simplest (least work) in this situation is to change the machine policy (those 3 options are known as policy levels). Under the Intranet zone groop, add a new code group with a Membership condition of type Site and value of the machine you want to trust. Then set the Permission Set to be fulltrust.
>
[quoted text clipped - 5 lines]
>
>  when i open the administrative tools->dot net configuration, under "runtime Security Policy", there are 3 options: Enterprise, Machine, User, whice under you have Code Groups. for which of the options should i configure this? and what exactly should i do ? TIA, z.