Re: c++ program does not run from server drive




"jiangsheng[MVP]" <sheng_jiang@xxxxxxxxxxxxxxxxxxx> wrote in message
news:OeiLLzm8GHA.4476@xxxxxxxxxxxxxxxxxxxxxxx
you need full trust to load an assembly from a network location.


No you don't.

Rather, an executable loaded from a network doesn't receive full trust
permissions. Unless you've marked the appropriate security attributes on
your program, it will request full trust and be denied.

--
Regards
Sheng Jiang

Microsoft Most Valuable Professional in Visual C++
http://www.jiangsheng.net
http://blog.joycode.com/jiangsheng/
<marsze@xxxxxxxxx> ????
news:1161115046.762802.282370@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi

I succesfully finished a simple form program in VC express 2005. I
tested the program in another machine, after installing the runtime
libraries and .NET framework 2, and is working fine.

Now' i'd like to make the program available from the network server
drive to other users (after they install the runtime and .net framework
in their machines).

But the copied .exe does not start from the server drive, resulting in
an error screen before executing the program (it does it either from
the local development computer or from the other machine). The error
message doen't tell anything.

Any suggestion how to fix this?

Thank you,
Marcos





.



Relevant Pages

  • Re: project location is not fully trusted by .NET run time
    ... Properties dialog (on the Security page). ... Tools | Microsoft .NET Framework 1.1 Wizards to launch the config tool. ... Select "Trusted Sites" and set the security level to Full Trust. ... > companies all the project located in network. ...
    (microsoft.public.vstudio.development)
  • Re: Full trust for unsigned assembly on a network
    ... Yes, you can use CASPOL.exe (comes with .NET Framework) to give either local intranet Full Trust, or create a code group, pointing to a network share with full trust. ...
    (microsoft.public.dotnet.framework)
  • Re: c++ program does not run from server drive
    ... an executable loaded from a network doesn't receive full trust ... libraries and .NET framework 2, ... Now' i'd like to make the program available from the network server ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Least User Priviledges for Network Administrators
    ... Trust how? ... Do we trust them to maintain network equipment? ... Do we trust them to observe proper security practices on the desktop, ... Training users that need administrator access to logon as a regular ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Are you a good driver? Prove it!
    ... They track network connectivity down to the individual. ... > any time I want to, but I don't abuse this power. ... We are expected to trust you (and me, I do the same things with ...
    (misc.transport.road)