project location is not fully trusted

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: D'Hag (D'Hag_at_discussions.microsoft.com)
Date: 12/02/04

  • Next message: anonymous_at_discussions.microsoft.com: "Navigating..."
    Date: Thu, 2 Dec 2004 10:41:03 -0800
    
    

    "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." <OK> <Cancel> <Help>

    I work on a project that has developers around the world, with a shared
    Internet repository. When I download the latest version of the solution and
    load the solution into Visual Studio.NET 2003, I get the message box above
    for many of the projects in the solution.

    Click "Help" and it says the same thing in more words, and offers no real
    help. Following the suggested procedures therein gives no fix at all. This is
    pretty funny, actually, since the projects that pop the message are NOT on a
    network share. I have it installed on my local hard drive.

    I have traced down the cause and a workaround. But a real "fix" eludes me.

    I am running Windows XP Pro with Service Pack 2. This all started when I
    installed SP2.

    When I go to the folder where the project file is saved, and check the
    properties of the project file itself, at the bottom of the General tab there
    is this block (a new feature with SP2)--
    "Security: This file came from another computer and might be blocked to help
    protect this computer."

    Next to that is a button, "Unblock."

    If I click "Unblock," then "Apply" > "OK," then the project will load in
    Visual Studio without popping the warning message.

    I have been trying to find a security setting in WinXP SP2 that will stop
    this behaviour, but I haven't found it yet. Can anybody else suggest a real
    fix? The workaround, of course, is to open the Properties window on each of
    the project files and "Unblock" them, one at a time. A real pain!


  • Next message: anonymous_at_discussions.microsoft.com: "Navigating..."

    Relevant Pages

    • Re: [Full-disclosure] Python ssl handling could be better...
      ... there aren't many users who will be affected by the fix then. ... Which, you would be, if you were on my network. ... perspective of the client or the server. ... Even if a valid certificate is presented by the server side, ...
      (Full-Disclosure)
    • Re: Cannot access the web
      ... I think it's worth a shot at that fix. ... After you run Microsoft Windows AntiSpyware, you have network-related problems, or you receive an error message: ... You receive an An operation was attempted on something that is not a socket error message when you try to connect to a network: ... > This connection is over dial up, and another computer in the house can ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Cannot Logon
      ... Another solution that solved this issue for me was simply doing a repair install of the OS. ... Network+, i-Net+, CIW Assoc., ... To fix this you must gain access to your hard disk. ... Incorrect registry link to userinit.exe. ...
      (microsoft.public.windowsxp.general)
    • Re: Unknown error trying to lock file
      ... I noticed that creating a network location fixed this issue, but everytime your webclient service gets restarted you have to authenticate to the network locatoin again. ... If you are like me and too lazy to click on another link, here is the quick fix: ... On the Edit menu, point to New, and then click Multi-String Value. ... We have 2 portals on one IIS server with a separate SQL server for the ...
      (microsoft.public.sharepoint.portalserver)
    • Dodgy Network Wizard / XP installation?
      ... cheapest and quickest way to fix this problem ... Boot to the WinXP CD ... >In my vain attempts to get a network going (WinXP host, ... I only wanna play Tiger Woods 2004 ...
      (microsoft.public.windowsxp.network_web)