Deploying Sweet Survey

Deploying Sweet Survey requires following steps.

1. Install .NET Framework 4

Reason: it is the underlying framework for running Sweet Survey which is an ASP.NET MVC 3 application.
Download: http://www.microsoft.com/download/en/details.aspx?id=17851

2. Install IIS

Reason: it is the hosting service for running Sweet Survey.
How-to:
- Install IIS 5.1 on Windows XP: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/iiiisin2.mspx?mfr=true
- Install IIS 6 on Windows Server 2003: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/750d3137-462c-491d-b6c7-5f370d7f26cd.mspx?mfr=true
- Install IIS 7 on Windows Vista & Windows 7: http://learn.iis.net/page.aspx/28/installing-iis-7-on-windows-vista-and-windows-7/
- Install IIS 7 on Windows Server 2008: http://learn.iis.net/page.aspx/29/installing-iis-7-on-windows-server-2008-or-windows-server-2008-r2/

3. Deploy Sweet Survey to IIS

Reason: (N/A)
How-to:
- To IIS 5.1 and IIS 6:
- 1) Follow standard procedures to deploy Sweet Survey to the root web site or to a virtual directory
- 2) Right click on Default Web Site (or virtual directory) and click Properties
- 3) Make sure the website or virtual directory is an Application.
- 4) Set permissions to Scripts Only
- 5) Click Configuration. Under the Mappings tab, click the Add button
- 6) Select "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll"
- 7) In the Extension field, enter “.*”
- 8) Select All Verbs. Select “Script Engine”. Make sure ”Check that file exists” is NOT selected.
- 9) Click OK. (Click in the Extension field, then click in the Executable field again, and the OK button should be enabled.)
- 10) Similar as the steps described above but to remove the aspnet_isapi.dll from folder "Scripts" and "Content".
- To IIS 7:
- 1) Follow standard procedures to deploy Sweet Survey as a new web site.
- 2) Change the "Managed pipeline mode" of corresponding Application Pool to "Integrated".

4. Install Microsoft ADO.NET Entity Framework 4.1.

Reason: providing the O/R mapping service in data access layer.
Download: http://www.microsoft.com/download/en/details.aspx?id=26825

5. Install Microsoft SQL Server 2005 Express.

Reason: providing persistent storage.
Download: http://www.microsoft.com/download/en/details.aspx?id=21844

6. Install Microsoft SQL Server Management Studio Express.

Reason: providing interfaces for creating and maitaining databases.
Download: http://www.microsoft.com/download/en/details.aspx?id=8961

7. Create the database

Reason: create the database and the tables inside for Sweet Survey.
How-to:
1) Open Microsoft SQL Server Management Studio Express.
2) Right click on "Database" node, and click "New Database...".
3) In "Database name", input "Survey Survey", and click "OK".
4) Click "File > Open > File...", choose "SweetSurveyModel.edmx.sql" under "Model" folder of the website, and click "Open".
5) Follow the dialog to connect to the database, and click "Query > Execute".

(All steps are finished.)

Last edited Aug 19, 2011 at 7:52 AM by zimingli, version 2

Comments

No comments yet.