【发布时间】:2009-11-26 23:42:11
【问题描述】:
我有一个奇怪的问题。我正在使用 firebird 1.5.6 .NET 提供程序和 Visual Studio 2005 开展一个项目。一切正常。然后我将项目转换为VS2008项目。现在我遇到的问题是,当我尝试连接到 firebird 数据库时出现错误:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index.
即使我打开连接,错误也会显示。我在server type = Default 中遇到了这个错误,但是如果我设置了server type = Embedded,那么我就有可能打开连接。
我尝试在另一台电脑上运行我的项目并且它可以工作。
可能是什么问题?
【问题讨论】:
-
你有这个错误的堆栈跟踪吗?
-
您尝试过最新的 2.5.1 .net 提供程序吗? firebirdsql.org/index.php?op=files&id=netprovider
-
@Douglas Tosi。是的,我使用的是 2.5.1 .NET 提供程序。
标签: c# .net visual-studio-2008 connection firebird