I\'ve got an ASP.NET application that can connect to Oracle when it\'s started by Visual Studio Development Server, but when I deploy it to my local IIS, it does not connect
Posting my case because it took entirely too long to figure out.
I didn't have access to adjusting the folder permissions and setting the Application Pool Identity did nothing.
Ended up having to edit the Anonymous Authentication credentials of the individual site to my own and the application pool to Network Service. Hopefully this will help someone in a similarly frustrating situation one day.
If you are using ApplicationPoolIdentity, Make sure ApplicationPoolIdentity has access to your TNS directories.
See here how to authorize: IIS7 Permissions Overview - ApplicationPoolIdentity