Skip Navigation

Microsoft SQL Server
 settings

Follow these steps for any edition of 
Microsoft SQL Server
:
  1. Ensure that the TCP/IP protocol is enabled. This setting is available in the 
    Microsoft SQL Server
     Configuration Manager.
  2. Enable the database instance to accept both local and remote connections. This setting is available on the Connections page in the properties for the 
    Microsoft SQL Server
     instance.
  3. The 
    Microsoft SQL Server
     Browser service is required if you have installed a database instance and the TCP port is dynamic. Turn on the service in Service Manager. Ensure that the 
    Microsoft SQL Server
     Browser service is started in Windows Services manager and that it has the same Startup type as the 
    Microsoft SQL Server
     (MSSQLSERVER) service.
  4. New installation of the 
    BlackBerry AtHoc
     database and some operations such as archiving require that the 
    Microsoft SQL Server
     service account has permission to create files in directories that it does not have permission to write to by default. For example, when you install the database to the default location, C:\Program Files (x86)\AtHocENS\Database, the service account must have permission to create files there. Ensure that the 
    Microsoft SQL Server
     service account has permission to write to these locations, or change it to Local System account. You can find the 
    Microsoft SQL Server
     service account in the Windows Services manager.
  5. Enable 
    Microsoft SQL Server
     updates by MSI. To ensure that the MSI can reconfigure the system during installation (to prevent an “Ad hoc update to system catalogs is not supported” error), run the following SQL under DB Master before a new installation or upgrade:
    sp_configure 'allow updates', 0; reconfigure;
The 
BlackBerry AtHoc
 installer creates databases and sets up the ngad user account and 
AtHoc
 server role. The ngad user account is created as a member of the 
AtHoc
 server role. Database access is granted to the 
AtHoc
 server role instead of giving direct access to the ngad database. If a database restore is performed manually and the ngad user account is missing, you can run the SQL stored procedure ATH_CREATE_USERS in the msdb database to create it. You might need to grant ngad permission to some stored procedures as well. Contact 
BlackBerry AtHoc
 customer support for information about using this stored procedure.