Oracle ORA-12154 error on local IIS, but not with Visual Studio Development Server

前端 未结 8 1707
忘掉有多难
忘掉有多难 2020-12-18 11:13

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

8条回答
  •  心在旅途
    2020-12-18 11:35

    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.

提交回复
热议问题