BTDF Deploment Error

Hey All ,

I tried deploying and I got the following error , kindly help me out.

Starting build...

C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\Deployment.btdfproj" /nologo /t:Deploy /p:Configuration=Debug

Build started 8/25/2015 11:31:20 AM.

Project "C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\Deployment.btdfproj" on node 1 (Deploy target(s)).

SetModeDeploy:

  DEPLOYING APPLICATION TO BIZTALK...

SetWinVer:

  Running on Windows V62

  Detected IIS 7

  Detected 64-bit OS

GetSoftwarePaths:

  Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'.

  Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2013\'.

  Using Deployment Framework Install Path 'C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\'.

  Using Deployment Framework Tools Path 'C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools'.

  Using BizTalk ESB Toolkit Install Path 'C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit\'.

ExportSettings:

  "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\EnvironmentSettingsExporter.exe" "C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\EnvironmentSettings\SettingsFileGenerator.xml" "C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\EnvironmentSettings"

  Environment Settings Spreadsheet to XML Exporter 1.6.1

  [http://EnvSettingsManager.codeplex.com]

  Copyright (C) 2007-11 Thomas F. Abraham.  All Rights Reserved.

 

  InitSettingsFilePath:

  Invalid settings file path (OK on server undeploy).

InitializeAppName:

  BizTalk Application Name is XYZ.Integration.ESB

PreprocessFiles:

  Clearing file attributes for 'C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\BRE\ESBItinerarySelect.xml'.

  Clearing file attributes for 'C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\BRE\GetTransformandRoute.xml'.

  Clearing file attributes for 'C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\BRE\OWUpdates.xml'.

  "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\xmlpreprocess.exe" /v /c /noDirectives /i:"..\BRE\ESBItinerarySelect_Template.xml" /o:"C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\BRE\ESBItinerarySelect.xml" /d:CurDir="C:\Users\12345\Desktop\12345\XYZ.Integration.ESB" /s:""

  XmlPreprocess v2.0.18.0

  Copyright (c) 2004-2013 Loren M Halvorson

  XML File Preprocessor

 

  /s:: Argument expects a parameter

 

  Usage: XmlPreprocess.exe [@argfile] [/input|i:<value>] [/output|o:<value>]

         [/settings|s:<value>] [/define|d:<value>] [/clean|c] [/quiet|q] [/validate|v]

         [/validateSettingsExist|vs] [/validateXmlWellFormed|vx] [/fixFalse|f]

         [/environment|e:<value>] [/spreadsheet|x:<value>] [/database|db:<value>]

         [/custom|cx:<value>] [/list|l] [/property|p:<value>] [/delimiters|t:<value>]

         [/environmentRow|er:<value>] [/firstValueRow|vr:<value>]

         [/settingNameCol|nc:<value>] [/defaultValueCol|dc:<value>]

         [/environmentFile|ef:<value>] [/noDirectives|n] [/tokenStart|ts:<value>]

         [/tokenEnd|te:<value>] [/countReportFile|cr:<value>] [/noLogo] [/help|?|h]

         [/version|v]

 

 

  @argfile                  Read arguments from a file.

  /input:<value>            (/i) Location of input file. You can specify multiple

                            /i parameters (ex: /i:f1 /i:f2), or pass multiple

                            files with semicolon delimiter (/i:f1;f2).

  /output:<value>           (/o) Location of output file. If omitted, input file

                            will be overwritten. You can specify multiple /o

                            parameters(ex: /o:f1 /o:f2), or pass multiple files

                            with semicolon delimiter (/o:f1;f2). If multiple

                            files are passed, they must correspond to the /i

                            parameters.

  /settings:<value>         (/s) Location of XML settings file with the format:

                            <settings><property name="a">1</property></settings>.

                            You can specify multiple /s parameters (ex: /s:f1

                            /s:f2), or pass multiple files with semicolon

                            delimiter (/s:f1;f2).

  /define:<value>           (/d) Properties to define, these will override

                            properties read from the file with the same name.

                            (example: /d:a=1 /d:b=2 /d:c=3)

  /clean                    (/c) Clean output file of all preprocessor markup

                            comments. Keeping these comments in allows the file

                            to be preprocessed multiple times.

  /quiet                    (/q) Quiet mode, do not prompt for missing settings

                            files or environments, just exit with an error if

                            anything is missing.

  /validate                 (/v) Validate all, turns on /validateSettingsExist,

                            and /validateXmlWellFormed

  /validateSettingsExist    (/vs) Validate settings exist, return an error if any

                            substitution settings are undefined.

  /validateXmlWellFormed    (/vx) Validate resulting XML is well-formed, return

                            an error if the result document is not well-formed.

  /fixFalse                 (/f) Do not use the value of "False" to undefine

                            settings. (instead use "#undef")

  /environment:<value>      (/e) Name of environment column to use if settings

                            files are spreadsheet format. If not passed, and

                            /quiet was not passed, the user will be prompted for

                            which environment to use.

  /spreadsheet:<value>      (/x) Location of spreadsheet file, must also specify

                            environment. Valid formats are XML Spreadsheet 2003

                            (*.xml), Comma Separated Values (*.csv) or Excel 2003

                            or older (*.xls). You can specify multiple /x

                            parameters (ex: /x:f1 /x:f2), or pass multiple files

                            with semicolon delimiter (/x:f1;f2).

  /database:<value>         (/db) Connection string to database, must also

                            specify environment. You can specify multiple /db

                            parameters (ex: /db:f1 /db:f2).

  /custom:<value>           (/cx) Command line for custom data source, must also

                            specify environment. You can specify multiple /cx

                            parameters (ex: /cx:f1 /cx:f2).

  /list                     (/l) List environment names from a spreadsheet file

                            to the console. Must be combined with a single /x

                            parameter.

  /property:<value>         (/p) Name of property to output to the console.

  /delimiters:<value>       (/t) Delimiter characters to use to split a compound

                            property value into multiple lines, used in

                            conjunction with /p.

  /environmentRow:<value>   (/er) Row number (1 based) of environment name in

                            input spreadsheet. (Default is "2")

  /firstValueRow:<value>    (/vr) Row number (1 based) of first value in input

                            spreadsheet. (Default is "7")

  /settingNameCol:<value>   (/nc) Column index (1 based) of setting names in

                            input spreadsheet. (Default is "1")

  /defaultValueCol:<value>  (/dc) Column index of default values in input

                            spreadsheet. (Default is "2")

  /environmentFile:<value>  (/ef) File in which to save the name of the chosen

                            environment. Passing a value indicates you wish to

                            only prompt for environment and immediately exit,

                            Must be combined with /x

  /noDirectives             (/n) No preprocessor directives needed. Just globally

                            replace all macros.

  /tokenStart:<value>       (/ts) The starting token (default is "${").

  /tokenEnd:<value>         (/te) The ending token (default is "}").

  /countReportFile:<value>  (/cr) File in which to write property usage counts,

                            will be written in CSV format.

  /noLogo                   Do not output logo.

  /help                     Show usage.

  /version                  Show version.

 

 

C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1272,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\xmlpreprocess.exe" /v /c /noDirectives /i:"..\BRE\ESBItinerarySelect_Template.xml" /o:"C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\BRE\ESBItinerarySelect.xml" /d:CurDir="C:\Users\12345\Desktop\12345\XYZ.Integration.ESB" /s:""" exited with code 1. [C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\Deployment.btdfproj]

Done Building Project "C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\Deployment.btdfproj" (Deploy target(s)) -- FAILED.

Build FAILED.

"C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\Deployment.btdfproj" (Deploy target) (1) ->

(PreprocessFiles target) ->

  C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1272,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\xmlpreprocess.exe" /v /c /noDirectives /i:"..\BRE\ESBItinerarySelect_Template.xml" /o:"C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\BRE\ESBItinerarySelect.xml" /d:CurDir="C:\Users\12345\Desktop\12345\XYZ.Integration.ESB" /s:""" exited with code 1. [C:\Users\12345\Desktop\12345\XYZ.Integration.ESB\Deployment\Deployment.btdfproj]

    0 Warning(s)

    1 Error(s)

Time Elapsed 00:00:01.25

August 25th, 2015 11:45am

Hi,

Refer to the thread below. It may help you:

https://social.technet.microsoft.com/Forums/en-US/c53fe413-8310-4b78-9f59-72f966bb113a/not-ble-to-deploy-application-through-btdf-framework-in-visual-studio-2013?forum=biztalkgeneral

Probably in the BizTalkDeploymentFrameworks.targets the property "SkipExportSetting" is hardcoded.

Please indicate "Mark as Answer" or "Mark as Helpful" if this post has answered the question

Rahul

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 12:34pm

Please try with the below setting in btdf project file

    <RequireXmlPreprocessDirectives>false</RequireXmlPreprocessDirectives>

August 25th, 2015 5:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics