Hello,

Vlad Horsun said the following on 31.03.2006 22:03:

>> Последняя версия .NET provider не работает с embedded 2.0rc1. Ошибка
>> сразу на этапе подключения к БД. Причем тот же самый код прекрасно
>> работает с beta2.
> 
>     Так какая ошибка-то ?

Ошибка вылезает где-то внутри провайдера:

Unhandled Exception: System.IndexOutOfRangeException: Index was outside
the bounds of the array.
   at FirebirdSql.Data.Common.IscHelper.VaxInteger(Byte[] buffer, Int32
index, Int32 length)
   at FirebirdSql.Data.Common.IscHelper.ParseDatabaseInfo(Byte[] buffer)
   at FirebirdSql.Data.Embedded.FesDatabase.GetServerVersion()
   at
FirebirdSql.Data.Embedded.FesDatabase.Attach(DatabaseParameterBuffer
dpb, String dataSource, Int32 port, String database)
   at FirebirdSql.Data.Firebird.FbConnectionInternal.Connect()
   at FirebirdSql.Data.Firebird.FbConnectionPool.Create()
   at FirebirdSql.Data.Firebird.FbConnectionPool.CheckOut()
   at FirebirdSql.Data.Firebird.FbConnection.Open()
   at FBETest.FBETest.Main() in
c:\projects\fbetest\fbetest\fbetest.cs:line 30

Если к этой же программе подложить beta2 - все работает...

>     Попробуй поставить Redirection = 1 в firebird.conf (это только догадка)

Попробовал - не помогает...

-- 
Oleg

Ответить