3. Set up your file shares and permissions

Applies to the following products: 
Questionmark Perception
Applies to the following Perception versions: 
Perception 5.7

Make sure to use Windows-based file shares with Perception; Linux-based file shares are not supported and will not function correctly.

Create the file shares

Now you will need to create three separate shares on your network. These will be used to store the configuration files and repository files shared by all the installations of Perception. It is recommended that you create the following shares:

  • \\<file_server_name>\config\
  • \\<file_server_name>\repository\
  • \\<file_server_name>\license\

All the computers in your load-balanced environment will need the appropriate access to these shares through a service user set up locally or in your Active Directory.

Configure the permissions

Create an Active Directory user and give them access to the file shares on the network. Add this user to the local administrators group.

Configure IIS

The application pools used by Perception need to be configured in IIS to use the same user to access the file shares. This will ensure that access is available to all the correct folders and files for all the servers. To change the application pools so that they use the same user, follow the steps below for instructions in Windows Server 2008 R2:

  1. Launch IIS Manager.
  2. Select your server and click View Application Pools from the Actions menu on the right.
  3. Select the Questionmark.Perception application pool.
  4. Click on Advanced Settings....
  5. In the Process Model section, click where the word Identity | NetworkService appears and click on the browse (...) button.
  6. Select the Custom account option button.
  7. Click Set.
  8. Enter the username and password for the service user you created previously, and click OK.
  9. Click OK again to close the Advanced Settings window.
  10. Repeat steps 3 to 8 for all Questionmark.* application pools.

Close the application pools, and in the tree below Default Web Site, you'll have virtual applications 

  • Click Basic Settings...
  • Click Connect as...
  • Select Specific user. Click Set.Enter credentials for the service user.
  • Repeat this for all Questionmark virtual applications (aspnet_client is not of them).

Now Restart IIS!

Change the Run as... conditions for Shared Repository Service

Go to services.msc.

Right-click on Shared Repository Service and click Properties.

Log On tab.

Select This account

Click Apply, and then OK.

Enter credentials for the service user. 

Then right-click and select Restart to restart the service so that the changes take effect.