Skip to main content


 

Symptoms


The workflow instance fails at email event with the following message ‘Invalid URI : The format of the URI could not be determined’. This is a simple K2 workflow with an email event.
 

Diagnoses


The error message was related to Exchange connection strings. We saw from the Connection String Editor (i.e. K2_install_directoryHostServerBinConnectionStringEditor.exe) that the Exchange WebOrigin/Destination showed Invalid URI error message at the EWS field.
 

Resolution

The follow steps were taken to resolve the issue:
i) Copy the file from the K2 blackpearlHost ServerBinK2HostServer.exe.config to C:Temp
ii) Open a command prompt window, go to C:WindowsMicrosoft.NetFrameworkv2.0.50727 and execute the following command:
aspnet_regiis.exe –pdf “connectionStrings” c: emp
iii) Update the Exchange web connection strings with a valid EWS url and add additional SMTP connection strings.
iv) Save the web.config file. Rename it to K2HostServer.exe.config and copy it to the :Program Files (x86)K2 blackpearlHost ServerBin to replace the original configuration file. v) Restart the K2 Server service
vi) Retest the workflow instance.




 
Be the first to reply!

Reply