masterbindings error

Topics: General Questions
Feb 12, 2014 at 4:40 AM
Hi all,
when im deploying my application thru visualstudio i got below errors , Please put your where im wrong?



____C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1209,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk\5.1\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /noDirectives /i:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml" /o:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml" /d:CurDir="C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2" /s:""" exited with code 1. [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]
Done Building Project "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj" (Deploy target(s)) -- FAILED.
Build FAILED.
"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
(PreprocessBindings target) ->
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1209,5): error MSB307__3: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk\5.1\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /noDirectives /i:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml" /o:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml" /d:CurDir="C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2" /s:""" exited with code 1.__ [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]
0 Warning(s)
1 Error(s)
Coordinator
Feb 12, 2014 at 5:08 AM
There is no settings file specified (/s:"""). Is this a brand new BizTalk solution and projects created with BizTalk 2013, and a new Deployment Framework project created with the Add New Project wizard?

Thanks,
Tom
Feb 12, 2014 at 5:25 AM
Thanks for response,
__
Is this a brand new BizTalk solution and projects created with BizTalk 2013, and a new Deployment Framework project created with the Add New Project wizard?__
as per your comments,
it is biztalk2013 sloution project, added the new Deployment Framework project to the project.


There is no settings file specified (/s:""").

_means?
i added setting file also._


This is my btdf file:

<?xml version="1.0" encoding="utf-8"?>
<!-- Deployment Framework for BizTalk Copyright (C) 2004-2012 Thomas F. Abraham and Scott Colestock --> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">x86</Platform>
<SchemaVersion>1.0</SchemaVersion>
<ProjectName>BizTalk Server Project2</ProjectName>
<ProjectVersion>1.0</ProjectVersion>
<IncludeSSO>False</IncludeSSO>
<IncludeMessagingBindings>True</IncludeMessagingBindings>
<UsingMasterBindings>True</UsingMasterBindings>
<RequireXmlPreprocessDirectives>True</RequireXmlPreprocessDirectives>
<ApplyXmlEscape>false</ApplyXmlEscape>
<IncludeSchemas>True</IncludeSchemas>
<IncludeOrchestrations>fasle</IncludeOrchestrations>
</PropertyGroup>
<PropertyGroup>
<!-- Properties related to building an MSI for server deployments -->
<!-- BizTalk App Version Upgrade -->
<!--   For each new product release to be deployed to your BizTalk servers: -->
<!--     1) Increment ProductVersion -->
<!--     2) Generate a new GUID and update ProductId with the new GUID -->
<!--   This allows the new MSI to automatically uninstall (not undeploy!) the old MSI and install the new one. -->
<ProductVersion>1.0.0</ProductVersion>
<ProductId>420b521d-114d-4d02-b82a-5e7d6cbe0528</ProductId>
<!-- BizTalk App Version Upgrade -->
<ProductName>BizTalk Server Project2 for BizTalk</ProductName>
<Manufacturer>Deployment Framework User</Manufacturer>
<PackageDescription>BizTalk Server Project2</PackageDescription>
<PackageComments>BizTalk Server Project2</PackageComments>
<!-- NEVER change the ProductUpgradeCode. -->
<ProductUpgradeCode>97100c98-9858-4f75-9680-59e390dede91</ProductUpgradeCode>
</PropertyGroup>
<!-- Under TFS Team Build, set CustomizableOutDir property to true in TFS 2005/2008/2010 UpgradeTemplate. --> <!-- With a workflow build, copy the default template then modify the MSBuild task for the solution build. Set OutDir to blank and --> <!-- CommandLineArguments to String.Format("/p:SkipInvalidConfigurations=true;TeamBuildOutDir=""{0}"" {1}", BinariesDirectory, MSBuildArguments). --> <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
<OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
<OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
<DeployPDBsToGac>false</DeployPDBsToGac>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
<OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>
<OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
<DeployPDBsToGac>false</DeployPDBsToGac>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Server'">
<DeploymentFrameworkTargetsPath>Framework\</DeploymentFrameworkTargetsPath>
 <!--Get our PDBs into the GAC so we get file/line number information in stack traces.--> 
<DeployPDBsToGac>true</DeployPDBsToGac>
</PropertyGroup>
<!--<ItemGroup> <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup" /> </ItemGroup>--> <!-- !!! TODO !!! --> <!-- Add ItemGroup elements that contain one or more Schemas, Orchestrations, Transforms, etc. elements that describe --> <!-- the specific artifacts in your solution that need to be deployed. Use IntelliSense as a guide. --> <ItemGroup>
<Schemas Include="BizTalk Server Project2.dll">
  <LocationPath>C:\Users\000487\Documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2\bin\$(Configuration)</LocationPath>
</Schemas>
</ItemGroup>
<!--<ItemGroup> <Orchestrations Include="BizTalk Server Project2.dll"> <LocationPath>C:\Users\000487\Documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2\bin\$(Configuration)</LocationPath> </Orchestrations> </ItemGroup>--> <!-- !!! TODO !!! --> <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.targets" />
<!-- The Deployment Framework automatically packages most files into the server install MSI. However, if there are special folders that you need to include in the MSI, you can copy them to the folder $(RedistDir) in the CustomRedist target. To include individual files, add an ItemGroup with AdditionalFiles elements. --> <Target Name="CustomRedist">
</Target>
</Project>
Feb 12, 2014 at 5:34 AM
Ok, , i removed my previous setting added newly, now im getting different errors;

Settings XML file: "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
EXEC : error XMLPP101: Input file was not found: "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml" Input File: C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1206,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk\5.1\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /i:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml" /o:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml" /d:CurDir="C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2" /s:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"" exited with code 1. [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]
Done Building Project "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj" (Deploy target(s)) -- FAILED.

Build FAILED.
__
"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
(PreprocessBindings target) ->
EXEC : error XMLPP101: Input file was not found: "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml" Input File: C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1206,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk\5.1\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /i:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml" /o:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml" /d:CurDir="C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2" /s:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"" exited with code 1. [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]__
0 Warning(s)
2 Error(s)
Coordinator
Feb 12, 2014 at 5:53 AM
It's indicating that it cannot find your PortBindingsMaster.xml, which is generated by the Add New Project wizard.

Another comment: paths in the .btdfproj should be relative paths with the deployment project folder as the starting point. You've got at least one full, explicit path instead of a relative path.

Thanks,
Tom
Feb 12, 2014 at 6:06 AM
Edited Feb 12, 2014 at 6:10 AM
Thanks ,

but here seems to be paths and PortBindings.xml are file :\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml.
env settinf file path:BizTalk Server Project2\BizTalk Server Project2.Deployment\EnvironmentSettings\SettingsFileGenerator

my bdft is fine or something missed , already i copied in previous post.


here these file aslo created:
Exported_DevSettings.xml, Exported_LocalSettings.xml, Exported_ProdSettings.xml, Exported_TestSettings.xml.


please suggest ?
Coordinator
Feb 12, 2014 at 6:18 AM
PortBindings.xml is automatically generated from PortBindingsMaster.xml, which is required.

It would benefit you to go through the tutorial and review some of the sample applications included in the Deployment Framework for BizTalk install folder.

Thanks,
Tom
Feb 12, 2014 at 6:22 AM
Thanks once again,

PortBindings.xml is automatically generated from PortBindingsMaster.xml, which is required.


yes i know already created.
but as per previous comment where is root cross:


It's indicating that it cannot find your PortBindingsMaster.xml, which is generated by the Add New Project wizard.
Coordinator
Feb 12, 2014 at 6:25 AM
EXEC : error XMLPP101: Input file was not found: "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindingsMaster.xml"

The missing PortBindingsMaster.xml is the root cause of the last error that you posted.
Feb 12, 2014 at 6:39 AM
The missing PortBindingsMaster.xml means , in which way i have to go ?

as of now i done all are fine , may be i missed some where? if i missed how PortBindings.xml is automatically generated ?




Thank very much.
Feb 12, 2014 at 11:01 AM
Hi

after done some changes , then below error


__C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1206,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk\5.1\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /i:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\True" /o:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml" /d:CurDir="C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2" /s:""" exited with code 1. [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]
Done Building Project "C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj" (Deploy target(s)) -- FAILED.__

Build FAILED.

"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
(PreprocessBindings target) ->
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1206,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk\5.1\Framework\DeployTools\xmlpreprocess.exe" /f /v /c /i:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\True" /o:"C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\PortBindings.xml" /d:CurDir="C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2" /s:""" exited with code 1. [C:\Users\44\documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2.Deployment\Deployment.btdfproj]

0 Warning(s)
1 Error(s)
Coordinator
Feb 13, 2014 at 4:54 AM
Now you have returned to your initial post: missing settings file (/s:"""). You are deploying using Visual Studio, right? Are you building the solution and all projects using a configuration named either Debug or Release? A deployment project generated by the Add Project Wizard always works once you've configured the path to at least one of your DLL's in the .btdfproj, so I think you have modified something after creating the project.

Thanks,
Tom
Feb 13, 2014 at 10:54 AM
Thanks , this is my btdf.,

<?xml version="1.0" encoding="utf-8"?>
<!-- Deployment Framework for BizTalk Copyright (C) 2004-2012 Thomas F. Abraham and Scott Colestock --> <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">x86</Platform>
<SchemaVersion>1.0</SchemaVersion>
<ProjectName>BizTalk Server Project2</ProjectName>
<ProjectVersion>1.0</ProjectVersion>
<IncludeSSO>False</IncludeSSO>
<IncludeMessagingBindings>True</IncludeMessagingBindings>
<UsingMasterBindings>false</UsingMasterBindings>
<RequireXmlPreprocessDirectives>True</RequireXmlPreprocessDirectives>
<ApplyXmlEscape>false</ApplyXmlEscape>
<IncludeSchemas>True</IncludeSchemas>
<PortBindings>false</PortBindings>
<IncludeOrchestrations>fasle</IncludeOrchestrations>
</PropertyGroup>
<PropertyGroup>
<!-- Properties related to building an MSI for server deployments -->
<!-- BizTalk App Version Upgrade -->
<!--   For each new product release to be deployed to your BizTalk servers: -->
<!--     1) Increment ProductVersion -->
<!--     2) Generate a new GUID and update ProductId with the new GUID -->
<!--   This allows the new MSI to automatically uninstall (not undeploy!) the old MSI and install the new one. -->
<ProductVersion>1.0.0</ProductVersion>
<ProductId>420b521d-114d-4d02-b82a-5e7d6cbe0528</ProductId>
<!-- BizTalk App Version Upgrade -->
<ProductName>BizTalk Server Project2 for BizTalk</ProductName>
<Manufacturer>Deployment Framework User</Manufacturer>
<PackageDescription>BizTalk Server Project2</PackageDescription>
<PackageComments>BizTalk Server Project2</PackageComments>
<!-- NEVER change the ProductUpgradeCode. -->
<ProductUpgradeCode>97100c98-9858-4f75-9680-59e390dede91</ProductUpgradeCode>
</PropertyGroup>
<!-- Under TFS Team Build, set CustomizableOutDir property to true in TFS 2005/2008/2010 UpgradeTemplate. --> <!-- With a workflow build, copy the default template then modify the MSBuild task for the solution build. Set OutDir to blank and --> <!-- CommandLineArguments to String.Format("/p:SkipInvalidConfigurations=true;TeamBuildOutDir=""{0}"" {1}", BinariesDirectory, MSBuildArguments). --> <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
<OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
<OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
<DeployPDBsToGac>false</DeployPDBsToGac>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
<OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>
<OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
<DeployPDBsToGac>false</DeployPDBsToGac>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Server'">
<DeploymentFrameworkTargetsPath>Framework\</DeploymentFrameworkTargetsPath>
 <!--Get our PDBs into the GAC so we get file/line number information in stack traces.--> 
<DeployPDBsToGac>true</DeployPDBsToGac>
</PropertyGroup>
<!--<ItemGroup> <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup" /> </ItemGroup>--> <!-- !!! TODO !!! --> <!-- Add ItemGroup elements that contain one or more Schemas, Orchestrations, Transforms, etc. elements that describe --> <!-- the specific artifacts in your solution that need to be deployed. Use IntelliSense as a guide. --> <ItemGroup>
<Schemas Include="BizTalk Server Project2.dll">
  <LocationPath>C:\Users\000487\Documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2\bin\$(Configuration)</LocationPath>
</Schemas>
</ItemGroup>
<!--<ItemGroup> <Orchestrations Include="BizTalk Server Project2.dll"> <LocationPath>C:\Users\000487\Documents\visual studio 2012\Projects\BizTalk Server Project2\BizTalk Server Project2\bin\$(Configuration)</LocationPath> </Orchestrations> </ItemGroup>--> <!-- !!! TODO !!! --> <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.targets" />
<!-- The Deployment Framework automatically packages most files into the server install MSI. However, if there are special folders that you need to include in the MSI, you can copy them to the folder $(RedistDir) in the CustomRedist target. To include individual files, add an ItemGroup with AdditionalFiles elements. --> <Target Name="CustomRedist">
</Target>
</Project>