Unable to open SmartObject Service Tester and an error appears

  • 15 February 2022
  • 0 replies
  • 59 views

Userlevel 5
Badge +20
 

Unable to open SmartObject Service Tester and an error appears: "Configuration system failed to initialize"

kbt151593

PRODUCT
K2 Five 5.0 to 5.1
K2 blackpearl 4.7
BASED ON
K2 Five 5.1
TAGS
.NET Framework
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

When attempting to launch SmartObject Service Tester, the following error is shown:

Image

Symptoms

  1. When you edit C:WindowsMicrosoft.NETFramework64v2.0.50727Configmachine.config with a notepad, and on the first line, the following xml declaration is seen:

    Image

     

  2. With machine.config still opened in notepad, go to File > Save As. You should see the Encoding of the file. The encoding does not match with the encoding defined in the first line of the config file.

    Image

 

Troubleshooting Steps

If the Save As window shows that the file's encoding is "UTF-8", but the xml declaration on the first line shows otherwise, then change it back to "UTF-8", and save the machine.config. The first line of the machine.config should look like this when you are done:
 

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

Image

If the xml declaration shows "UTF-16", and the Save As window shows "Unicode", then the encoding is most probably correct. Leave the machine.config as it is, and log a K2 Support ticket, as the error you are getting may be caused by something else.


0 replies

Be the first to reply!

Reply