Re: FileLoadException when running app with Impersonate from network folder.



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

.



Relevant Pages

  • Re: View files on my office computer from home
    ... > office network, but I'm having trouble with it. ... "Incoming Connections depend on the Routing & Remote Access ... > to view files on my office computer from home. ... network server is Win2k PRO and my laptop is WinXP Home Edition. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Network Drive Issue
    ... > CHKDSK isn't sufficient to determin the heath of the drive. ... This is related to some network device driver ... renamed to disable it in VS 2005 due to slow and long delay loading ... the last DLL loaded is FEACP.DLL as well. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Error: DRIVER_IRQL_NOT_LESS_OR_EQUAL, Blue screen of Death
    ... > I have two machines. ... > Each has an onboard Intel ethernet connection. ... > I know that this has something to do with the network. ... > * Symbol loading may be unreliable without a symbol search path. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Error: DRIVER_IRQL_NOT_LESS_OR_EQUAL, Blue screen of Death
    ... > I have two machines. ... > Each has an onboard Intel ethernet connection. ... > I know that this has something to do with the network. ... > * Symbol loading may be unreliable without a symbol search path. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Error: DRIVER_IRQL_NOT_LESS_OR_EQUAL, Blue screen of Death
    ... > I have two machines. ... > Each has an onboard Intel ethernet connection. ... > I know that this has something to do with the network. ... > * Symbol loading may be unreliable without a symbol search path. ...
    (microsoft.public.windowsxp.hardware)

Quantcast