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

前端 未结 8 1691
忘掉有多难
忘掉有多难 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:40

    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.

    0 讨论(0)
  • 2020-12-18 11:43

    If you are using ApplicationPoolIdentity, Make sure ApplicationPoolIdentity has access to your TNS directories.

    See here how to authorize: IIS7 Permissions Overview - ApplicationPoolIdentity

    0 讨论(0)
提交回复
热议问题