View Single Post
  #2  
Old 06-13-2005, 08:55 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,049
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.
Reply With Quote