Installing the Web Client

The Web Client is a web application which lets users access the system from a web browser.

Start the SmartSoft Invoices Web Client.exe setup wizard and follow the steps.

../_images/deployment-web.png

Click Options to set installation parameters.

Warning

Click Options to set installation parameters.

../_images/deployment-web-settings.png

Install Folder: The web application will be installed here.

Server IP: Provide the IP or URL and port for the web client to connect to the Application server

Database connection string: The web application needs access to the application database to show user reports.

  • Windows Authentication

    Server=.\SQLEXPRESS;Database=ssiServerDb;Trusted_Connection=True;

  • SQL Authentication

    Data Source = .\SQLEXPRESS; Initial Catalog = SsiServerDb;User ID=myUsername;password=myPassword;

Tip

For Windows Authentication mode make sure the IIS Service user is added as a login in SQL Management Studio. The IIS Service (World Wide Web Publishing Service - W3SVC) usually runs under Local System - check that in the Windows Services applet.

Tip

For named SQL Server instances provide the instance name, e.g. Data Source = .\SQLEXPRESS. For default instances you can provide the server name or address, e.g. 127.0.0.1. SQL Server Express is installed by default as a named instance and SQL Server is installed as a default instance.

The setup installs RabbitMQ (message broker software), Erlang (required by RabbitMQ), enables .NET 4.5 and the necessary Windows features. Enables IIS, creates a website and configures its application pool.

To later change the Application server IP and port open the web application config file Web.config in the installation folder and under the AppSettings node file set Server IP and Server Port:

<add key="SSI.IPAddress" value="127.0.0.1" />
<add key="SSI.PortNumber" value="12543" />
<add key="SessionTimeout" value="40" />
<add key="ExternalDBConnectionString" value="Server=.\SQLEXPRESS;Database=ssiServerDb;Trusted_Connection=True;" />
<add key="ClassVerifyThreshold" value="98" />

Warning

If you already have a Default Web Site configured on port 80 in IIS you’ll need to stop it and start the new SmartSoft Invoices Web Site. In IIS select Default Web Site and in the Actions pane click Stop. Then select SmartSoft Invoices Web Site and in the Actions pane click Start. Alternatively configure the ports accordingly.

../_images/iis.png