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.
When attempting to launch SmartObject Service Tester, the following error is shown:
- When you edit C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config with a notepad, and on the first line, the following xml declaration is seen:
- 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.
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"?>
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.