FbBatchExecution.ConnectToDatabase fails to parse valid format CONNECT 
statement. Exception: "Cannot start parsing after the end of the string"
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: DNET-152
                 URL: http://tracker.firebirdsql.org/browse/DNET-152
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.0.1
         Environment: XP x64 SP2
Firebird 2.0.1.12855
Firebird .NET Data Provider 2.0.1
Visual Studio 2005 SP1
            Reporter: Dan MacKay
            Assignee: Carlos Guzman Alvarez


The FbBatchExecution.ConnectToDatabase method fails to parse the following 
CONNECT statement:

    CONNECT '<filepath>' USER '<user>' PASSWORD '<password>'

A System.Exeption with message "Cannot start parsing after the end of the 
string" is thrown when parser.ParseNext() is called on line 446 of 
FbBatchExecution.cs:

  while (parser.ParseNext() != -1)

StringParser.ParseNext appears to be responsible for throwing the exception.

I have downloaded the 2.1 source code and FbBatchExecution.ConnectToDatabase is 
implemented in the same fashion as 2.0.1.  I could not find any other recorded 
issues in the Firebird Tracker.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to