Technical Resources
Running on IIS
Running Pimplus on IIS
This article explains how to run Pim+ on IIS. It provides pictorial examples with each step to help you navigate the software's interface. By default, the user interface is accessed through a web server that is integrated right in PimPlus. The integrated web server makes for quick and easy deployment without the need to install and configure IIS.
However, there are certain times when you may prefer to access the PimPlus user interface through IIS and this is fully supported. Reasons to switch to IIS may include corporate policy or the need to use HTTPS/SSL to protect access to the console.
Step 1: Disable the Integrated Web Server
- Go to the e.g.
C:\Program Files\pimplus
folder. - Edit the file called
config.ini
using Notepad. - Look for the section called
[WebServer]
followed by an entry calledEnabled=1
and change it toEnabled=0
.
If the Enabled
line is not present in your config.ini file add it manually under the [WebServer]
section.
- Restart the PimPlus service.
Step 2: Install IIS
- Use the Server Manager to add the "Web Server (IIS)" role.
- Under the "Web Server (IIS)" item navigate to "Web Server" and then "Application Development".
- Turn on the options for "ASP" and "Server Side Includes".
- In the previous step make sure to select just "ASP" and not one of the other options with ASP in their names.
Step 3: Install a Self-Signed Certificate
- Open the IIS Manager in the Administrative Tools section of the Control Panel.
- Select the top level item which has the same name as the local system.
- On the right-hand side double-click on the item called "Server Certificates".
- In the Actions menu on the very right-hand side select "Create Self-Signed Certificate".
- Enter a name for the certificate and press OK.
- Navigate to the "Default Web Site" item in the IIS Manager.
- Right-click on "Default Web Site" and select "Edit Bindings".
- Use the Add button to add an HTTPS binding on port 443 with your newly created certificate.
- Use the Remove button to remove the HTTP binding on port 80 so that HTTPS/SSL is required to access the site.
Step 4 (Optional): Add the Application
This step is only necessary if multiple sites are running in IIS or if the PIM+ API is being used.
- In the IIS Manager navigate to the "Default Web Site" site under the "Sites" folder.
- Right-click on "Default Web Site" and select "Add Application".
- For the alias specify "PimPlus".
- For the physical path enter e.g.
C:\Program Files\pimplus\Html
.- If you have installed PimPlus in a non-default location use that location instead.
Step 5: Configure Application Pool
- Right-click on "DefaultAppPool" and choose "Advanced Settings".
- Verify "Enable 32-bit Applications" is set to "False" and press OK.
Step 6: Configure ASP Limits
- In the IIS Manager select the "Default Web Site" web site in the tree on the left.
- On the right-hand side double-click on the item labeled "ASP".
- Expand the section called "Limits Properties".
- Change the "Maximum Requesting Entity Body Limit" to
10000000
. - Change the "Response Buffering Limit" to
50000000
. - Use the Apply option at the top right to save the changes.
Step 7: Register Components
- Open a command line window with Administrator access.
- Navigate to e.g.
C:\Program Files\pimplus
. - Run
regsvr32 FrameFlowTokenExpander.dll
. - Verify that you get a message indicating the operation succeeded.
- Run the following command:
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers
.
Step 8: Verify HTTPS/SSL Access
- Verify that you can access the user interface through HTTPS/SSL by visiting
https://servername/pim.plus
. - Your web browser may warn about the self-signed certificate before allowing you to proceed.
Step 9: Update Remote Node Configurations
- On each remote node, edit the file
config.ini
in theC:\Program Files\PimPlus
folder. - Edit the
MasterNode
value to start withhttps://
.