Re: project location is not fully trusted by .NET run time
From: Ed Kaim [MSFT] (edkaim_at_online.microsoft.com)
Date: 07/05/04
- Next message: Windows forms in VB.NET: "Deleting a windows form"
- Previous message: [Yosi]: "project location is not fully trusted by .NET run time"
- In reply to: [Yosi]: "project location is not fully trusted by .NET run time"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Jul 2004 02:57:50 -0700
When the .NET Framework loads an application from a remote machine, it
doesn't trust it by default. It'll let it run, but will limit it to the
permissions specified by the Internet Zone in Internet Explorer, which is
limiting in order to protect the machine. To work around this, you have two
options:
1. Add the server to your "Trusted Sites" in Internet Explorer's Internet
Properties dialog (on the Security page). Then go to Start | Administrative
Tools | Microsoft .NET Framework 1.1 Wizards to launch the config tool.
Select "Adjust .NET Security" and press Next to change local machine
settings. Select "Trusted Sites" and set the security level to Full Trust.
This option is nice if you keep close tabs on your trusted sites.
2. Go directly to Start | Administrative Tools | Microsoft .NET Framework
1.1 Wizards to launch the config tool. Select "Adjust .NET Security" and
press Next to change local machine settings. Select "Local Intranet" and set
the security level to Full Trust. This option is nice if you completely
trust your Intranet.
I prefer option 1, but everyone has their owns tastes. You can get more
specific in what gets through if you read through the docs a bit.
"[Yosi]" <Yosi@discussions.microsoft.com> wrote in message
news:8D0CBF76-A7D5-4436-85E9-7C3E58A4427F@microsoft.com...
> Hi,
> I'm trying to create a project located in network, as all you know in
> companies all the project located in network. but when I'm trying to do
> that the following exception displayed:
>
> "The project location is not fully trusted by .NET run time. 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 recive unexpected
> security exception."
>
> When I do that in my local machine evrey thing is OK but the executable
> files cann't be run from network what I should do?
- Next message: Windows forms in VB.NET: "Deleting a windows form"
- Previous message: [Yosi]: "project location is not fully trusted by .NET run time"
- In reply to: [Yosi]: "project location is not fully trusted by .NET run time"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|