jixer / biztalk-rules-export

Tool to mass export and import BizTalk rules
http://www.bloggedbychris.com/2015/09/15/biztalk-rules-engine-bre-mass-export-import-tool/
MIT License
1 stars 2 forks source link

Unable to import when vocabulary or policy is already existent #1

Closed kianting closed 8 years ago

kianting commented 8 years ago

Returns the following error:-

Unhandled Exception: Microsoft.RuleEngine.RuleStoreRuleSetDeployedException: Rul eset "[][]", version 1.4 has already been deployed, and canno t be deleted. at Microsoft.RuleEngine.SqlRuleStore.RemoveFromDB(SqlConnection connection, R uleSetInfo ruleSet, SqlTransaction tx) at Microsoft.RuleEngine.SqlRuleStore.Remove(RuleSetInfo ruleSet) at Microsoft.RuleEngine.RuleStore.Remove(RuleSet ruleSet) at BizTalkRulesUtility.Program.CopyPolicies(RuleStore sourceRuleStore, RuleSt ore targetRuleStore) in C:\data\biztalk-rules-export-master\SOURCE\MAIN\BizTalkR ulesUtility\Program.cs:line 70 at BizTalkRulesUtility.Program.ImportPolicies() in C:\data\biztalk-rules-expo rt-master\SOURCE\MAIN\BizTalkRulesUtility\Program.cs:line 43 at BizTalkRulesUtility.Program.Main(String[] args) in C:\data\biztalk-rules-e xport-master\SOURCE\MAIN\BizTalkRulesUtility\Program.cs:line 23

jixer commented 8 years ago

Thanks kianting. I have merged your fork back into this repo, which includes the fix you provided. Thank you for helping implement that feature (bug fix).

When you get a chance, please sync this repo back to your fork.