Guest

Cisco Unity

Unity Failover Configuration Wizard Error Message: Failed to Configure SQL Replication

Document ID: 100604



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Problem
Solution(s)
Verify
NetPro Discussion Forums - Featured Conversations
Related Information

Introduction

This document explains how to troubleshoot the error message: failed to configure sql replication that appears when you run the Cisco Unity Failover Configuration Wizard on a Cisco Unity server.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on the Cisco Unity 4.x.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

Problem

When the Cisco Unity Failover Configuration Wizard is run on a Ciso Unity server, this error message is received:

failed to configure sql replication

In the diag-failoverconfig.txt, you see this error message:

Error [0x80040afc] : [Microsoft][ODBC SQL Server Driver][SQL Server]
Could not find stored procedure

When the query exec sp_dboption 'UnityDb','published',false is run in the SQL Query Analyzer, this error is returned:

The Distributor has not been installed correctly.  
Could not disable database for publishing.

On the Unity server, go to SQL Enterprise Manager, right-click on the server, and select Properties. Under the Replication tab, the option to Disable Publishing and Distribution is greyed out. This implies that the SQL publishing is not started or configured correctly, which in turn causes the SQL replication failure.

Solution(s)

Use this solution to solve the problem:

  1. Go to Start > Programs > Microsoft SQL Server > Enterprise Manager.

  2. Right-click on the Server, then select Properties. Under the Replication tab, choose Configure for Publishing and Distribution.

  3. At this point, if you receive a message that states SQL Server replication does not support nicknames, then perform these steps:

    1. Go back to the server name (probably called local), and right-click Delete SQL Server Registration.

    2. Right-click on the SQL-Group, then select New SQL Server Registration and add the name of the Unity server.

    If you do not receive an error message, go to step 4.

  4. Click Next. In the next window, choose the Make <Servername> it's own distributor; SQL server will create a distribution database and log radio button.

  5. Click Next until you see the Customize the Configuration window. Choose use the default settings and click Next.

  6. Click Finish. You receive a message that states SQL Server Enterprise Manager successfully enabled <servername> as the distributor for <servername>. Click OK and then Close.

Verify

In order to verify, run the query exec sp_dboption 'UnityDb','published',false in the SQL Query Analyzer. There should not be any error messages that appear. You can run the Cisco Unity Failover Configuration Wizard successfully now.

Note: If the wizard fails again with the error [SQL-DMO]Invalid to alter this property after the distributor has been installed in the diag-failoverconfig.txt, you need to disable any Antivirus application running on the server and then run the wizard again.

NetPro Discussion Forums - Featured Conversations

Networking Professionals Connection is a forum for networking professionals to share questions, suggestions, and information about networking solutions, products, and technologies. The featured links are some of the most recent conversations available in this technology.
NetPro Discussion Forums - Featured Conversations for Voice
Service Providers: Voice over IP
Voice & Video: Voice over IP
Voice & Video: IP Telephony
Voice & Video: IP Phone Services for End Users
Voice & Video: Unified Communications
Voice & Video: IP Phone Services for Developers
Voice & Video: General

Related Information



Updated: Feb 05, 2008Document ID: 100604