BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-23-2010, 07:23 PM   #1 (permalink)
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Post Thanks: 6
Thanked 9 Times in 9 Posts
Arrow Knowledge Sharing - BAS 5.0 Static Vs Dynamic SQL ports (DynamicSQLPort key)

Please Login to Remove!

Sharing out as this has been a common issue to many of my clients.

Article Title: BlackBerry Administration Service connects to a default SQL instance despite a named instance being specified
Article Number: KB18517
Link: View Document


Overview

On a Microsoft SQL Server which has both a default instance and at least one named instance, the default instance will use static ports and the named instances will use dynamic ports. If a BlackBerry® Administration Service instance is configured to point to a named instance but static ports are selected the BlackBerry Administration Service instance will connect to the default Microsoft SQL Server instance instead of the expected named instance.


Cause

The BlackBerry Administration Service will connect to a Microsoft SQL Server instance, regardless of the instance name, if it is configured for static ports and can connect to that port.


Resolution

Follow the Resolution section of KB18176 to verify the port settings on the Microsoft SQL Server and then make the necessary changes as follows.

Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Windows® operating system. Document and back up the registry entries prior to implementing any changes.

All of the following registry values are located in the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Database

If the Microsoft SQL Server is configured with a default instance the following registry values should be checked and updated as needed:
  • DatabaseServerMachineName = Machine name of the SQL Server host
  • DynamicSQLPort = 0
  • Port = This should match the port settings on the SQL Server for this instance (by default 1433 is used)
If the Microsoft SQL Server is configured with a named instance using static ports the following registry values should be checked and updated as needed:
  • DatabaseServerMachineName = Machine name of the SQL Server host followed by the instance name(ie. host\instance)
  • DynamicSQLPort = 0
  • Port = This should match the port settings on the SQL Server for this instance (by default 1433 is used)
If the Microsoft SQL Server is configured with a named instance using dynamic ports the following registry values should be checked and updated as needed:
  • DatabaseServerMachineName = Machine name of the SQL Server host followed by the instance name(ie. host\instance)
  • DynamicSQLPort = 1
  • Port = Delete or rename this registry value
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2014 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.