Re: FileLoadException when running app with Impersonate from network folder.
- From: "johnvmc@xxxxxxxxx" <johnvmc@xxxxxxxxx>
- Date: 14 Mar 2006 06:01:33 -0800
Mike,
Some more information on the details of the error would be helpful but
since the the FileLoadException occurs when an assembly is located but
can not be loaded I would expect that that network server you've placed
your executable on may have a different version of an assembly than the
one used to build your project.
The impersonation will change the permissions available to the process
but as you're not getting a Security exception I doubt it would be
that. It is possible that the advapi call isn't loading if your network
security level is limited.
I would check the versions of the DLLs you're loading and if they're
the same, see if it works when you're an administrator on the network
server (assuming that's possible). You should also be able to squeeze
some more information out of the error so if those two suggestions
don't work just post back with more details.
-John Mc
.
- Follow-Ups:
- Re: FileLoadException when running app with Impersonate from network folder.
- From: Michael . Suarez
- Re: FileLoadException when running app with Impersonate from network folder.
- From: jeanbdenis
- Re: FileLoadException when running app with Impersonate from network folder.
- From: Dominick Baier [DevelopMentor]
- Re: FileLoadException when running app with Impersonate from network folder.
- References:
- FileLoadException when running app with Impersonate from network folder.
- From: Michael . Suarez
- FileLoadException when running app with Impersonate from network folder.
- Prev by Date: Re: ASP.Net 1.1, Win 2003, IIS6, System.Diagnostics.Process, run notep
- Next by Date: Re: FileLoadException when running app with Impersonate from network folder.
- Previous by thread: FileLoadException when running app with Impersonate from network folder.
- Next by thread: Re: FileLoadException when running app with Impersonate from network folder.
- Index(es):
Relevant Pages
|