Installation > Installing Optional Modeler Components > Web Interface Installation > Licensing a Web Interface Website and Selecting the Databases it Can Access
Licensing a Web Interface Website and Selecting the Databases it Can Access
A Web Interface website requires the following licenses:
A Modeler license and a PTC Integrity Modeler Web Interface Server license.
A PTC Integrity Modeler Web Interface Client license for each concurrent user of the Web Interface website.
Any additional licenses required for accessing the required models. For example, a Product Line Model Access license is required to view information in a Product Line Model.
After installing Web Interface, you must license it for use on the hosting computer. You can then specify how many client licenses are checked out by the Web Interface website, how long after inactivity a license expires, and select the Repositories that can be access from the Web Interface website.
If you have changed the default password for the PTC-IM-WSU user account during install, the PTC Integrity Modeler Web Interface application pool will be set to use that new password. If you change the password after install, you must use the IIS Management Console to update the application pool.
To License Web Interface for Use on the Hosting Computer:
* 
This step is required to complete Web Interface installation and configuration.
Modeler licenses are for specific users on specific computers, so you must log on to the hosting computer using the PTC-IM-WSU user, and license Web Interface for use.
1. If you have performed a Server only installation and have installed the Floating License Server on the same computer, you do not have to change the license settings but do need to add a license to the server. Run License Manager and choose the Replace option, then select the license file to be added.
2. If the computer that is hosting the Web Interface website does not have a Floating License Server itself, launch the License Manager using Run as administrator, and select Manage default license settings for New Users, choose Options and set the license servername.
It is recommended that you use a server-based license, but you can use a local license for a Standalone installation. The license server you choose must also provide PTC Integrity Modeler Web Interface Client licenses for each concurrent user of the website.
For more information about how client licensing of a Web Interface website works, see Client licensing of a Web Interface website.
For more information about setting up a Modeler license, see Introduction to licensing Modeler.
To Select Which Databases Can be Accessed from the Web Interface Website:
* 
This step is required to complete Web Interface installation and configuration.
1. Logon to the hosting computer as the PTC-IM-WSU user.
2. Start Model Explorer.
3. Bookmark the Databases that you want to be accessible through the Web Interface website.
Ensure that any Databases you bookmark are using the same version of Modeler as that of the Web Interface.
To bookmark a Database: right-click the Database, and then click Bookmark.
In Model Explorer, you can add Servers, and show all the Databases on a Server:
To add a Server to Model Explorer: right-click the SQL icon, and then click Add Server.
To see all the Repositories on a Server: right-click the server and then click Show All Databases.
For more information about working with Model Explorer, see the Modeler Help.
4. Ensure that each Database you bookmark has been updated to work with the version of Modeler you are using.
You can do this by using Modeler to open a model in the Database; if the Database requires updating you are prompted to update the Database.
Important: If a Web Interface website is connected to a Database that requires updating, the website will stop responding when you expand its Server icon.
5. When a bookmarked Database owns Models that are not Public Read or Public Write, those models are accessible through the Web Interface website only when the PTC-IM-WSU user has read access permissions to them.
To ensure that sandboxes in Repositories with set access permissions are accessible on the Web Interface website, you need to grant the PTC-IM-WSU user access permissions to each sandbox in the Database.
To set up PTC-IM-WSU user access to a sandbox: grant the PTC-IM-WSU user read access permissions to the sandbox. Alternatively, you can set the PTC-IM-WSU user as a Database Administrator or as an Owner of the Database in which the sandbox resides through Model Explorer.
To set up PTC-IM-WSU user access to a Model: grant the PTC-IM-WSU user read access permission to the Model through Modeler or Modeler Explorer.
To set up PTC-IM-WSU user access to all Models in a Database: set up the PTC-IM-WSU user as a Database Administrator of that Database or grant PTC-IM-WSU Owner access to the Database through Model Explorer.
Note that when a user views a Model through a Web Interface website, or successfully logs in or out, it is recorded in the visitors.txt file that resides in the following folder:
C:\inetpub\wwwroot\PTC Integrity Modeler Web Interface\settings
To Specify How Many Client Licenses Are Checked out by the Web Interface Website and How Long after Inactivity a License Expires:
A Web Interface website requires a PTC Integrity Modeler Web Interface Client license for each concurrent user of that website.
At startup, a Web Interface website checks out a number of PTC Integrity Modeler Web Interface Client licenses. These licenses are then consumed by users as they log in to the Web Interface website.
For more information about how client licensing of a Web Interface website works, see Client licensing of a Web Interface website.
1. From the computer that is hosting the Web Interface website, ensure that the Web Interface website is not running:
a. Start Internet Information Services (IIS) Manager: from the Run text box, type inetmgr, and then press the Enter key.
b. In the Connections pane, select Application Pools.
c. In the Application Pools pane, select the PTC Integrity Modeler Web Interface entry.
d. If the Status of the Web Interface website is Started, in the Actions pane click the Stop link.
2. From the computer that is hosting the Web Interface website, locate the web.config file. The web.config file resides in the following location:
C:\inetpub\wwwroot\PTC Integrity Modeler Web Interface
3. Create a backup of the web.config file.
4. Using a text editor, open the web.config file.
5. In the web.config file, locate the <add key=" UserLicenses" value=" 5" /> entry.
6. Set the value to required number of client licenses you want checked out by the Web Interface website.
7. In the web.config file, locate the <authentication mode="Forms"> entry.
8. After 240 minutes of inactivity, a license expires. If you want to change how long after inactivity a license expires.
a. In the web.config file, locate the entry that starts with <forms.
b. Change the timeout value from its default value of 240 to the desired value.
9. Save the changes you have made to the web.config file.
10. If you stopped the Web Interface website, in the Actions pane click the Start link.
To Set up the PTC Integrity Modeler Web Interface Application Pool to Use a New Password for the PTC-IM-WSU User Account:
1. From the computer that is hosting the Web Interface website, start Internet Information Services (IIS) Manager.
2. In the Connections pane, select Application Pools.
3. In the central pane, select PTC Integrity Modeler Web Interface.
4. In the Actions pane, click Advanced Settings.
5. In the Advanced Settings dialog, in the Process Model section, locate the Identity entry.
6. For the Identity entry, click the value cell, and then click the button
7. Select the Custom Account option, and then click the Set button.
8. In the User Name box, type PTC-IM-WSU.
9. In the Password and Confirm Password boxes, type the new password you created for the PTC-IM-WSU user account.
10. Click OK on the open dialogs to save the changes you have made.
After licensing the Web Interface website and selecting the repositories it can access, you can set up how users are authenticated. For more information, see Setting up user authentication for a Web Interface website.