Symptoms
Errors in Production after deploying our first Workflow
Diagnoses
We must have some configuration errors in our production environment. We deployed our first application from our development environment to our production environment and we are getting two errors. I have attached a documents showing the errors. The first is in the mail event and it says: the format of the initialization string does not conform to the specifications staring at index 112. The second is after I force it to another step in the workflow: Work list item not found.... - perhaps because I forced it to that step but I rather think something isn't right in the configuration.
Resolution
The error "Initialization string does not conform to the specifications staring at index 112" was caused by a "" used as a part of the EWS user account password. We had to decrypt the K2HostServer.exe.config file to see the plain password. After doing that we discovered the "" as part of the Password. This has been noted to Labs.
Verify the connection string using the connection string editor to find any special character in the passwods. There also could be some spaces after the password.