none
Error while deploying BizTalk application through Visual Studio RRS feed

  • Question

  • Hello All Experts,

    I am trying to deploy the BizTalk solution through Visual Studio 2015. Target BizTalk server is 2016. I am following the traditional way of deploying the solution through Visual Studio i.e. right click on solution and click deploy. I have configured the Application Name, Configuration Database and server in the deployment tab of project properties. So while deploying I am getting below error. Can someone please tell what I am missing and which application has to be deployed first. Error in Text is pasted below.


      : Deploy server="******" database="BizTalkMgmtDb" assembly="C:\Users\********\AppData\Local\Temp\BT\PID932\BizTalkAssembly\ef9d9750fbf3e916ad71c725dc9cb09e\MDR.Common.Orchestrations.dll"
    36>
    36>warning DEPLOY: Assembly "MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" depends on the following assemblies that must be installed in the Global Assembly Cache for runtime to succeed:
    36>Assembly "MDR.Common.ODS.Schemas.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>Assembly "MDR.Common.ODS.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>Assembly "MDR.Common.TriggerMessage.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>Assembly "Microsoft.Practices.ESB.ExceptionHandling.Schemas.Faults, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    36>Assembly "MDR.Common.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>
    36>error DEPLOY: Assembly "MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" references the following assemblies that must be deployed before deploying this assembly:
    36>Assembly "MDR.Common.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>
    36>error DEPLOY: Deploy operation failed.
    36>""
    36>Assembly "MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" references the following assemblies that must be deployed before deploying this assembly:
    36>Assembly "MDR.Common.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>
    36>error DEPLOY:    at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
    36>   at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    36>
    36>error DEPLOY: Deploy operation failed.
    36>""
    36>Assembly "MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" references the following assemblies that must be deployed before deploying this assembly:
    36>Assembly "MDR.Common.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    36>
    36>
    36>    : PerformingEndChangeRequestsWithRollBack
    36>
    36>error DEPLOY: Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Deploy operation failed.
    36>""
    36>Assembly "MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" references the following assemblies that must be deployed before deploying this assembly:
    36>Assembly "MDR.Common.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" 
    36>
    37>------ Deploy started: Project: MDR.Common.Publication, Configuration: Debug Any CPU ------
    37>    : VSDEPLOY: ApplicationName="MDR.Common", Assembly="C:\Users\*******\Documents\Source\wave1\MDR.Common\MDR.Common.Publication\bin\Debug\MDR.Common.Publication.dll", Install=True, Redeploy=True.
    37>
    37>    : Solution "C:\Users\*******\Documents\Source\wave1\MDR.Common\MDR.Common.sln":
    37>* MDR.Common.Exceptions.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.ODS.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.Sybase.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.Maps, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.Oracle.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.PublicationRollback.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.ODSUtilityPublicationQueueUpdate.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.ConsumptionRollback.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.TriggerMessage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.InterfacePollingRollback.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.ODS.Schemas.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.TriggerMessage.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>* MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a
    37>
    37>    : Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a") to application "MDR.Common"...
    37>
    37>    : Validating resources (count=1)...
    37>
    37>    : Performing change requests...
    37>
    37>    : Calling BeginTypeChangeRequest for all selected resource types...
    37>
    37>    : * Performing change request on type "System.BizTalk:BizTalkAssembly" (count=1)...
    37>
    37>    : Reading binding information for assembly "MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a".
    37>
    37>    : Successfully selected binding information.
    37>
    37>    : Saved binding information to XML file "C:\Users\*******\AppData\Roaming\Microsoft\BizTalk Server\Deployment\BindingFiles\MDR.Common.Publication_1.0.0.0_neutral_2e630df4a44fc42a.BindingInfo.xml".
    37>
    37>    : Assembly "MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" is not used by any other assemblies. Skipping pre-update operations.
    37>
    37>    : Updating assembly "MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"...
    37>
    37>    : Reading binding information for assembly "MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a".
    37>
    37>    : Successfully selected binding information.
    37>
    37>    : Saved binding information to XML file "C:\Users\*******\AppData\Roaming\Microsoft\BizTalk Server\Deployment\BindingFiles\~MDR.Common.Publication_1.0.0.0_neutral_2e630df4a44fc42a.BindingInfo.xml".
    37>
    37>    : Updating binding information.
    37>ConnectionString="Data Source=*******;Initial Catalog=BizTalkMgmtDb;Integrated Security=True;Enlist=True;Application Name=Microsoft.BizTalk.ApplicationDeployment.Engine"
    37>
    37>    : Updating orchestration bindings...
    37>
    37>    : Updating send ports, send port groups, and receive ports...
    37>
    37>    : Updating parties and enlistments...
    37>
    37>    : Updating orchestration bindings...
    37>
    37>    : Successfully updated binding information.
    37>
    37>    : Deploy server="*******" database="BizTalkMgmtDb" assembly="C:\Users\*******\AppData\Local\Temp\BT\PID932\BizTalkAssembly\fb1ad54209a6b60e7e9e954779aadaca\MDR.Common.Publication.dll"
    37>
    37>warning DEPLOY: Assembly "MDR.Common.Publication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a" depends on the following assemblies that must be installed in the Global Assembly Cache for runtime to succeed:
    37>Assembly "MDR.Common.ODS.Schemas, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    37>Assembly "MDR.Common.Orchestrations, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    37>Assembly "MDR.Common.TriggerMessage.V2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2e630df4a44fc42a"
    37>
    37>error DEPLOY: Failed to deploy orchestration "MDR.Common.Orchestrations.ProcessODSPublication".
    37>
    37>error DEPLOY:    at Microsoft.BizTalk.Deployment.Assembly.BtsOrchestration.Save()
    37>   at Microsoft.BizTalk.Deployment.Assembly.BtsOrchestrationCollection.Save()
    37>   at Microsoft.BizTalk.Deployment.Assembly.BtsAssembly.Save(String applicationName)
    37>   at Microsoft.BizTalk.Deployment.BizTalkAssembly.PrivateDeploy(String server, String database, String assemblyPathname, String applicationName)
    37>   at Microsoft.BizTalk.Deployment.BizTalkAssembly.Deploy(Boolean redeploy, String server, String database, String assemblyPathname, String group, String applicationName, ApplicationLog log)
    37>
    37>error DEPLOY: Failed to deploy orchestration "MDR.Common.Orchestrations.ProcessODSPublication".
    37>Port "Port_ESBFault" of orchestration "MDR.Common.Orchestrations.ProcessODSPublication" refers to port type "MDR.Common.Orchestrations.PT_ESBFault" which has not been deployed.
    37>
    37>
    37>    : PerformingEndChangeRequestsWithRollBack
    37>
    37>error DEPLOY: Failed to add resource(s). Change requests failed for some resources. BizTalkAssemblyResourceManager failed to complete end type change request. Failed to deploy orchestration "MDR.Common.Orchestrations.ProcessODSPublication". Port "Port_ESBFault" of orchestration "MDR.Common.Orchestrations.ProcessODSPublication" refers to port type "MDR.Common.Orchestrations.PT_ESBFault" which has not been deployed. 
    37>
    ========== Build: 22 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
    ========== Deploy: 13 succeeded, 2 failed, 0 skipped ==========

    Thanks, Rohit Gaikwad BizTalk Developer


    • Edited by RohitG21 Thursday, October 3, 2019 11:35 AM added the error in text
    Thursday, October 3, 2019 11:21 AM

Answers

  • Based on what i can see, It looks like the compiler is trying to deploy the orchestration project first before the map and schema project.

    Try to deploy the schema and map project first and deploy the orchestration project.

    • Marked as answer by RohitG21 Friday, October 25, 2019 7:52 AM
    Sunday, October 13, 2019 11:19 AM

All replies

  • Attached is the latest screenshot of error msg. I deleted the application from BT admin console and I redployed it. 


    Thanks, Rohit Gaikwad BizTalk Developer

    Thursday, October 3, 2019 1:31 PM
  • Screenshots often don't show on Technet for some reason.  They also aren't searchable, so if others have the same issue they will not be able to find this thread.  So please post as text as well.

    Check your solution configuration as to which projects it should deploy, as it looks like there are some dependencies which aren't getting deployed.

    Thursday, October 3, 2019 5:58 PM
  • Based on what i can see, It looks like the compiler is trying to deploy the orchestration project first before the map and schema project.

    Try to deploy the schema and map project first and deploy the orchestration project.

    • Marked as answer by RohitG21 Friday, October 25, 2019 7:52 AM
    Sunday, October 13, 2019 11:19 AM