Select to view content in your preferred language

Oracle ManagedDataAccess Connection Times Out

94
1
Jump to solution
Monday
TomLewis
Occasional Contributor

I'm new to ArcGIS Pro SDK so forgive me if I'm asking a stupid question... but I'm stuck...

I'm porting an ArcMap extension over and need to connect to an Oracle DB for some non-spatial data. I'm using the Oracle.ManagedDataAccess NuGet package, as we use in other applications. I'm getting a connection timeout when trying to access the DB. I'm using the same connection string I use in other applications, including a web application running in IIS, on the same machine so I know it's a good string. Also using the same C# code for accessing the DB.

Any ideas what I'm missing here?

I can give more details if needed.

Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
TomLewis
Occasional Contributor

Well... I'm an idiot. Problem solved. For those running into this issue...

My issue was that all of our other projects are on .NET Framework so I did what I always do. This is .NET Core. So instead of installing the Oracle.ManagedDataAccess from NuGet, it requires Oracle.ManagedDataAccess.Core. Swapped that out and it all works like a charm.

View solution in original post

0 Kudos
1 Reply
TomLewis
Occasional Contributor

Well... I'm an idiot. Problem solved. For those running into this issue...

My issue was that all of our other projects are on .NET Framework so I did what I always do. This is .NET Core. So instead of installing the Oracle.ManagedDataAccess from NuGet, it requires Oracle.ManagedDataAccess.Core. Swapped that out and it all works like a charm.

0 Kudos