Re: c++ program does not run from server drive
- From: "Ben Voigt" <rbv@xxxxxxxxxxxxx>
- Date: Wed, 18 Oct 2006 16:22:47 -0500
"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
.
- Follow-Ups:
- Re: c++ program does not run from server drive
- From: marsze
- Re: c++ program does not run from server drive
- References:
- c++ program does not run from server drive
- From: marsze
- Re: c++ program does not run from server drive
- From: jiangsheng[MVP]
- c++ program does not run from server drive
- Prev by Date: Re: Function like "Generic::List<String^>^ buildList(String^ inParm)" and avoiding warning C4172: returning address of local variable or temporary
- Next by Date: Re: C2440: Generic argument and nullptr
- Previous by thread: Re: c++ program does not run from server drive
- Next by thread: Re: c++ program does not run from server drive
- Index(es):
Relevant Pages
|