Directory Administration

These are instructions on handling common support requests for the Online Directory.

Runtime Error

This error occurs about once every 60-90 days. The regular Directory page will load, but if you do a search, you will get the "Runtime Error" screen. To resolve this, restart the application pool for the Directory.

  1. Remote desktop to zengarden.
  2. Right-click on the Start-like Windows button, Control Panel, Administrative Tools and then Internet Information Service (IIS) Manager.
  3. Click the plus sign next to Application Pools to expand it.
  4. Right-click on directory.middlebury.edu and select Recycle.
  5. Right-click on directory.miis.edu and select Recycle.
  6. Re-publish the project, if necessary.

People in Multiple Departments

Some of the Faculty and Staff at Middlebury work in multiple departments and should be returned in search results for either department. This is typically indicated by a / character separating the two departments in the department attribute in their Active Directory record. To remove the concatenated department name from the Directory's drop down list and have the person's record appear for searches of either Directory, we need to edit the Directory's configuration file.

  1. Use Remote Desktop to connect to sandgarden.middlebury.edu
  2. Open the Project in SourceTree
    1. Open the SourceTree application.
    2. Click Clone / New and clone the project from git@git.middlebury.edu:web/directory.git to a local directory.
  3. Open Visual Studio.
    1. Select File and Open Web Site.
    2. Open the project from the directory you created in SourceTree
  4. Edit DirectorySettings.xml (see below)
  5. Save and commit your changes to version control and push the changes.
  6. Deploy the new configuration by copying the file to \\zengarden.middlebury.edu\D$\websites\directory.middlebury.edu and \\zengarden.middlebury.edu\D$\websites\directory.miis.edu

Editing DirectorySettings.xml

To exclude a department from the dropdown entirely, add this line in either the Middlebury or MIIS company element, where the name attribute is the name of the department as it would appear in the dropdown:

<department name="student" parent="student" />

To exclude a department from the dropdown, and have people with that department searchable by either department name, add these lines in either the Middlebury or MIIS company element, where the name attribute is the name of the department as it would appear in the dropdown:

 

   <department name="Athletics/Communications" parent="Athletics" />
   <department name="Athletics/Communications" parent="Communications" />