Icon View Incident Report

Serious Serious
Reported By: Robin Joseph
Reported On: 12/5/2008
For: Version 2.02 Build 4
# 2864 Index Navigation Can Cause Array Index Error Under .NET

The following code gives:

Elevate.ElevateDB.Data.EDBException was unhandled
Message="Index was outside the bounds of the array."
Source="Elevate.ElevateDB.Data"
ErrorCode=9999
ErrorColumn=0
ErrorLine=0
ErrorMsg=""

            EDBConnectionStringBuilder StBuilder = new
            EDBConnectionStringBuilder();
            StBuilder.Type = "Local"; ;

            StBuilder.ConfigPath = @"c:\Elevate Software";

            StBuilder.LargeFiles = true;
            StBuilder.UID = "administrator";
            StBuilder.PWD = "EDBDefault";
            StBuilder.Database = "Dental";

            EDBConnection connection = new
            EDBConnection(StBuilder.ConnectionString);
            connection.Open();
            
            try
                {
                DataTable ResultTable = new DataTable();

                EDBDataAdapter DataAdapter = new EDBDataAdapter("SELECT
                * FROM information.procedures", connection);
                try
                    {
                    DataAdapter.Fill(ResultTable);
                    }
                finally
                    {
                    DataAdapter.Dispose();
                    }
                }
            finally
                {
                connection.Close();
                connection.Dispose();
                }



Resolution Resolution
Fixed Problem on 12/6/2008 in version 2.02 build 5


Products Affected Products Affected
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image