Error: antlr.TokenStreamRecognitionException: expecting '-', found ' '

Thread is closed for posting
2 posts, 0 answers
  1. Ibrar Ahmed
    Ibrar Ahmed avatar
    1 posts
    Member since:
    Mar 2010

    Posted 09 Apr 2010 Link to this post

    Hi,

    I'm using Telerik's trial version. I get the following error after I made some updates to the classes used in forward mapping and build the project containing the classes:

    antlr.TokenStreamRecognitionException: expecting '-', found ' '
    expecting '-', found ' '
    Check, that the provided username/password allows to open the existing database for schema modification.

    Once I delete my database, and rebuild the project, the error doesn't appear anymore and the build is successful creating the database again.

    I can't figure out from the error what change caused this error. Does any one have any idea what this error is about and what might have caused it.

    Thanks,

    Ibrar
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 12 Apr 2010 Link to this post

    Hello Ibrar Ahmed,
    This is an error that occurs because we cannot parse our generated ddl script. After the error occurs can you look int the bin\debug directory of your project and send me the *update*.sql script with the actual time stamp?

    All the best,
    Jan Blessenohl
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top