BusinessConnect (BC) archiver utility fails to connect to a MSSQL server when using a non-default port.

BusinessConnect (BC) archiver utility fails to connect to a MSSQL server when using a non-default port.

book

Article ID: KB0084594

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect -
Not Applicable -

Description

Resolution:
Description:
= = = = = = =
BC archiver utility might fail when trying to connect to a SQL Server with the following exception:

SQLState = 08001, NativeError = 2
Environment:
= = = = = = =
This applies to all environments


Symptoms:
= = = = = =
The BusinessConnect log will show exceptions such as the following:
2011-04-27 15:29:46.347: Executing 'Export Audit'...
2011-04-27 15:30:02.459: SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.
SQLState = S1T00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired

Cause:
= = = =
BusinessConnect archive utility needs the separator to be a comma instead of colon

Resolution:
= = = = = =
Use ',' instead of ':'
For example,  set FROMSVR="SQLServer,1462"

Issue/Introduction

BusinessConnect (BC) archiver utility fails to connect to a MSSQL server when using a non-default port.