Access to database server and access to ClientSense database or permission to create databases
Dns entry a record or cname pointing to web server of clientsense
Package setup
Download the Client Sense package from the provided link (you may need to add app.clientsense.com to trusted sites, alternatively copy the package to the remote computer)
Extract contents of package ClientSense-Release into local path eg inetpub/wwwroot folder
Rename ClientSense-Release to ClientSense
Attachments folder creation
Navigate to inetpub/wwwroot folder
Create a folder called ClientSenseAttachments
Right click the ClientSenseAttachments folder and select Properties
Select the Security tab
Click Edit next to change permissions
Click Add and search for the service account, click OK
Select the service account from the list and under permissions tick the Allow checkbox for Write
Click OK
Open the ClientSenseAttachments folder and create a folder called Changes
Windows Features
Ensure the following features are installed for IIS
Open Server Manager
Add roles and features
Click Next until you get to the Server Roles section
Expand Web Server (IIS)
Expand Web Server
Expand Common HTTP Features
HTTP Redirection ✓
Expand Health and Diagnostics
Custom Logging ✓
Logging Tools ✓
Request Monitor ✓
Expand Performance
Dynamic Content Compression ✓
Expand Security
IP and Domain Restrictions ✓
Windows Authentication ✓
Expand Application Development
.NET Extensibility 4.X ✓
Application Initialization ✓
ASP.NET 4.X ✓
WebSocket Protocol ✓
Next
Install
IIS Manager configuration
Website creation
Add a new Website
Fill out the fields
Site name: ClientSense
Application Pool: ClientSense
Physical Path: Select the extracted folder ClientSense ie c:\inetpub\wwwroot\ClientSense
Host name: clientsense
Apply any additional binding settings here
Save
Attachments Virtual Directory
Select the ClientSense site
Right click the ClientSense site and select Add Virtual Directory
Enter Attachments as the Alias
Set the Physical Path to the location of the ClientSenseAttachments folder ie c:\inetpub\wwwroot\ClientSenseAttachments
Click OK
Authentication
Select ClientSense site
Under IIS select Authentication and open feature
Enable Anonymous Authentication and Windows Authentication
Connection Strings
Select ClientSense site
Under ASP.NET select Connection Strings and open feature
Select Default Connection and Edit
Set connection string to
Data Source=[ServerName];Initial Catalog=ClientSense;Integrated Security=true;MultipleActiveResultSets=True
Click OK
Application pool configuration
Select Application Pools
Open Advanced settings of the ClientSense app pool
Under General
Set Start Mode to AlwaysRunning
Under process model
Set Identity to domain\serviceaccountname account
Set Load User Profile to True
Under Rapid-Fail Protection
Set Maximum Failures to 10 - This alleviates the app pool being terminated during upgrades
Back Connection Host Names
To export PDFs Client Sense needs to be able to access itself on the same host name that users will access it by, this may also be required to browse the DNS locally from the server
Ensure that you add the appropriate host name or fully qualified name eg clientsense or clientsense.domain.local
You
can test configuration is working by browsing to the Client Sense dns
from the server hosting the website with an account that will have
access to Client Sense
Initialise website and database
Browse to website on configured DNS
If prompted for credentials enter service account credentials
If access is denied after entering credentials and you have performed the Back Connection Host Names registry entry above you may need to follow the same article to Disable Loop Back Check. You can enable both at the same time and the server should not require a restart
Expect a loading period, the database, tables and any stored procedures will be created at this moment
Once loading is complete you will be prompted for a licence key
Enter the licence key provided and click Update
Continue with install below before configuring Client Sense
IIS Manager configuration Continued
Add auto start provider
Perform
this step after testing the website and configuring integration,
autostart can interfere with database initial creation scripts
Select the server name in IIS Manager at the top of the tree
Under Management select Configuration Editor and open feature
Under Section select system.applicationHost > serviceAutoStartProviders
Select Collection Count column and click the ellipses
Under Actions click Add
Under Properties enter
name: ClientSensePreload
type: Contact_Monitor_Web.App_Start.ApplicationPreload, Contact Monitor Web
Close the dialog
Under Actions click Apply
Assign auto start provider
Perform this step after testing the website and configuring integration, autostart can interfere with database initial creation scripts
Select the server name in IIS Manager at the top of the tree
Under Management select Configuration Editor and open feature
Under Section select system.applicationHost > sites
Select Collection Count column and click the ellipses
Select ClientSense site
Under Properties select Collection Count column and click the ellipses