Solution - ArcFM Mobile - ASP.NET Error on the Sync Service Application Page

Version 3

    Behavior

     

    When navigating to the NetworkFileStorage.WebsiteAddress for the Sync Service Configuration (e.g., https://servername/ArcFM.Mobile.SyncService), you are presented with the following error:

     

    Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

     

    Exception Details: System.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

     

     

    Cause

     

    This issue occurs when the Applicationhost.config file for Windows Process Activation Service (WAS) has a section defined that is not compatible with .NET 4.0.

     

     

    Solution

     

    IIS must to be configured to use .NET 4.0. From a command prompt, run the following in Administrator Mode:

    • %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe /iru