Microsoft IIS
Deploy on windows Server 2016+.
Requirements
IIS 7 or above with .NET 8 hosting bundle installed
We strongly recommend SSL for non-local domain based websites
If you are running IIS as a cluster node make sure to read the cluster / scale out setup section.
Required downloads
To setup ngSurvey on IIS you will need to first download and install the latest Microsoft .NET 8 IIS Hosting Bundle package. Once installed you may download the ngSurvey archive from following location. ngSurvey installation zip package
Installation steps
Create a ngSurvey folder on the machine hosting the IIS Server
unzip the ngSurvey package zip content that folder
In Windows open the IIS Manager
In the Sites tree of the IIS Manager, right click Sites and Add website
Set the Physical path folder to the folder where you unzipped the content of the ngSurvey zip install package
Once you have created the site, go to the Application Pools in the IIS Manager and open the properties of the website application pool, the default name is the name of the website you just created
Set the .NET CLR Version to V4
In the Advanced settings of the application pool set the Start Mode option to "AlwaysRunning" and the "Idle Time-out (minutes)" option to 0
Open the web.config file using an text editor.
Uncomment the environment variable line and set the connection string to the server hosting the ngSurvey database. If you're using MySQL as your database back please follow the MySQL configuration tutorial.
ConnectionStrings:NGSurveyDB Connectionstring to the server hosting the ngSurvey database
Open your browser and navigate to your site root
Use following default credentials for ngSurvey Email : ngsadmin password : admin
Once logged make sure to change the default admin password with a password of your choice from the user management screen.
You may also setup additional settings like mail servers, captcha and translation services from the system settings page.
Enjoy a great survey tool!
You may for the health / working status your ngSurvey installation at https://yourrootsite/api/system/status
Database setup
Out of the box ngSurvey will automatically configure / create / update the database that is specified in your connectionstring.
You may also use the http://yourngsurveysite/ngs/setup link to setup your database using the provided user interface.
Note that If you run your container under AWS ngSurvey will automatically pick up all RDS connection properties. Database requires SQL Server 2016 or above or MySQL 8 or above
Last updated