Ora 12154 error

前端 未结 9 1477
长发绾君心
长发绾君心 2021-01-20 00:09

I recently deploy one web application in one of my development servers. I\'m using oracle, asp.net and c#. When I run the application in the server everything works fine, bu

9条回答
  •  悲哀的现实
    2021-01-20 00:55

    Guess: An oracle client is not installed on Server B.

    If you do have an oracle client installed then you can still put a tnsnames file in any location (Such as a directory on a network share). In order to do this, set a TNS_ADMIN system variable (System Properties->Advanced->Environment Variables on XP) to the directory containing your tnsnames files.

    For me for example I have a system variable: TNS_ADMIN - C:\oracle\ora92\network\ADMIN

提交回复
热议问题