Quantcast
Channel: Mitel MiContact Center Knowledge Base
Viewing all articles
Browse latest Browse all 959

Changing Microsoft SQL Server Default Collation

$
0
0
Article ID: 52321 - Last Review: March 9, 2018

PROBLEM

During the installation of MiContact Center release 8.0 and above, the pre-requisite check warns (if upgrading) or fails (if newly installing) on checking the default Microsoft SQL Server collation for the specified Microsoft SQL Server. When installing, the SQL Change Scripts action may fail.

CAUSE

MiContact Center requires the default collation for the Microsoft SQL Server instance being used to be SQL_Latin1_General_Cp1_CI_AS. This is required to ensure that queries against the databases, stored procedures, and critical views are executed appropriately, and the data returned in the expected format. This collation is required to ensure that case insensitivity, and accent sensitivity is respected in the queries, and the unicode byte length is appropriate to extended unicode characters.

By default when installing Microsoft SQL Server, the default collation may not be set to SQL_Latin1_General_Cp1_CI_AS if your Microsoft operating system regional settings are not configured to English (United States).
 
RESOLUTIONS

Depending on your installation case, there are two separate resolutions to this issue.

CASE 1: Upgrading from a previous release of MiContact Center

This process will require you to rebuild the database.  This may result in historical reports being affected if your configuration has changed since the data was originally commited.

  1. Open Contact Center Client as an administrator.
  2. Take a backup of your current configuration.
  3. Open SQL Management Studio and expand Databases.
  4. Right-click CCMData and go to Tasks>Detach.
  5. Check the box for Drop and click OK.
  • Repeat steps 3 and 4 for CCMRouting, CCMRuntimeServices, CCMStatisticalData, and Ccmwa.
  • Go to the MiCC database folder.  By default this is [InstallDir]\Database\ .
  • Delete the following files:
    • CCMData.MDF
    • CCMData.LDF
    • CCMStatisticalData.MDF
    • CCMStatisticalData.LDF
  • Go to the SQL Install directory.  By default this is C:\Program Files\Microsoft SQL Server\[SQL VERSION]\MSSQL\DATA\ .
  • Delete the following files:
    • CCMRouting.MDF
    • CCMRouting_log.LDF
    • CCMRuntimeServices.MDF
    • CCMRuntimeServices_log.LDF
    • Ccmwa.MDF
    • Ccmwa_log.LDF
  • Follow the instructions found here: https://www.mssqltips.com/sqlservertip/3519/changing-sql-server-collation-after-installation/ and change your Collation to SQL_Latin1_General_Cp1_CI_AS.
  • Retry the Upgrade.
  • Open Contact Center Client using the default administrator username and password.
  • Restore the backup taken in step 2.
  • Resummarize any historical reporting data needed.

  • CASE 2: Performing a Clean Installation of MiContact Center

    1. Follow the instructions found here: https://www.mssqltips.com/sqlservertip/3519/changing-sql-server-collation-after-installation/ and change your Collation to SQL_Latin1_General_Cp1_CI_AS.
    2. Retry the Installation.

    APPLIES TO

    MiCC 8.X and 9.X


    Viewing all articles
    Browse latest Browse all 959

    Trending Articles