Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to find an entry point named 'OpsGetTnsnamesSearchPath' in DLL 'OraOps12.dll'.

3510659Aug 28 2017 — edited Sep 7 2017

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2017
Added on Aug 28 2017
1 comment
2,285 views