Unrecognized escape sequence

Posts   
 
    
rpw
User
Posts: 7
Joined: 06-Sep-2007
# Posted on: 10-Sep-2007 11:17:20   

I just started to use your demo for the first time and I received this error,"Unrecognized escape sequence" from the generated code when connecting to SQLServer Express.

I see that this was an issue 2 years ago, is there fix or switch that I need to enable? http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=4777&HighLight=1

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 10-Sep-2007 11:55:07   

I received this error,"Unrecognized escape sequence" from the generated code when connecting to SQLServer Express.

So that's a compilation error as the one in the other thread, right?

Which LLBLGen Pro Designer version(release date) are you using? (Help->About)

Tip: I always use SQL Server 2005 Express, I create databases using the Management Studio, which results in a normal connection string, not with file paths. Could you please try this out?

rpw
User
Posts: 7
Joined: 06-Sep-2007
# Posted on: 10-Sep-2007 13:18:54   

Walaa wrote:

I received this error,"Unrecognized escape sequence" from the generated code when connecting to SQLServer Express.

So that's a compilation error as the one in the other thread, right?

Which LLBLGen Pro Designer version(release date) are you using? (Help->About)

Tip: I always use SQL Server 2005 Express, I create databases using the Management Studio, which results in a normal connection string, not with file paths. Could you please try this out?

Yes, I'm getting a compilation error.

I'm using version 2.5 Final DEMO.

I re-attached the database, but instead of using the defaults (which make the db name the same as the path), I changed it to a "real" database name and this seems to have helped.

Thanks

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 11-Sep-2007 10:15:47   

In general it's better to use the attach approach and not the file path, as the file path will otherwise be the catalog name, and if the path is long, it will result in very long query strings, which isn't the case when you're using a normal attached db.

Frans Bouma | Lead developer LLBLGen Pro
rpw
User
Posts: 7
Joined: 06-Sep-2007
# Posted on: 11-Sep-2007 11:58:24   

Yea...that's what I said.