Skip to main content
Nintex Community Menu Bar
Knowledge Base

K2 update fails when attempting to read connection string from Configuration.config

  • May 8, 2025
  • 0 replies
  • 39 views

Forum|alt.badge.img+7

Topic

K2 update fails when attempting to update existing K2 environment to a newer version. In the InstallerTrace logs, an error was logged when Setup Manager was attempting to read the connection string from C:\Program Files\K2\Setup\Configuration.config:

There is no Unicode byte order mark. Cannot switch to Unicode


Instructions 

  1. Go to C:\Program Files\K2\Setup\
  2. Open Configuration.config with a text editor
  3. Look at the first line:

    <?xml version="1.0" encoding="utf-16"?> 

  4. If the encoding is showing "utf-16", try changing the encoding to "utf-8 or remove that line:

    <?xml version="1.0" encoding="utf-8"?> 

  5. Save the changes
  6. Perform the update again