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!

Oracle.ManagedDataAccess.dll Index was outside the bounds of the array

user5062945Dec 5 2019 — edited Dec 9 2019

Hello!

Im using Oracle.ManagedDataAccess.Core v2.19.50 C# and getting error when trying to select data from DB link where DB link name contains "." for example:

command.CommandText = "select * from name1.name2@linkname1.linkname2";

adapter = new OracleDataAdapter(command);

dataTable = new DataTable();

adapter.Fill(dataTable);

Error message is "Index was outside the bounds of the array.".

Workarround is to declare synonym and then selection works.

This post has been answered by Alex Keh-Oracle on Dec 6 2019
Jump to Answer
Comments
Post Details
Added on Dec 5 2019
2 comments
2,626 views