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

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

    The difference is:

    • When you are debugging in Visual Studio you are in the security of the logged in user (you)
    • When you are running in IIS you are in the security context of the identity of the application pool. Default is Network Service.

提交回复
热议问题