Oracle.ManagedDataAccess.dll Index was outside the bounds of the array — oracle-tech

    Forum Stats

  • 3,716,134 Users
  • 2,242,961 Discussions
  • 7,845,841 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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

user5062945
user5062945 Member Posts: 2
edited December 2019 in ODP.NET

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 [email protected]";

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.

Best Answer

Answers

Sign In or Register to comment.