This is a migrated thread and some comments may be shown as answers.

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

1 Answer 192 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ibrar Ahmed
Top achievements
Rank 1
Ibrar Ahmed asked on 09 Apr 2010, 08:00 PM
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

1 Answer, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 12 Apr 2010, 03:59 PM
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.
Tags
General Discussions
Asked by
Ibrar Ahmed
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Share this question
or