Setting up File Upload questions in Windows Server 2008

Applies to the following products: 
Questionmark Perception
Applies to the following Perception versions: 
Perception 5.2
Perception 5.1

The following steps need to be done if you intend to use the File Upload question type and you have installed in a windows multi-tiered environment. You will need to make several modifications to both the QPLA and QABS servers.

On the QPLA server you will need to:

On the QABS server you will need to:

The final step involves Updating the File Upload folder setting.

On the QPLA server

Creating a user

On the QPLA server:

  1. Click Start type in compmgmt.msc (Computer Management)in the search box and press enter
  2. Navigate to Local Users and Groups | Users

  3. Click Action | New User...
  4. Create a new user (ie. fileuploaduser) with password

  5. Uncheck User must change password at next logon
  6. Check Password never expires
  7. Click Create
  8. Still in Computer Management right click the user you just created and click Properties
  9. Select the Member Of tab
  10. Click Add and then click Advanced
  11. Click Find Now

  12. Find and select IIS_IUSRS and click OK. Remove the Users group by selecting it and clicking Remove, if it appears on the lift of assigned groups
  13. Click OK again to close the dialog

Assigning the user in IIS

On the QPLA server:

  1. Start IIS 7
  2. Right click on the Default WebSite and click Edit Permissions…

  3. Select the Security tab
  4. Click Edit
  5. Click Add followed by Advanced
  6. Click Find Now
  7. Select the user you created above (e.g. fileuploaduser).
  8. Click OK. You may be asked to enter the valid user name and password if on a domain
  9. In the Permissions for <username> box make sure the Full Control check-box is enabled in the Allow column

  10. Click OK and exit out of IIS

Connecting as the new user

You also need to make sure that your new user is used when connecting to the perception5 (by default) virtual directory. To do this:

  1. Start IIS
  2. Locate the perception5 site (this may be a dedicated site to perception5 or it may be a parent site, like Default Web Site)
  3. Click Basic Settings... from the Action menu on the right
  4. Click Connect as...

  5. Choose the Specific user option button
  6. Set the user you created above
  7. Click OK and exit out of IIS

On the QABS server

Creating another user

On the QABS server:

  1. Click Start type in compmgmt.msc (Computer Management)in the search box and press enter
  2. Navigate to Local Users and Groups | Users

  3. Click Action | New User...
  4. Create a new user (ie. fileuploaduser) with password

  5. Uncheck User must change password at next logon
  6. Check Password never expires
  7. Click Create
  8. Still in Computer Management right click the user you just created and click Properties
  9. Select the Member Of tab
  10. Click Add and then click Advanced
  11. Click Find Now

  12. Find and select IIS_IUSRS and click OK
  13. Click OK again to close the dialog

Creating a folder share for the fileupload folder

You will need to ensure that the fileuploads folder is shared appropriately and the members of the IIS_IUSRS group can contribute (write) to the folder. This folder share will be used by the QPLA server to place any files uploaded in a File Upload question on to the QABS server. If you installed Perception to the default location the File Upload folder will be in the following location, otherwise please check where you installed the Repository Support files:

C:\Perception5\Repositories\shared\<MyRepository>

Where <MyRepository> is the name of your repository

In this folder a fileuploads folder will exist.

To create a file share for this folder follow the instructions below for your operating system:

  1. Right click on the fileuploads folder and select Share...
  2. In the text box enter the name of the user you created (e.g. fileuploaduser) and click Add
  3. For the Permissions Level select Contributor

  4. Click Share
  5. You will be shown a page that provides details about the share, click Done

You have now created a folder share of the fileupload folder. The folder share can be accessed using a UNC name such as:

\\<QABS_SERVER>\fileuploads

Where <QABS_Server> is the name of the server hosting the QABS part of Perception Version 5.

You should try navigating to the above share from the QPLA server to ensure the share works.

Updating the File Upload folder setting

Once you have created the folder share you need to ensure that the QPLA server know where it is. This can be done by completing the steps below:

  1. Login to Enterprise Manager on the QABS server using the default administrator user name and password

    The default address to login to Enterprise Manager is:

    http://<QABS_SERVER>/em5/Login.asp

    Where <QABS_SERVER> is a valid domain name or server name of your QABS server as setup in Step 1: Installing Perception Server and QABS

  2. Navigate to the Server Settings page by clicking System Administration | Server Management | Server Settings
  3. Locate the File Upload folder setting in the Questionmark Presentation Layer for Assessments section of the page
    There are two File Upload folder settings on the Server Settings page. The first File Upload folder setting in the Folder section of the page is for use by the Scoring Tool and reports. It does not need to be changed for File Upload questions to work. Only the second File Upload folder setting in the Questionmark Presentation Layer for Assessments section should be changed to point to the folder share on your QABS server.
  4. Change this to something similar to \\<QABS_SERVER>\fileuploads. As created in the section above.
  5. Click the Save and Exit button