I'm trying to run a simple ASPx page to test Firebird .NET provider installation <%@ Language="VB" Debug="true" %><%@ Import Namespace="System.Data" %><%@ Import Namespace="FirebirdSql.Data.Firebird" %> <script runat="server"> sub Page_Load(Sender as Object, e as EventArgs) dim mySelectQuery as string dim cs as new FbConnectionStringBuilder dim myConnection as New FbConnection cs.Datasource = "localhost" cs.Database = "C:\DATI\FB\XFILES.FDB" cs.UserID = "SYSDBA" cs.Password = "masterkey" myConnection.ConnectionString = cs.ToString myConnection.Open myConnection.Close lblMessage.Text = cs.ToString end sub</script> <html><body><asp:Label id="lblMessage" runat="server" /></body></html> The FirebirdSql.Data.Firebird assembly version is 1.7.1.0. At the "myConnection.Open" line I get this error message: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection Where is the problem ? Best regards
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider