Posts in Category: Installation

Why do I keep losing my cDir configuration on the server? 

cDir persists the configuration data in a file called cDir.ini under the Resources folder.
If insufficient file access rights are granted to the identity under which the cDir application runs, it will fail to persist the data.

Follow these steps to fix the problem:

  1. Find the identity under which cDir runs (in IIS Manager, look at application pool level>>Properties>>Identity)
  2. At the file system level grant Write rights to the above identity for the Resources and Logs folders.

When using BlackBerry devices, what level of connectivity is required between the cDir application server and BES? 

The following connectivity is required:

  1. The cDir application needs to be able to reach the BES/MDS Server by name or IP Address over HTTP.
  2. The server(s) where BES and MDS are hosted need(s) to be able to access the web server where cDir is installed by Name over HTTP.
  3. cDir needs to be able to send a SQL Ping* to the SQL Server (only applies to the Enterprise version for the secondary BES Database Servers).

Our recommendation is to host cDir on an internal server, not an external one.

[* a SQL Ping, as opposed to a normal ICMP Ping, will actually test if anything listens to port 1434 on the machine where the SQL Server is hosted].

When using BlackBerry devices, how does cDir interface with the BES SQL Database Server? 

The cDir application will open connections to the BES SQL Server every time:

  • When the cDir shortcut is pushed to BlackBerry devices.
  • When the cDir shortcut is pushed to a predefined group of recipients.
  • When BESQuery is invoked either from the server side or from the client side.
The following is a description of how cDir interfaces with the BES SQL server:
  1. cDir relies only on SQL authentication. Because of this the BES SQL server should be set-up to support Mixed Authentication.
  2. At installation time cDir creates the following objects in the BESMgmt database:
    • A role called cDir_DataReader
    • Two in-line functions: USR_CDIR_GET_BLACKBERRY_USER, USR_CDIR_GET_BLACKBERRY_USERS
    • The installer will grant SELECT rights to the above in-line functions to the cDir_DataReader role. [NB. in a more restricted environment this step could be skipped at installation time: the application ships with the actual SQL scripts that could be handed on to a DBA to run them manually.]
  3. Our recommendation is to create a SQL Login that will be used by the cDir application to open connections to the BESMgmt database. This login at server level should be member of the Public role and at BESmgmt database level should be mapped to a User that is member of the Public role and cDir_DataReader.
  4. At cDir level at configuration time, the above login should be used to set-up the SQL Connection to the BESMgmt Database. This will limit the capabilities the cDir application has at SQL level to the three in-line functions specific to the cDir application.

Under which user identity does the cDir application run on the server? 

An ASP.net application deployed on a IIS6/IIS7 server runs under the identity defined at application pool level unless the currently logged in user is impersonated programmatically. cDir never impersonates the current logged in user.

Microsoft's recommendation is to set the application pool to point to the built-in Network Service account. This account is a low privilege account that satisfies the rights required by a web application to function. Because the Network Service account is a low privileged account it does not have rights to create/update any files on the file system.

At run time cDir needs to be able to update application specific files that are stored in the Logs and Resources folders. At installation time cDir grants full rights to the Network Service account to the above mentioned folders in the file system (cDirRootFolder\Logs and cDirRootFolder\Resources).

Does cDir require any device specific settings? 

To display properly, cDir requires HTML, CSS and Javascript to be enabled in the browser.


Site Map | Printable View
606 Magnetic Drive, Toronto, ON, M3J 2C4, CANADA
Phone +1 416-665-3069
© 1984 - 2010 Tenet Mobile