Version: LLBL Gen 2.0 Final
SQL Server 2005
Hello,
I have spent some hours on debugging why the generated access layer works on one machine and tells me that some fields are invalid on another.
Basically i have my development machine with a development version of the db, name it "database" (name changed). On the production machine there also is a database with the name "database", but the schema adheres to the released version, which is naturally older than the development version. So i created a "database_dev" on the production machine to test the new version.
Now the problems arose: when i set the connection string to the production system with the catalog name of "database_dev", the application fails with errors about invalid fields, but when i connect to my local database, it works.
Is the database name hardcoded somewhere in the DAL, oblivious of what is set as initial catalog in the connection string?
Best regards,
Alexander Strnad