I'm running IIS7.5 and have several .NET 4.0 sites running on IIS.
One of these sites, we'll call it "Site A", is using network sharing and it works.
Another site, call it "Site B", also uses network sharing (to the same shares Site A accesses), but it doesn't work. I get "access denied" errors.
I went to Site B's app pool and changed the "Identity" to "NetworkService" and Site B was able to start accsessing network shares.
The problem is, Site B's app pool and Site A's app pool were set up identically. Site A's app pool uses the "ApplicationPoolIdentity" identity and it's able to access the shares with no problem.
Can anyone explain why and let me know how to get Site B to access network shares using the "ApplicationPoolIdentity" identity?