Hi,
I created a test application to just connect to oracle database and query it. On my workstation when I run it using Visual studio, it works fine and connect to oracle database and retrieves the query result.
But when I deploy the same test application in IIS on the test server. It gives me an error -
Unable to find an entry point named 'OpsGetTnsnamesSearchPath' in DLL 'OraOps12.dll'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named 'OpsGetTnsnamesSearchPath' in DLL 'OraOps12.dll'.
Source Error:
Line 32: Line 33: using (OracleConnection conn = new OracleConnection(oradb)) Line 34: { Line 35: try |
Source File: C:\inetpub\wwwroot\WebTestConnection\Default.aspx.cs Line: 33
Server configuration - 64 bit machine just as my workstation.
Oracle - 12c
Default app pool advance settings:
.NET CLR version - v4.0
Enable 32-bit application - False
Managed Pipeline mode - Integrated
Test application bin folder:
Oracle.DataAccess.dll - 4.121.2.0
Oracle.Web.dll - 4.121.2.0
OraOps12.dll - 2.121.2.0
Could you please let me know what I need to do to resolve the issue.
Thanks