Oct 14, 2020
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.
- Stop the Access It! Universal.NET service
- On the server machine, navigate to C:\Program Files(x86)\RS2 Technologies\Access It! Universal.NET
- Create a copy the AIUniSvc_NET.exe.config file for backup purposes
- Edit the AIUniSvc_NET.exe.config using notepad
- Locate the opening and close tags for system.diagnostics
- 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> - Save AIUniSvc_NET.exe.config
- 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
- Stop the Access It! Universal.NET service
- On a client machine, navigate to C:\Program Files(x86)\RS2 Technologies\Access It! Universal.NET
- Create a copy the AIUniWksNET.exe.config file for backup purposes
- Edit the AIUniWksNET.exe.config using notepad
- At the very end of the file locate the close tag for </configuration>
- 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> - Save AIUniSvc_WksNET.exe.config
- 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
- Stop the Access It! Universal.NET service
- Navigate to C:\Program Files(x86)\RS2 Technologies\Access It! Universal.NET
- Replace the AIUniSvc_NET.exe.config file with the backup copy created
- Save AIUniSvc_NET.exe.config
- Restart the Access It! Universal.NET service