CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Posts
    63

    Project location is not fully trusted

    Don´t know if I´m in the right forum but I hope so

    When I create a C++ Empty Project in Visual Studio .NET 2003 I get this message that says: "The Project location is not fully trusted by the .NET-runtime..." (see attached file for the whole message).

    If I ignore the message and creates the project I can´t run the program, if I try I get the following error: "Unhandled Exception: System.Security.Policy.PolicyException: Unverifiable assembly 'z:\C_plusplus\test2\Debug\test2.exe' failed policy check."

    In Visual Studio 6.0 the same works perfectly fine so I guess thet .NET 2003 has better security?

    Is there any simple way to get around the problem without moving the project to the local drive?

    Thanks
    /Suzi
    Attached Images Attached Images

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537

    Re: Project location is not fully trusted

    You have to set the security policy

    http://msdn.microsoft.com/library/de...ecpoladmin.asp

    The simple example would be going to the control panel->.net framework wizard->adjust .net secuirty and give full trust to the particular zone.
    Last edited by Mick; January 26th, 2005 at 10:27 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured