Layton ServiceDesk™ - General Troubleshooting - Can't Launch the Application

From Layton Support
(Difference between revisions)
Jump to: navigation, search
(Major rework and expansion)
(Removed section "Incorrect Port Number", which is now a separate article)
Line 51: Line 51:
 
#Under ''Process Model'', ensure that ''Load User Profile'' is set to ''True''.<br /><p>[[File:Lsd iis app pool adv stgs load user profile.png|link=]]</p>
 
#Under ''Process Model'', ensure that ''Load User Profile'' is set to ''True''.<br /><p>[[File:Lsd iis app pool adv stgs load user profile.png|link=]]</p>
  
=Incorrect Port Number=
 
The installation may have been successful, but you see the following error on launch:
 
 
    Server Error in '/' Application
 
   
 
    The resource cannot be found.
 
   
 
    Description: HTTP 404. The resource you are looking for (or one of its dependencies)
 
    could have been removed, had its name changed, or is temporarily unavailable. Please
 
    review the following URL and make sure that it is spelled correctly.
 
   
 
    Requested Url: /LaytonServiceDesk/Login.aspx
 
 
Layton ServiceDesk assumes that it will have the port assignment ''80''. If other websites were previously installed on the same server, it's likely that one of them will have been given port 80 and Layton ServiceDesk will be given a different port number, e.g. ''81''. You can check the port assignment using '''[http://msdn.microsoft.com/en-us/library/bb909657(v=vs.90).aspx this article]'''.
 
 
Note that you may not be able to change the port assignment to the default ''80''. In this case, modify any link to Layton ServiceDesk to append the port number to the server name, e.g.
 
 
    http://server:81/LaytonServiceDesk/Login.aspx
 
 
<p align="right">[[File:btn_back_up.png|link=User Guide for Layton ServiceDesk™]] [[User Guide for Layton ServiceDesk™|<u>Back to Contents</u>]]</p>
 
<p align="right">[[File:btn_back_up.png|link=User Guide for Layton ServiceDesk™]] [[User Guide for Layton ServiceDesk™|<u>Back to Contents</u>]]</p>

Revision as of 04:30, 5 May 2015

Btn back up.png Back to Contents

Contents

IIS Settings

.NET Framework Version 2.0

On Windows Server 2012, the default version for framework is 4.0 while Layton ServiceDesk can only run under 2.0.

HTTP Error 500.19

This configuration resolves the following error:

   HTTP Error 500.19 - Internal Server Error
   
   The requested page cannot be accessed because the related configuration data for the page is invalid.
   
   Detailed Error Information:
   
   Module: IIS Web Core
   Notification: BeginRequest
   Handler: Not yet determined
   Error Code: 0x80070021
   Config Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level.
     Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny"
     or the legacy allowOverride="false".  
   
   Config File: \\\\?\\C:\\Program Files (x86)\\Layton Technology\\Layton ServiceDesk\\web.config

Configuration

  1. Open IIS Manager.
  2. Expand the server in the Connections pane.
  3. In the Application Pools pane, click LaytonServiceDeskAppPool.
  4. In the Actions pane on the right, click Basic Settings....
  5. Ensure that .NET Framework version is set to .NET Framework v2.0.50727.
  6. Ensure that Managed pipeline mode is set to Classic.

    Lsd iis app pool basic stgs.png

Btn back up.png Back to Contents

Application Pool Settings

Load User Profile

This procedure resolves the following error:

   Description: The application attempted to perform an operation not allowed by the security policy.
   To grant this application the required permission please contact your system administrator or change
   the application's trust level in the configuration file.
   
   Exception Details: System.Security.SecurityException: Request for the permission of type
   'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
  1. Open IIS Manager.
  2. Expand the server in the Connections pane.
  3. In the Application Pools pane, click LaytonServiceDeskAppPool.
  4. In the Actions pane on the right, click Advanced Settings....
  5. Under Process Model, ensure that Load User Profile is set to True.

    Lsd iis app pool adv stgs load user profile.png

Btn back up.png Back to Contents

Personal tools
Namespaces

Variants
Actions
Main Page
Online User Guides
General Support
Release Notes
Toolbox