c++ program does not run from server drive

  • Thread starter Thread starter marsze
  • Start date Start date
M

marsze

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
 
i'm not quite sure with that - i just saw something similar o the web day
before
but isnt that related to the acess rights and security?
if you run managed application from the network folder - different security
is applied to it..
try to check that....
 
jiangsheng said:
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.
 
Back
Top