Re: not fully trusted
- From: BWilliams <BWilliams@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 1 Aug 2005 05:35:03 -0700
Carlos,
I'm having the same problem, and after research, have tried to implement the
solution you suggested, but I don't think I got the path correct. Could you
explain the following parts of: file://MyServer/MyFolder1/MyProjectLocation/*
If I have the solution in E:/ProcjectFiles/Myproject - (this is a hard drive
on the local machine.)
Would the correct path be file://MyServer/MyProject/E:/ProcjectFiles/*
Thanks
Brian Williams
"Carlos J. Quintero [MVP]" wrote:
> By default, .NET exes can not run in Intranet zones with Full Trust, only in
> hard drive. When you open .NET code with VS.NET in a intranet zone, VS.NET
> warns you that the compiled exe may not run.
>
> So, I would recommend you to read something about code security in .NET and
> the usage of the Microsoft .NET Framework Configuration and Microsoft .NET
> Framework Wizards (Control Panel, Administrative Tools) to change the
> default security policy (or the caspol.exe command-line equivalent).
>
> If you want a quick and blind solution, go to Control Panel, Administrative
> Tools, Microsoft .NET Framework Configuration, open the MyComputer\Runtime
> Security Policy\Machine\Code Groups\All_Code\LocalIntranet_Zone, right-click
> New... and create a zone, give a name, select
> URL type for the code group and type as URL
> file://MyServer/MyFolder1/MyProjectLocation/*
>
>
> --
>
> Carlos J. Quintero (Visual Developer - .NET MVP)
>
> FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
> addins:
> http://groups.yahoo.com/group/vsnetaddin/ (free join)
>
>
>
> "KevinMGore" <KevinMGore@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
> news:21037D79-12C7-49B2-92A4-C7A8F3E9FBD8@xxxxxxxxxxxxxxxx
> > We developed a desktop app on a local PC then transfered the code to our
> network drive. When we try to open the project file from the network we get
> the following message:
> >
> > The project location is not fully trusted by the .net framework...
> >
> > Any advice will be appreciated.
> >
> > Kevin
>
>
>
.
- Prev by Date: URGENT! Minimize a form and memory
- Next by Date: Weird unexpected error - I need to close VS2003 to keep going
- Previous by thread: URGENT! Minimize a form and memory
- Next by thread: Weird unexpected error - I need to close VS2003 to keep going
- Index(es):
Relevant Pages
|