ModActiveDirectory – “Host can’t be null” error

Forum Home Forums Runtime Bugs Server Bugs ModActiveDirectory – “Host can’t be null” error

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #17898
    AlexandruD
    Participant

    Hello,

    I am experiencing a persistent issue with ModActiveDirectory (v6.1.1.0) while running Scada Server (v6.2.2.1) on a Windows environment (running as Local System Account).

    The Problem:
    Every time the Server starts, the log shows the following error:
    Module ModActiveDirectory: Error creating database entities: Host can’t be null

    What I have tried so far:

    Database Permissions: Confirmed that the postgres user has full GRANT permissions on the public and project schemas. Other modules (like ModArcPostgreSql) connect to the database successfully.

    Configuration Synchronization: Verified that ScadaInstanceConfig.xml contains the correct database connection strings (localhost / 127.0.0.1).

    Manual Module Configuration: I manually edited ModActiveDirectory.xml in both the Instance folder and the main Installation folder, adding the <DbConnOptions> section as suggested by the source code found on GitHub:<DbConnOptions>
    <Server>127.0.0.1</Server>
    <Database>rapidscada</Database>
    <Username>postgres</Username>
    <Password>Password123!</Password>
    <DBMS>PostgreSQL</DBMS>
    </DbConnOptions>

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.