
07-20-2009 12:52 PM
Hi,
I am working on a SQL server and DB with a SQL_Latin1_General_CP1_CI_AS collation
Trying to create a new entity from an existing table, I get the following error:
===================================
An application exception has occurred.
===================================
Could not use view or function 'sysdba.ORMCOLUMN' because of binding errors. : Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "SQL_Latin1_General_CP1_CI_AI" in the equal to operation. (SalesLogix OLE DB Provider)
------------------------------
Program Location:
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextE
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextF
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(
at System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm
at System.Data.OleDb.OleDbCommand.ExecuteReaderIntern
at System.Data.OleDb.OleDbCommand.ExecuteReader(Comma
at System.Data.OleDb.OleDbCommand.System.Data.IDbComm
at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(ID
at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session)
at NHibernate.Loader.Loader.DoQuery(ISessionImplement
at NHibernate.Loader.Loader.DoQueryAndInitializeNonLa
at NHibernate.Loader.Loader.DoList(ISessionImplemento
09-03-2009 04:25 AM
Have you checked the collation of this table?
Is it the same as the rest of the DB?
Technically you can have different collations in one db.
So it might be possible that this table has a different collation.
Normally this happens, when you sync a table out to a remote (or a new field) and the remote sql express has a different standard collation than the host.
This is where I have seen this, and it results in errors in the LAN client (not used web remote).
Thanks! Alexander