Accessing Web Access displays a Dynamic view compilation failed error

Version 6

    Verified Product Versions

    Service Desk 2016.x

    Problem

    When accessing Web Access (Self Service or Web Desk) the following error message is displayed.

     

    Dynamic view compilation failed.

    c:\Windows\Temp\31tpavoq.0.cs(6,43): error CS0234: The type or namespace name 'PreferenceCache' does not exist in the namespace 'Touchpaper.Framework.SystemServices' (are you missing an assembly reference?)

     

    Cause

    Two known causes for this error are:

     

    1. You are trying to browse Web Access via Internet Explorer 6.

    2. The LogonPolicy set for Web Access is set to "All".

    3. The database connection details for Web Access are invalid.

     

    Resolution

     

    1. Internet Explorer 6 is not supported with Web Access 7.4 onwards, please upgrade or use an alternative supported browser.

     

    2. Check the contents of the tps.config file for Web Access to ensure that the LogonPolicy value is set to either "ExplicitOnly" or "IntegratedOnly". The "Al" property is not supported in Web Access.  For example: <add key="LogonPolicy" value="ExplicitOnly" />.

     

    3. Open the Web Access configuration page from http://server-nameWebAccess/Config.aspx and confirm that the database connection details are correct.  After logging in to the configuration page (default password "tpservices") use the Test Connection button to check the validity of the current settings.

     

    The default path for the tps.config is:

     

    C:\Documents and Settings\All Users\Application Data\Touchpaper\WebAccess

    or

    C:\ProgramData\Touchpaper\WebAccess

    from 7.6 onwards C:\ProgramData\LANDesk\ServiceDesk\ServiceDesk.WebAccess

     

    Please take a backup of the file before editing.