Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  1. Your D2000 system version and release number can be found e.g. in the KNL-SELF.log file - the line in the header (.eg. #### BASIC V12.02.067 D2000@SERVER (A200703067-01) [s358]), or by means of the user processes (D2000 HI, D2000 CNF, D2000 GrEditor) - the item Info from the menu Help.
  2. Name of the application and the method (procedure) that causes the error, eventually names of objects, etc. because many problems are hard to invoke.
  3. Description of the activity when the error occurred. Is it possible to repeat the error or is it an accidental error?
  4. The file SimpleWrite_ERROR - if exists, it is placed in the Log subdirectory of the installation directory.
    Warning: The file may contain more error records, each of them consists of two parts: D2000 Exception: Exception Information and D2000 Exception: Symbolic Traceback.
  5. Each process of the D2000 system creates a log file – the name is in the following format: extension[_mode][-name_of_the_process][-instance].his.log (possibly file *.his.log.bak, if it exists)*. For instance: KOM-SELF.his.log, HIP.his.log, HIP-PC1.his.log, ARC-SELF-2.his.log, etc.
    A list of extensions is closer described in the chapter Processes. Other parts of the name creation depend on the process's configuration. For interactive processes such as HI, Graph. editor, CNF, and VBApi the implicit SELF identifier is not automatically added to the name. Some processes may create another name than described in a particular process's documentation. A process instance is only used in the case that the process is defined as an instance object. The parameter _mode is specific only for some kinds of processes when it is appropriate to distinguish which mode the process was started from (a common example of this is the event – it can be run as a standalone process or as a child process of HI in a DLL library).
    These files are located in the Log directory, which is a subdirectory of the installation directory of the D2000 system.

    Warning: These files (*.his.log and *his.log.bak) may contain error records, each of them contains of two parts: D2000 Exception : Exception Information and D2000 Exception : Symbolic Traceback.

    * Note: Process D2000 Server generates the file named KNL-SELF.log.
  6. For process D2000 DBManager:
    • type of database (Sybase, Oracle) + version (e.g. Sybase 7.0 Engine, Sybase 9.0 Network Server, Oracle 9.2.0.4, ...),
    • the version of ODBC driver (for dbmanager.exe),
    • the version of ORACLE on the computer with the running process D2000 DBManager - can be detected e.g. from Oracle Universal Installers (for dbmanager_ora.exe and dbmanager.exe),
    • configuration:
      • D2000 DBManager and database on one computer,
      • communication between D2000 DBManager and database through the network.
  7. Communication:
    D2000 systems support a great number of communication standards and protocols. Errors may occur when configuring the communication with I/O devices or during the system operation. In such a case:
    • check out the status of hardware devices used for communication (serial ports, interface converters, cabling, Ethernet connections and connectivity, etc.)
    • check out, if the configuration of an I/O device has not been changed and if a possible change has been performed in D2000 system configuration
    • in the configuration of the communication line, set the parameter Communication tracing to the level Screen & disk. The communication process will save service debug information into the file called line_name.log placed in the the Trace subdirectory \Trace of the application directory.
    • type of communication protocol
    • description of the configuration of communication objects (lines, stations, and I/O tags), unless you send the entire configuration database of the D2000 system - the file (the syscfg.dbdb file in case of Sybase SQL Anywhere database).
  8. Return code of the process.
    It defines a type of error that has occurred. This code can be found in the list of events of the operating system. The following return codes are used:

    0
    The process has been closed correctly.
    1MAIN_THREAD_CRASHThe special status has occurred in the main thread of the client.
    2THREAD_CRASHAn unexpected error has occurred.
    3KERNEL_ERRORThe connection to the process D2000 Server is wrong.
    4WD_ERRORThe flow of WatchDog messages between process and D2000 Server has been aborted.
    5FATAL_ODBC_ERRORThe connection error to the database.
    6HARD_KEY_ERRORThe hardware key error.
    8APP_SYNCHRO_ERRORThe process with this name has been running in DODM.
    10CLIENT_REFUSED_ERRORD2000 Server refused to connect the client.


  9. Process dump
    If the process has been started with parameter /DUMP (or its derivations), after its crash, the dump file is generated in the folder \Log\dumps, which is a subfolder of the installation directory. Format of dump file name is [process name]_[date of crash]_[time of crash].dmp.

...