K2 Connection String Editor error

  • 21 January 2015
  • 0 replies
  • 500 views



 

Symptoms


K2 Connection String Editor error
 

Diagnoses


We were trying to configure SMTP connection using ConnectionStringEditor and the following error is popping up every time:

"Formar of the initializing string does not confirm to specification staring at index 0"

I am running this exe from the path C/Program files (x86)/K2 blackpear/HostServer/Bin/K2connectionStringEditor.exe

Please let me know if you need any more information to help on this.

Please note that the version of the K2 blackpeal software is 4.12060.1600.0 (4.6.8)
 

Resolution

The issue seems to be with the loading of the "ConnectionStringEditor.exe", as such please decrypt the connection strings manually as per the following.

Please stop the K2 Service and perform the following on the K2 Server:

1. Backup the "K2HostServer.exe.config" file
2. Create a directory on the C: drive such that "C:K2Config"
3. Copy a copy of the "K2HostServer.exe.config" to "C:K2Config"
4. Rename it to "web.config"
5. Run CMD Prompt in Administrator Mode:
6. Run 'cd C:WindowsMicrosoft.NETFramework64v4.0.30319' to change directory to this framework version
7. Run 'aspnet_regiis.exe" -pdf "connectionStrings" "C:K2Config"'
8. This command will decrypt the encrypted connnectionStrings section
9. Is there anything out of place in the decrypted connection strings?

*If there is something out of place, you can revise the connection strings, rename it back to K2HostServer.exe.config, recopy it back to the "C:Program Files(x86)K2 blackpearlHost ServerBin" directory the connection strings will be re-encrypted when you start the K2 blackpearl Service.




 

0 replies

Be the first to reply!

Reply