1
Vote

Error: "Input string was not in a correct format" DeployRules.exe UndeployPolicy

description

We named some of our Business Rules similar to .NET projects, for example: COMPNAME.PROJECTNAME.POLICYNAME.
 
In function ExtractPolicyNameMajorMinor,
this line of code: App.policyMajorVer = System.Int32.Parse(arr[1]); blows up in this case.
 
You do a split based on the period: string[] arr = polNameWithVersion.Split('.');
 
Also, my policy didn't seem seem to have a .xx.yy major/minor version on the end of it.
When you set "string policyNameWithVer = policies[i].ToString();" - there is no major/minor version.
 
No major deal - just passing on this information.
 
Neal Walters
http://BizTalk-Training.com

comments