Microsoft KB Archive/118386

{|
 * width="100%"|

BUG: SQL Admin Reports SQL Monitor Not Started

 * }

Q118386

-

The information in this article applies to:


 * Microsoft SQL Server Programmer's Toolkit, version 4.2

-

BUG# 10074 (4.21)

SYMPTOMS
You may see the message:

The SQL Server Monitor is not started on this server

if you attempt to manipulate scheduled events (for example, Add Event, Drop Event, Start/Stop Backup Engine or Clear Events) within SQL Administrator after logging into SQL Server using the TCP/IP network library DBMSSOCN or DBMSSOC3. When SQL Monitor is checked, however (with either NET START or the SQL Server Service Manager), it is found to be running.

As stated in the Release Notes, new values were added to the registry that enhance SQL Administrator's ability to communicate with SQL Monitor. Some of these new values are listed in the registry under the following Hive\Key listing for the Windows NT version of SQL Administrator,

  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQLServer\Client\Monitor

and under the following section in the Windows WIN.INI file,

"[SQLMONITOR]."

These areas provide templates that SQL Administrator can use to parse the original connect string in order to build a new connect string that can be used to login to SQL Monitor.

The templates provided for the DBMSSOCN and DBMSSOC3 network libraries do not work when used by SQL Administrator to connect to SQL Server via TCP/IP. The templates for the Name Pipes connection, IPX/SPX connection, and local pipe connection all work as expected.

WORKAROUND
SQL Administrator will successfully make its required connections to SQL Monitor if you place an explicit connection string in the appropriate area in the Windows NT Registry or Windows WIN.INI file.

The following are examples for entering a Windows NT Registry and Windows WIN.INI entry for a Server called TSETSE:

Windows NT
 Start the REGEDT32.EXE program. Open the HKEY_LOCAL_MACHINE window. Open folders in the following sequence: SOFTWARE, Microsoft, SQLServer, Client, Monitor. From the Edit menu, select Add Value. Add "TSETSE" in the Value Name line edit box, then click OK. (In this case, the Data Type can be REG_SZ)  Enter the Connection String in the line edit, which would be the following:

      DBMSSOCN,223.111.495.1,1434 (NOTE: The port number is one more than the default. If you are not sure what the port number is for SQL Monitor, look under:

       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SQLServer\SQLMonitor\Parameters\ListenOn)      Click OK.</li> Exit the REGEDT32.EXE program.</li></ol>

Windows
<ol> Start SYSEDIT or use a text editor to open the WIN.INI file.</li>  Under the [SQLMONITOR] group add the following:

<pre class="FIXEDTEXT">      TSETSE=DBMSSOC3,223.111.495.1,1434 </li> Save your changes.</li> Exit SYSEDIT or your text editor.</li></ol>

STATUS
Microsoft has confirmed this to be a problem in SQL Server Administrator version 4.21. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: sql windows nt regedit

Keywords : kbinterop kbtool

Issue type :

Technology : kbSQLServSearch kbAudDeveloper kbSQLServPTK420