InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



.net Runtime Security Expand / Collapse
Author
Message
Posted 25/05/2005 09:51:34
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 05/08/2008 13:31:25
Posts: 17, Visits: 75
Does someone know how I can fix this error?  I have tried permissions to access it through .net wizzards and .net security in control Panel, but it comes up about 6 times whenever I try to load the project in VS.

Thanks!

By the way, it says: The project 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.

Post #6877
Posted 25/05/2005 10:37:01


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
I believe you'll have to set that up in your Enterprise Security Policy.. within your .NET Configuration... in the control panel..

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/entsecpoladmin.asp

I've never had this error... so I have no experience... but this is what I found.  I hope it helps...


..:: Bare ::..
http://www.livingformetal.com
Post #6881
Posted 25/05/2005 12:27:06
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 05/08/2008 13:31:25
Posts: 17, Visits: 75
I tried that and with no luck.  This error is driving me NUTS!

Thanks anyway

Greg

Post #6883
Posted 26/05/2005 19:44:24
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 05/08/2008 13:31:25
Posts: 17, Visits: 75
I got it.

It was question 6 in that document that worked for me if anyone has this problem.

  1. Can I prevent local user and machine policy from interfering with specific enterprise policy settings I have made?
  2. Users or machine administrators can further reduce the level of permissions granted to a specific assembly from the enterprise policy level. You can stop this by using code groups with a LevelFinal attribute at the enterprise policy level. This attribute will prevent the evaluation of any administrable policy levels below the one in which it is applied. If a code group in enterprise policy is marked with the LevelFinal attribute, and during policy evaluation of enterprise policy this code group applies, then machine and user policy are not evaluated and the only permissions an assembly matching this code group gets are those handed out by the enterprise policy level.
  3. Follow these steps to turn on the LevelFinal attribute on a code group in enterprise policy:
  4. Open Control Panel.
  5. Open the Administrative Tools folder.
  6. Double-click Microsoft .NET Framework Configuration.
  7. In the Microsoft .NET Framework Configuration tool, open the Runtime Security Policy node.
  8. Open the Enterprise policy level.
  9. Open the Code Groups folder and right-click the code group that you want to mark with the LevelFinal attribute.
  10. Select the Properties option.
  11. On the General tab, check the Policy levels below will not be evaluated box.
  12. Click Apply.

Thanks for the link.

Greg

Post #6914
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 6:16pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 9 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.