Skip to main content

i4scada Knowledge Base

WTS (Trace Server) Return Error Codes

Abstract

Check out this article and learn more details about the WEBfactory 2010 Trace Server Return error codes.

Objects/Interfaces

Error Codes

UACHelper object/interface

CUACHelper::DoOperation

  • -1 = LoadLibrary fails

  • -2 = GetProcAddress for DoOperation exported method fails

otherwise return code from DoOperation exported method

TraceLoggerConfig object/interface

CTraceLoggerConfig::SetFilterEventLog

  • -1 = incorrect syntax of filter string

  • -2 = error writing to registry

  • 0 = success

CTraceLoggerConfig::GetFilterEventLog

always returns 0

CTraceLoggerConfig::EnumFilterFiles

  • -1 = wrong registry key

  • 0 = success

CTraceLoggerConfig::DeleteFilterFile

  • -1 = failure to delete filter file due to missing registry key or failure to delete registry entries

CTraceLoggerConfig::RestartFilterFiles

always returns 0

CTraceLoggerConfig::GetFilterFile

  • -1 = failure to return information about logging filter due to missing registry entries

  • 0 = success

CTraceLoggerConfig::SetFilterFile

  • -1 = failure to store information in registry

  • 0 = success

TraceTerminal object/interface

CTraceTerminal::SetFilter

  • -1 = failure to set filter for incoming messages due to wrong filter string syntax

  • 0 = success

TraceContributor object/interface

CTraceContributor::Message

always returns 0