S
SimeonArgus
I'm issuing Directory.GetDirectories(MyPath) and it returns an access
violation error. It is a windows application (not a web application)
and running locally at my desktop, not across a network.
When I skip over the impersonation step, it runs under my account and
works fine, because I have rights there. However, the account I am
impersonating is an administrative account, and also has permissions
to this directory. (All directories, in fact.)
The only thing I can think of that is unusual about this is that
MyPath points to a network drive: G:\projects\...yaddayadayadda...
Is there a known issue with requesting a list of directories while
under an impersonated session? If so, is there a workaround?
Any help would be incredibly appreciated. Thank you.
--Jerry
violation error. It is a windows application (not a web application)
and running locally at my desktop, not across a network.
When I skip over the impersonation step, it runs under my account and
works fine, because I have rights there. However, the account I am
impersonating is an administrative account, and also has permissions
to this directory. (All directories, in fact.)
The only thing I can think of that is unusual about this is that
MyPath points to a network drive: G:\projects\...yaddayadayadda...
Is there a known issue with requesting a list of directories while
under an impersonated session? If so, is there a workaround?
Any help would be incredibly appreciated. Thank you.
--Jerry