I have updated my old Update Manager 4.0 U1 to Update Manager 4.1. SQL Server is Microsoft SQL Server Express 2005. All software is german language!
Update Manager log say:
"ODBC error: (42000) - [SQL Native Client][SQL Server]Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation." is returned when executing SQL statement "{CALL vci_queryEntityBLStatus(?, ?, ?)}"
Step two i have removed Update Manager an deleted the Update Manager database in Management Studio Express. The error is still there.
Is this a bug or a failure in my sql config?
I did a fresh install of 4.1 and got the same issue.
My error came in assuming that VCDB and UMDB would use the same collation, given that VCDB is documented to use "SQL_Latin1_General_CP1_CI_AS" as shown in the example script in "vsp_41_esxi_i_vc_setup_guide.pdf". None of the documentation i can find specifies the correct collation for UMDB, but apparently it needs "Latin1_General_CI_AS"
So now my script does this-
GO
(NAME = N'vcdb', FILENAME = N'D:\MSSQL.1\DB\VCDB.mdf', SIZE = 10000KB, FILEGROWTH = 10% )
LOG ON
(NAME = N'vcdb_log', FILENAME = N'D:\MSSQL.1\Logs\VCDB.ldf', SIZE = 1000KB, FILEGROWTH = 10%)
COLLATE SQL_Latin1_General_CP1_CI_AS
GO
(NAME = N'umdb', FILENAME = N'D:\MSSQL.1\DB\UMDB.mdf', SIZE = 10000KB, FILEGROWTH = 10% )
LOG ON
(NAME = N'umdb_log', FILENAME = N'D:\MSSQL.1\Logs\UMDB.ldf', SIZE = 1000KB, FILEGROWTH = 10%)
COLLATE Latin1_General_CI_AS
GO
GO
GO
GO
EXEC sp_addrolemember N'db_owner', N'BUILTIN\Administrators'
GO
GO
GO
GO
EXEC sp_addrolemember N'db_owner', N'BUILTIN\Administrators'
GO
GO
GO
GO
EXEC sp_addrolemember N'db_owner', N'BUILTIN\Administrators'
GO
I've got no idea if you can change the collation in your situation or if you need to delete the database and start again. In my case thats what I did.
Hi,
Did you manage to correct this without re-installing..?
If so, how did you do..?
Regards,
Jonathan
I didn't. I was doing a new installation so i just uninstalled UM, deleted the DB, remade the DB and reinstalled.
I don't know if the collation can be changed on an existing database whilst keeping the data in it. I'm not much of a DBA.
I'm not either...
Thanks for your answer!