It looks like the error is happening in your custom action when calling
step.get_ExpProperty(builder, "ServerName", (short)VarEnum.VT_BOOL)
The ExpProperty method attempts to convert the property value to the type specified in the 3rd parameter, and that will fail for a value that isn't numeric or True/False. I suspect that you don't actually want to change the server name to boolean, so using VarEnum.VT_BSTR instead should work.
|