The Survey sample uses an XML file for configuration information. This file, Configuration.xml, is located in the Samples\Workflow\Survey\Survey\ directory of the Speech Server installation directory. Configuration.xml contains one configurable parameter, as described in the following table.
|
Configuration.xml Parameter
|
Description
|
|---|
|
connection-string
|
Specifies the connection string for the SQL Server database containing the SurveyCallList and SurveyResults tables. The default connection string uses a local SQLExpress database.
|
The Survey application uses a SQL Server database for storing call list and survey result data tables. Typically, a local version of SQL Server is used for the Survey application tables. However, an alternate server can be specified by modifying the connection-string parameter in Configuration.xml.
To create the necessary database and tables, run InitializeDatastore.bat in the Samples\Workflow\Survey\Survey\DatabaseScripts\ directory of the Speech Server installation directory. This creates the SpeechServer database, the SurveyCallList table, and the SurveyResults table.