Public Health Emergency Preparedness
This resource was part of AHRQ's Public Health Emergency Preparedness program, which was discontinued on June 30, 2011, in a realignment of Federal efforts.
This information is for reference purposes only. It was current when produced and may now be outdated. Archive material is no longer maintained, and some links may not work. Persons with disabilities having difficulty accessing this information should contact us at: https://info.ahrq.gov. Let us know the nature of the problem, the Web address of what you want, and your contact information.
Please go to www.ahrq.gov for current information.
6.1.2. Web Application Deployment Description
The CBRNE Preparedness Questionnaire site and the Questionnaire Administration site can be deployed as Web applications or as Web sites. The following steps assume that the system administrator is familiar with using IIS and that the Web server has been installed with the .NET Framework 1.1 with the latest service packs. In order to install the site, follow the steps below:
- Copy the CBRNESurveyApp folder to the Web server. For example, C:\CBRNE.
Using IIS Manager, create a virtual directory or a Web site and point it to the location of the CBRNESurveyWeb folder contained in the CBRNESurveyApp folder. The CBRNESurveyWeb contains the actual Web questionnaire that end users will use to input data.
Associated Steps:
1a. To run the IIS, select the "Start" button, select "Administrator Tools," and then "Internet Information Services."
1b. Go to "Default Web Site," right-click "New," and select "Virtual Directory" (Figure 9).
Figure 9. Internet Information Services

1c. In the "Alias" field, enter the alias you wish to use. "CBRNESurvey" is an example (Figure 10).
Figure 10. Virtual Directory

1d. Enter the directory where the Web site files are physically located, such as C:\CBRNE\CBRNE_Survey\Sites\CBRNESurveyApp\CBRNESurveyWeb Figure 11).
Figure 11. Physical Web Site Directory

1e. Accept the default setting for the "Access Permissions" (Figure 12).
Figure 12. Access Permissions

1f. Complete the setting (Figure 13).
Figure 13. Completion

- Edit the Web.Config file contained in the CBRNESurveyWeb folder.
Associated Steps:
2a. Update the path field of line 9 to a location where the log files are to be written.
Note: By default, the "publisher mode" is set to "Off." If you want to enable logging, then you should turn it on and give the ASPNET account write access permission to the folder.
- In Windows Explorer, right-click on the folder where the log files are stored, open the "Properties" window, and select the "Security" tab.
- Select "Add" to add a user. In the next screen, select the "Advanced" button, and find the ASPNET user (Figure 14).
Figure 14: Select Users or Group

- Select "OK."
- The ASPNET user should show up in the properties window. Select the "Modify" checkbox to assign the write permission (Figure 15).
Figure 15: Log Properties

2b. In <appSettings> session, update the server, uid, and password fields for accessing the database:
<appSettings> <add key="siteTitleName" value="AHRQ-HRSA Survey" /> <add key="connectionString" value="server=servername;uid=username;pwd=password;database=ahraqdb"/> </appSettings>
- Using IIS Manager, create a virtual directory or a Web site, and point it to the location of the CBRNESurveyAdmin folder contained in the CBRNESurveyApp folder. The CBRNESurveyAdmin contains the questionnaire administration site where the questionnaire administrators can view the number of questionnaires submitted and download the submitted questionnaire data.
Associated Steps:
3a. To run the IIS, select the "Start" button, select "Administrator Tools," and then "Internet Information Services."
3b. Go to the Default Web Site, right-click "New," and select "Virtual Directory."
3c. Enter an alias. In this example, "CBRNESurveyAdmin" is used (Figure 16).
Figure 16: Virtual Directory

3d. Enter the directory where the Web site files are physically located, such as C:\CBRNE\CBRNE_Survey\Sites\CBRNESurveyApp\CBRNESurveyAdmin (Figure 17).
Figure 17: Physical Web site Directory

3e. Accept the default setting for the "Access Permissions" (Figure 18).
Figure 18: Access Permissions

3f. Select "Next" to complete the setting.
- Edit the Web.Configuration file contained in the CBRNESurveyAdmin folder.
Associated Steps:
4a. Update the path field of line 9 to a location where the log files are to be written.
Note: By default, the publisher mode is set to "Off." If you want to enable logging, then you should turn it on and give the ASPNET account write access permission to the folder. (Go to notes in section 6.1.2 on how to change permission to ASPNET).
a. In <appSettings> session, update the server, uid, and password fields for accessing the database:
<appSettings>
<add key="connectionString" value=" server=servername;uid=username;pwd=password;database=ahraqdb"/>
<add key="siteTitleName" value="AHRQ-HRSA Survey Administration" /> </appSettings>
- Complete.
Return to Contents
Proceed to Next Section