2001 Error Starting Host Server: The section is marked as being protected

  • 24 February 2022
  • 0 replies
  • 158 views

Userlevel 5
Badge +20
 

2001 Error Starting Host Server: The section is marked as being protected

kbt141994

PRODUCT
K2 blackpearl
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

After running Setup Manager to add K2 Studio on the server, the following error appears when starting the K2 service:

 

"Error 2001 Error Starting Host Server: The section is marked as being protected, but it does not have the correct format. It should contain only the <EncryptedData> child node."

Symptoms

The issue was caused by the following extra setting in K2HostServer.exe.config file (between </EncryptedData> and </connectionStrings>):

    <add name="SourceCode.MessageBus.Ews.ExchangeWebServicesConnection:[SmartAction Account]" connectionString="UserID=[DomainUser];PasswordXXXXX;URL=[Exchange URL];Autodiscover=False" providerName="" />
    <add name="SourceCode.MessageBus.Ews.ExchangeWebServicesConnection:[SmartAction Account]" connectionString="UserID=[DomainUser];PasswordXXXXX;URL=[Exchange URL];Autodiscover=False" providerName="" />
    <add name="SourceCode.MessageBus.Ews.ExchangeWebServicesDestination" connectionString="User ID=DomainUser];PasswordXXXXX;URL=[Exchange URL];Autodiscover=False" providerName="" />
    <add name="SourceCode.Net.Mail.SmtpConnection:[SmartAction Account]" connectionString="TLS=None;Host Name=[Host Name];User ID=[DomainUser];PasswordXXXXX" providerName="" />
    <add name="SourceCode.Net.Mail.SmtpConnection" connectionString="TLS=None;Host Name=[Host Name];Authentication=Anonymous" providerName="" />

 

The particular issue was caused by running different version of the installer, to install K2 Studio. In this case, (4.12060.1731.2) instead of (4.12060.1731.1)

Troubleshooting Steps

To resolve this issue, run the K2 Blackpearl Setup Manager with the correct version (that was used to install K2 originally) from the extracted installer with the Repair option.


0 replies

Be the first to reply!

Reply