Showing posts with label uninstalled. Show all posts
Showing posts with label uninstalled. Show all posts

Sunday, March 11, 2012

Cannot view database properties

Hello all....

I am in the process of changing all of the collation to SQL_Latin1_General_CP1_CI_AS.

I have backed up all databases, and uninstalled SQL Server 2005. I then reinstalled SQL Server 2005, setting the server collation to SQL_Latin1_General_CP1_CI_AS.

The user databases have been restored and are accessible by all applications.

If I try to view the properties of any database (system or user), I get the following error:

*********************************************************************************************************************************

TITLE: Microsoft SQL Server Management Studio

Cannot show requested dialog.


ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AI" in the equal to operation. (Microsoft SQL Server, Error: 468)

****************************************************************************************************************************************

I have tried executing the "Alter Database [dbname] Collate SQL_Latin1_General_CP1_CI_AS" procedure, but that does seem to help. Does anyone have any ideas?

Thanks,

Forch

What is the collation or all the databases?

run select * from sys.databases.

How did you restore the databases, backup/restore, attach/dettach?

|||

Master is SQL_Latin1_General_CP_C1_AS, and the rest of the system dbs is Latin1_General_CI_AI. The user dbs are evenly divided between the 2.

I can't remember how I restored.... it was probably backup / restore.

Thanks,

Forch

|||

Hi Forch,

Probably the backed up databases have the old collation, but the SQL server system databases have the new collation.

You can do:

ALTER RESTORED_DATABASE { COLLATE SQL_Latin1_General_CP1_CI_AScollation_name }

to change the collation of the restored databases to the new collation

Cheers

|||Have you tried to access the database from the query analyzer too?

Cannot view database properties

Hello all....

I am in the process of changing all of the collation to SQL_Latin1_General_CP1_CI_AS.

I have backed up all databases, and uninstalled SQL Server 2005. I then reinstalled SQL Server 2005, setting the server collation to SQL_Latin1_General_CP1_CI_AS.

The user databases have been restored and are accessible by all applications.

If I try to view the properties of any database (system or user), I get the following error:

*********************************************************************************************************************************

TITLE: Microsoft SQL Server Management Studio

Cannot show requested dialog.


ADDITIONAL INFORMATION:

Cannot show requested dialog. (SqlMgmt)

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AI" in the equal to operation. (Microsoft SQL Server, Error: 468)

****************************************************************************************************************************************

I have tried executing the "Alter Database [dbname] Collate SQL_Latin1_General_CP1_CI_AS" procedure, but that does seem to help. Does anyone have any ideas?

Thanks,

Forch

What is the collation or all the databases?

run select * from sys.databases.

How did you restore the databases, backup/restore, attach/dettach?

|||

Master is SQL_Latin1_General_CP_C1_AS, and the rest of the system dbs is Latin1_General_CI_AI. The user dbs are evenly divided between the 2.

I can't remember how I restored.... it was probably backup / restore.

Thanks,

Forch

|||

Hi Forch,

Probably the backed up databases have the old collation, but the SQL server system databases have the new collation.

You can do:

ALTER RESTORED_DATABASE { COLLATE SQL_Latin1_General_CP1_CI_AScollation_name }

to change the collation of the restored databases to the new collation

Cheers

|||Have you tried to access the database from the query analyzer too?

Thursday, March 8, 2012

Cannot uninstall SQL Server Express

Hi!

I uninstalled Visual Studio 2005, but then I get this error when trying to uninstall SQL Express:

"The SQL Server System Configuration check cannot be executed due to WMI configuration on the machine XXX: Error: 2147746132 (0x80040154)"

I don't even know what WMI is!

I have these installed (none of which can I uninstall):

Microsoft SQl Server 2005

Microsoft SQl Server Mobile [ENU] Developer Tools

Microsoft SQl Server Native Client

Microsoft SQl Server Setup Support Files (English)

Microsoft SQl Server VSS Writer

Help!

It sounds like WMI is corrupted on your machine. First, make sure you still have .Net Framework 2.0 installed. If this is the case you should search http://support.microsoft.com for WMI errors. There are a few articles out there that discuss how to recover from a corrupted WMI state.|||

After much searching, I found the way to repair WMI here:

"Re-registering WMI"

http://blogs.msdn.com/smguest/archive/2005/03/18/398883.aspx

There are many potential fixes out there, but this one worked for me (fingers crossed).

Then, I had to download Windows Installer 3.1 from:

http://www.microsoft.com/downloads/Search.aspx?displaylang=en

Jess

Cannot uninstall SQL Server Express

Hi!

I uninstalled Visual Studio 2005, but then I get this error when trying to uninstall SQL Express:

"The SQL Server System Configuration check cannot be executed due to WMI configuration on the machine XXX: Error: 2147746132 (0x80040154)"

I don't even know what WMI is!

I have these installed (none of which can I uninstall):

Microsoft SQl Server 2005

Microsoft SQl Server Mobile [ENU] Developer Tools

Microsoft SQl Server Native Client

Microsoft SQl Server Setup Support Files (English)

Microsoft SQl Server VSS Writer

Help!

It sounds like WMI is corrupted on your machine. First, make sure you still have .Net Framework 2.0 installed. If this is the case you should search http://support.microsoft.com for WMI errors. There are a few articles out there that discuss how to recover from a corrupted WMI state.|||

After much searching, I found the way to repair WMI here:

"Re-registering WMI"

http://blogs.msdn.com/smguest/archive/2005/03/18/398883.aspx

There are many potential fixes out there, but this one worked for me (fingers crossed).

Then, I had to download Windows Installer 3.1 from:

http://www.microsoft.com/downloads/Search.aspx?displaylang=en

Jess