FileLoadException when running app with Impersonate from network folder.
- From: Michael.Suarez@xxxxxxxxx
- Date: 13 Mar 2006 12:16:17 -0800
If I take the example c# code from the MSDN site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemSecurityPrincipalWindowsIdentityClassImpersonateTopic.asp
and compile it into a console app, using vs 2005, I can run the app and
it works great.
Then I drag the app.exe from the bin/debug folder to another folder on
my hard drive, and double click the .exe. Still works great.
Then I drag this app.exe to a folder on the network and double click
the .exe.
Now I get a FileLoadException.
What do i need to do to avoid this exception?
Thanks,
Mike
.
- Follow-Ups:
- Re: FileLoadException when running app with Impersonate from network folder.
- From: johnvmc@xxxxxxxxx
- Re: FileLoadException when running app with Impersonate from network folder.
- Prev by Date: problem implementing usernameForCertificateSecurity assertion
- Next by Date: Re: Extracting certificate from the smart card thru cryptoApi in c#
- Previous by thread: problem implementing usernameForCertificateSecurity assertion
- Next by thread: Re: FileLoadException when running app with Impersonate from network folder.
- Index(es):
Relevant Pages
|
Loading