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
Found answer here:
Granting access to IIS 7.5 ApplicationPoolIdentity
When using "ApplicationPoolIdentity" with IIS 7.5 the corresponding user is (a virtual system user):
IIS AppPool\You can grant this user permissions and check security setting by searching for this user. See the full explanation here:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities
So basically just give permission to Oracle folder to the App Pool virtual user.