Unrecognized escape characters in bindings with BizTalk Deployment Framework

367 views Asked by At

I'm using BTDF and the settingfilegenerator to dynamically configure the bindings. My first binding was a SQL binding and it worked fine. However, most of my binding settings are UNC paths and I'm getting errors when trying to apply the settings. I have tried about every combination of quotes and doubling the backslashes to try to handle this but nothing is working. Surprisingly I haven't been able to find anyone else with the same issue. Any ideas?

parsing "\Myserver\Myshare\Folder\SubFolder\inbound\Enroll\%SourceFileName%.834" - Unrecognized escape sequence \i.

Thanks for the comments. It made me look into where it was actually failing instead of the error message. It appears to be an issue with the the install-biztalkapplication.ps1 script. I'm not sure the origin and if there were any changes made to this script. I commented out this block (full block not shown) and this last line is what is causing the error. There seem to be several versions of this file available. I'll do some additional research and provide an update.

get-content -path "$btdfdeploysettingsfile" | foreach-object { 
        $line = $_
               $hashconfig.getenumerator() | foreach-object {
1

There are 1 answers

0
MikeDouglasDev On BEST ANSWER

Thanks for everyone's help to point me in the right direction. In the end the issue was in the install-biztalkapplication.ps1 and not with BTDF directly. I removed the bad lines and the replacement is working now.