The short story is I'm attempting to access a remote resource from within an ASP.NET app via UNC path by the GetFiles() method. After much reading I see that even knowing I have full impersonation and the use of windows integrated authentication set the worker process plays a big role in this type of remote access. So in all that I created a new application pool to run under a domain account that has access to the local and remote servers. I set the GP as such so the domain account has permissions to impersonate and a few other MS stated requirements to use the account as an identity to the worker process. Nothing works however and even knowing the event log is showing the worker process running now under the domain account I still cannot access the remote files via UNC paths.
Here's the exact config to now
IIS 6 settings anonymous unchecked and integrated windows authentication ticked. Application pool runs under a domain account for the identity and verified as such in the task manager. This domain account is a domain admin (for testing only).
web.config
machine.config
Any insight to what I'm doing wrong or what ASP.NEt is doing to make this difficult would be greatly appreciated. Thanks all!
I’ve been working on this pretty much all night so I apologize if I failed to provide info that is needed. Please ask for whatever you need for other settings or events
This thread is very similar
but I didn't see much of a resolution in it.
____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done
Here's the exact config to now
IIS 6 settings anonymous unchecked and integrated windows authentication ticked. Application pool runs under a domain account for the identity and verified as such in the task manager. This domain account is a domain admin (for testing only).
web.config
Code:
<identity impersonate="true" />
<authentication mode="Windows"/>
Code:
<processModel autoConfig="true"/>
Any insight to what I'm doing wrong or what ASP.NEt is doing to make this difficult would be greatly appreciated. Thanks all!
I’ve been working on this pretty much all night so I apologize if I failed to provide info that is needed. Please ask for whatever you need for other settings or events
This thread is very similar
but I didn't see much of a resolution in it.
____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done