CRMJettyBack to crmjetty.comContact us
Menu
Docs / Guides

CRMJetty Portal

Works with
Docs / Dynamics 365

Dynamics 365 Customer Portalv6.3.0

Docs / Salesforce

Salesforce Customer Portalv6.3.0

Docs / Business Central

Business Central Portal

Guides / Hosting and deployment

How to Set Up IIS for a Self-Hosted CRMJetty Portal

4 min readUpdated
Short answerEnable IIS, IIS Hostable Web Core and .NET Framework Advanced Services, install the .NET Hosting Bundle and SQL Server, then create an IIS site for each published code folder CRMJetty provides, give the IIS users folder permissions, and set the API URL in the portal website.

If you host CRMJetty Portal on your own virtual machine or server, the portal runs in Internet Information Services (IIS). Set up IIS and its prerequisites first, then host the published code folders that CRMJetty gives you.

Note: This feature is available on selected plans. See Pricing.

Before you start

Required server features

Requirement Details
IIS With all related features.
IIS Hostable Web Core Windows feature.
.NET Framework Advanced Services Windows feature (listed in the old docs as .NET Framework 4.3 Advanced Service).
.NET Hosting Bundle The version that matches the .NET version the portal is built on. CRMJetty tells you which one; older guides list 6.0.22.
SQL Server With SQL Authentication.
Folder permissions The IIS users need permission on the project folders.

Install IIS

Check first whether IIS is already installed. Use the method that matches your server.

Windows (Control Panel)

  1. Go to Control Panel → Programs and Features → Turn Windows features on or off.
  2. Check that Internet Information Services and all related features inside it are selected.
  3. Select IIS Hostable Web Core and the related features if they are not selected.
  4. Select OK to install them.

Windows Server (Server Manager)

  1. Open Server Manager and go to Local Server.
  2. Scroll down to Roles and Features and check that IIS and its features are listed.
  3. If they are missing, select Add Roles and Features.
  4. Add the Web Server (IIS) role and its related features.

Install the .NET Hosting Bundle and SQL Server

  1. Install the .NET Hosting Bundle for the .NET version your portal build uses. Use the latest patch of that version.
  2. Install SQL Server (Standard or SQL Express) and enable SQL Authentication.
  3. Run the database script CRMJetty provides. It creates the default database structure.

Host the portal website

  1. Open IIS Manager.
  2. Right-click Sites and select Add Website, if the site does not exist yet.
  3. Enter a Site name.
  4. In Physical path, browse to the folder where the published Portal Web code is.
  5. Keep the binding Type as http, select the IP address and enter a port that no other site uses.
  6. Select OK. The site is published.

Important: An SSL certificate is required for every portal deployment. Add an https binding with your SSL certificate before the portal goes live, so portal users connect over an encrypted connection.

Give IIS permission on the site folder

  1. In IIS Manager, right-click the site and select Edit Permissions.
  2. Open the Security tab and select Edit.
  3. Add IUSR and IIS_IUSRS if they are not listed.
  4. Give each of them the permissions the site needs, then select OK.

Important: The old setup guide gives these users Full control. Full control lets the web server change any file in the folder. Where possible, give Read & execute on the site folder and Modify only on folders the portal writes to, such as upload and log folders.

Host the API

  1. Repeat the steps in Host the portal website for each published API folder, using a different site name and port for each.
  2. Give IIS permission on each API folder in the same way.
  3. Configure the Portal API URL in Portal Web so the website can reach the API.
Did this solve it?No, contact support