I have just upgraded to SQL Server 2005 from SQL Server 2000.
In Microsoft SQL Server Management Studio, when I click on database
properties, I receive the following error:-
Cannot resolve the collation conflict between
"Latin1_General _CI_AS"
and "SQL_Latin1_Gen eral_CP1_CI_AS" in the equal to operation.
(Microsoft SQL Server, Error: 468)
Some reference suggest that I can change the database collation by
clicking database properties!
What can I do? 21 28048
Peter Nurse (Pt****@yahoo.c om.au) writes: I have just upgraded to SQL Server 2005 from SQL Server 2000.
In Microsoft SQL Server Management Studio, when I click on database properties, I receive the following error:-
Cannot resolve the collation conflict between "Latin1_General _CI_AS" and "SQL_Latin1_Gen eral_CP1_CI_AS" in the equal to operation. (Microsoft SQL Server, Error: 468)
Some reference suggest that I can change the database collation by clicking database properties!
What can I do?
That smells like a bug. But question is: how did you arrive here?
If I understand it right, you had an SQL 2000 instance that you upgraded to
SQL 2005?
What server collation did you have in SQL 2000? Did you select a different
collation when you upgraded?
Do you get this error with all databases, or only some?
What you could try is install the CTP of SP1, to see if the problem
is resolved, although my gut feeling says that it is not. You find the
CTP here: http://www.microsoft.com/downloads/i...splayLang%3den
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se
Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx
Thanks for your help, Erland. That smells like a bug. But question is: how did you arrive here? If I understand it right, you had an SQL 2000 instance that you upgraded to SQL 2005?
Yes, I upgraded from SS 2000. I didn't use the upgrade advisor because
either 1) I didn't know it was there or 2) it didn't work properly. I
forget which.
What server collation did you have in SQL 2000? Did you select a different collation when you upgraded?
I've never consciously selected a collation. I didn't know about them
until SS 2005!
Do you get this error with all databases, or only some?
All databases including Northwind & Master neither of which I've
touched.
What you could try is install the CTP of SP1, to see if the problem is resolved, although my gut feeling says that it is not. You find the CTP here:
I think I might defer that until I'm really desperate!
Peter Nurse (Pt****@yahoo.c om.au) writes: Do you get this error with all databases, or only some?
All databases including Northwind & Master neither of which I've touched.
Could you run this and post the output:
select name, collation_name, compatibility_l evel from sys.databases
select serverproperty( 'Collation')
Assuming that all databases are in mode 80, try running
"sp_dbcmptl evel Northwind, 90" and see if this changes anything.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se
Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx
>Could you run this and post the output: select name, collation_name, compatibility_l evel from sys.databases select serverproperty( 'Collation')
name collation_name
compatibility_l evel
----------------------------------------------------------------------------------------------------------
master Latin1_General_ CI_AS
80
tempdb Latin1_General_ CI_AS
90
model Latin1_General_ CI_AS
90
msdb
SQL_Latin1_Gene ral_CP1_CI_AS 90
pubs Latin1_General_ CI_AS
80
Northwind Latin1_General_ CI_AS
90
ASPProBU SQL_Latin1_Gene ral_CP1_CI_AS
80
ASPProWeb SQL_Latin1_Gene ral_CP1_CI_AS
80
ASPPro Latin1_General_ CI_AS
80
(9 row(s) affected)
----------------------------------------------------------------------------------------------------------
Latin1_General_ CI_AS
(1 row(s) affected)
Assuming that all databases are in mode 80, try running "sp_dbcmptleve l Northwind, 90" and see if this changes anything.
Doesn't seem to fix anything.
Peter Nurse (Pt****@yahoo.c om.au) writes: Could you run this and post the output:
select name, collation_name, compatibility_l evel from sys.databases select serverproperty( 'Collation')
name collation_name compatibility_l evel
Thanks for the output. Unfortunately, it did not reveal anything.
Are you familiar with the Profiler and can run a Profiler trace?
Start Profiler, and in the lower right check Show All Event Categories.
Then find "Errors and Warnings" and right-click to selecr the entire
event category. Now, right-click a database and select Properties.
This should reveal exactly which statement that bombs. If you are
uncertain on how to read the trace, save the trace to file, and
put it in a zip file and attach it a post, or just put it on a web
site and post a link.
Note that the trace will include a couple of Error 208. These are false
alarms, and should be ignored. We are looking for error 468.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se
Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx
Erland, I was unable to post the trace file anywhere so I hope you
don't mind that I sent the trace to you by email.
However, this appears to be the offending part of the trace:-
SELECT
dtb.collation_n ame AS [Collation],
dtb.name AS [DatabaseName2]
FROM
master.sys.data bases AS dtb
WHERE
(dtb.name=N'mas ter')
SELECT
dtb.collation_n ame AS [Collation],
dtb.name AS [DatabaseName2]
FROM
master.sys.data bases AS dtb
WHERE
(dtb.name=N'mas ter')
select SERVERPROPERTY( N'servername')
select SERVERPROPERTY( N'servername')
Error: 468, Severity: 16, State: 9
Cannot resolve the collation conflict between "Latin1_General _CI_AS"
and "SQL_Latin1_Gen eral_CP1_CI_AS" in the equal to operation.
Erland, I was unable to post the trace file anywhere so I hope you
don't mind that I sent the trace to you by email.
However, this appears to be the offending part of the trace (the first
two select statements were actually repeated twice):-
SELECT
dtb.collation_n ame AS [Collation],
dtb.name AS [DatabaseName2]
FROM
master.sys.data bases AS dtb
WHERE
(dtb.name=N'mas ter')
select SERVERPROPERTY( N'servername')
Error: 468, Severity: 16, State: 9
Cannot resolve the collation conflict between "Latin1_General _CI_AS"
and "SQL_Latin1_Gen eral_CP1_CI_AS" in the equal to operation.
Neither of the SELECT statements raise an error when I run then
separately.
"Peter Nurse" <Pt****@yahoo.c om.au> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. . Could you run this and post the output: select name, collation_name, compatibility_l evel from sys.databases select serverproperty( 'Collation')
Out of curiousity, did you sp_detach_db/sp_attach_db the ASPProBU/Web DBs
from 2000->2005? name collation_name compatibility_l evel --------------------------------------------------------------------------
-------------------------------- master Latin1_General_ CI_AS 80 tempdb Latin1_General_ CI_AS 90 model Latin1_General_ CI_AS 90 msdb SQL_Latin1_Gene ral_CP1_CI_AS 90 pubs Latin1_General_ CI_AS 80 Northwind Latin1_General_ CI_AS 90 ASPProBU SQL_Latin1_Gene ral_CP1_CI_AS 80 ASPProWeb SQL_Latin1_Gene ral_CP1_CI_AS 80 ASPPro Latin1_General_ CI_AS 80
(9 row(s) affected)
--------------------------------------------------------------------------
-------------------------------- Latin1_General_ CI_AS
(1 row(s) affected) Assuming that all databases are in mode 80, try running "sp_dbcmptleve l Northwind, 90" and see if this changes anything.
Doesn't seem to fix anything.
Out of curiousity, did you sp_detach_db/sp_attach_db the ASPProBU/Web
DBs
from 2000->2005?
They were actually created from ASPPro which (prior) to some repair
efforts before posting the first message also had Collate =
SQL_Latin1_Gene ral_CP1_CI_AS.
I'm pretty sure I didn't detach & reattach (certainly not using the
named SPs), I think they just carried over from SS 2000.
Have a look at my 2nd response to Erland's post (No. 6) - this problem
is getting curiouser & curiouser . . . This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: rivka.howley |
last post by:
I recently added some code to the BeforeUpdate event of a text box on a
form. The code uses the new value in the text box to recalculate some
values in another table, which is shown in a subform on this form.
Since I've added the code, I get a Write Conflict error - "This record
has been changed by another user..." This typically does not happen the
first time I edit this text box after I open the form, but on every
subsequent time.
...
|
by: chanmm |
last post by:
I hit the problem in my WinXP can someone help me:
The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://localhost/webapplication1'. 'HTTP/1.1 500 Internal Server Error'.
Regards
|
by: Error when creating new asp.net applicat |
last post by:
Hi,
I'm getting this error when I create a asp.net application.
The Web server reported the following error when attempting to create or
open the Web projects located at the following URL:
'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal ServerError'.
my system configuration is as follows:
|
by: KCHighland |
last post by:
We have an ASP.NET application that permits anonymous access and runs
as the IUSR account. The application accesses a SQL Server database
located on a different server. All the data access code is in a .NET
DLL that the ASP.NET application references. When accessing the
database, we use SQL Server authentication, passing in the name and
password of a SQL Server account created specifically for the
application. The SQL Server account in...
|
by: Alessandro |
last post by:
When I build a setup project under vb2005, starts "Microsoft sql server 2005
Tool" showing "Please wait while windows configures Microsoft sql server
2005 tools"
Then it stop with this message: Failure setting security rights on users
account SQLServer2005NotificationServicesUser$M2
If I give the user administrator rights it does not happen and buid goes
right. I I remove the user from administrators the message is showed again.
I...
| |
by: Jeff Kish |
last post by:
Hi.
I have an ancient preCambrian app that uses the db library to interface with
sql server databases.
It is written in c++.
When testing it I noticed on one machine with sql server 2005 installed it
runs fine, but on another it has some problems, notably.. it gets as a result
of a select statement with an order by clause the error:
|
by: jonny |
last post by:
Went from using Visual Web Develop express to Visual Studio 2005 and
getting error when trying to open project.
Error message:
"One or more projects in the solution could not be loaded for the
following reason(s):
The project file or web has been moved, renamed or is not on your
computer.
|
by: spsrich |
last post by:
I'd like to customize SQL Server 2005 Enterprise manager so that when
people are pointing to the production database, the query window
background color changes as a warning. Is there a way of writing an
add-in to accomplish this?
|
by: Ryan Swaby |
last post by:
I have an access form that is bound to an ado recordset using the following code in the form open event.
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset
'Use the ADO connection that Access uses
Set cn = CurrentProject.AccessConnection
'Create an instance of the ADO Recordset class, and
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |