SQL Server Configuration

This help file applies to an out-of-date version of MainBoss.
The most recent version of MainBoss is MainBoss 4.2.4.
This help file does not exist in MainBoss 4.2.4, but the index for that version can be found here.

< Previous section  |  Table of Contents  |  Index  |  Next section >

As noted in SQL Server Installation, the default installation procedures for SQL Server set things up so that SQL Server allows access to users on other computers via TCP/IP. However, they may have been disabled after installation. (Also some older versions of SQL Server have TCP/IP disabled by default.) Therefore, you may need to enable TCP/IP connections. To do so, follow these steps:

  1. In the Windows Start menu, locate the entry for your version of SQL Server. Under this entry, locate Configuration Tools and then SQL Server Configuration Manager. This opens a window where you can configure your SQL Server. (In Windows 8, just search for SQL Server Configuration Manager from the desktop.)

If you can't find an entry for SQL Server Configuration Manager, you'll have to add the software. See "Maintenance Installs" below.

  1. In the left-hand side of the window, expand the entry for SQL Server Network Configuration.
  2. In the resulting expansion, click Protocols for MAINBOSS. (This will have a different name if you chose a different instance name.)
  3. If MainBoss will be used on a network, with or without a domain, right-click on TCP/IP in the right-hand side of the window and click Enable (if this isn't already enabled). You do not have to do this if you'll only be using MainBoss on a single computer.

    A message will appear saying that your changes will only take effect once you stop and restart the service. The steps below do exactly that.

The list of protocols also offers the possibility of enabling SQL Server access through named pipes. However, Microsoft recommends that you don't use named pipes across a network. See below for more on named pipes.

  1. In the left-hand side of the window, click the entry for SQL Server Services. You should see an entry for SQL Server (MAINBOSS). (If you used a different instance name than MAINBOSS, that name will be displayed instead.) Right-click on this entry, then click STOP. (This will actually stop both instances displayed in the right-hand side of the window.)
  2. Right-click on SQL Server (MAINBOSS) and click START.
  3. Right-click on SQL Server Browser and click Properties. This opens a window where you can set the browser's properties.
  4. In the Service section of the properties window, click Start Mode.
  5. Drop down the associated arrow (at the end of the line) and click Automatic.
  6. Click the window's Apply button.
  7. In the Log On section of the same properties window, click Start to start the browser again.
  8. Click OK to close the window.

Named Pipes: As noted above, you have the option of allowing SQL Server to use named pipes in addition to TCP/IP. We strongly recommend that you disable named pipes. There are several reasons.

As this discussion shows, we see no good reason for using named pipes and a number of reasons not to. Avoid them if possible.

Maintenance Installs: When your SQL Server was installed, it's possible that SQL Server Configuration Manager was omitted—its installation is optional. If you're missing the configuration manager, you'll have to do a maintenance install to add the software.

To do this, start the SQL Server or SQL Express installation again. Tell the installation procedure that you want to change the installation, then follow the suggestions given in Installing SQL Express.

Starting the SQL Server Browser: The SQL Server browser makes it possible for other computers to detect SQL Server on the server system. If the browser is not running, instances of SQL Server on this computer will not appear in the drop-down list for "Database Server" when you are specifying a maintenance organization. (See, for example, Creating a Maintenance Organization.)

By default, the browser is installed when you install the rest of SQL Server. For full versions of SQL Server, the browser is also set up to start automatically. However, for SQL Express, the browser is not set up to start automatically. To set it up that way, follow these steps:

  1. In the Windows Start menu, locate the entry for the version of SQL Server you are using. Under this entry, locate Configuration Tools and then SQL Server Configuration Manager. This opens a window where you can configure your SQL Server.
  2. In the left-hand panel, click the entry for SQL Server Services.
  3. In the right-hand panel, examine the entry for SQL Server Browser. If the state is Running, the browser is already configured to be active. You can quit and skip the remaining steps below.
  4. If the state is Stopped, you must set up the browser for automatic start. Right-click the entry for SQL Server Browser, then click Properties.
  5. In the resulting window, go to the Service section.
  6. Click the entry for Start Mode. Click the value associated with this entry; this opens a drop-down list. In the list, click Automatic.
  7. Click OK.
  8. When you return to the previous window, right-click the entry for SQL Server Browser. In the resulting menu, click Start.
  9. Exit the Configuration Manager.

< Previous section  |  Table of Contents  |  Index  |  Next section >