You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
WCF Debugging
print icon

Overview

Access It! Universal.NET uses Microsoft Windows Client Foundation (WCF) to handle all communication between clients and server.  In order to troubleshoot issues with the communication, diagnostic logging can be enabled within the service's exe.config file.

Enabling Server Service Debug

  1. Stop the Access It! Universal.NET service
  2. On the server machine, navigate to C:\Program Files(x86)\RS2 Technologies\Access It! Universal.NET
  3. Create a copy the AIUniSvc_NET.exe.config file for backup purposes
  4. Edit the AIUniSvc_NET.exe.config using notepad
  5. Locate the opening and close tags for system.diagnostics
  6. Replace the entire system.diagnostics block with the following:
    <system.diagnostics>
      <trace autoflush="true" />
        <sources>
        <source name="System.ServiceModel"
                switchValue="Information, ActivityTracing"
                propagateActivity="true">
          <listeners>
            <add name="sdt"
                type="System.Diagnostics.XmlWriterTraceListener"
                initializeData="C:\ProgramData\RS2 Technologies, LLC\Access It! Universal\server.svclog"  />
          </listeners>
         </source>
        </sources>
        <switches>
          <add name="DefaultSwitch" value="Information" />
        </switches>
        <sharedListeners>
          <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
        </sharedListeners>
      </system.diagnostics>
  7. Save AIUniSvc_NET.exe.config
  8. Restart the Access It! Universal.NET service

With this code added, a log file can be found in the servers C:\ProgramData\RS2 Technologies, LLC\Access It! Universal folder

 

Enabling Workstation Debug

  1. Stop the Access It! Universal.NET service
  2. On a client machine, navigate to C:\Program Files(x86)\RS2 Technologies\Access It! Universal.NET
  3. Create a copy the AIUniWksNET.exe.config file for backup purposes
  4. Edit the AIUniWksNET.exe.config using notepad
  5. At the very end of the file locate the close tag for </configuration>
  6. On the line prior to the close tag enter the following data
    <system.diagnostics>
      <trace autoflush="true" />
        <sources>
        <source name="System.ServiceModel"
                switchValue="Information, ActivityTracing"
                propagateActivity="true">
          <listeners>
            <add name="sdt"
                type="System.Diagnostics.XmlWriterTraceListener"
                initializeData="C:\ProgramData\RS2 Technologies, LLC\Access It! Universal\client.svclog"  />
          </listeners>
         </source>
        </sources>
        <switches>
          <add name="DefaultSwitch" value="Information" />
        </switches>
        <sharedListeners>
          <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
        </sharedListeners>
      </system.diagnostics>
  7. Save AIUniSvc_WksNET.exe.config
  8. Restart the Access It! Universal.NET Workstation

With this code added, a log file can be found in the servers C:\ProgramData\RS2 Technologies, LLC\Access It! Universal folder

Disabling Service Debug

  1. Stop the Access It! Universal.NET service
  2. Navigate to C:\Program Files(x86)\RS2 Technologies\Access It! Universal.NET
  3. Replace the AIUniSvc_NET.exe.config file with the backup copy created
  4. Save AIUniSvc_NET.exe.config
  5. Restart the Access It! Universal.NET service

scroll to top icon