Quantcast
Channel: biztalkdeployment Forum Rss Feed
Viewing all 1089 articles
Browse latest View live

New Post: Dealing with disabled services

$
0
0
It fails with "The service cannot be started, either because it is disabled or because it has no enabled devices associated with it". The BTDF sees that as a critical error and doesn't continue even though the app is installed and started, perhaps that could be a warning not an error?

I'd rather it ignore services that are in a Stopped state. Either stopped because the OS has them disabled or because we want them stopped. Might be a nice property to add to the deployment <RestartStoppedHostInstances>.

New Post: Dealing with disabled services

$
0
0
                    //Check if ServiceState is  'Stopped' and ignoreStopped flag
                    if ((_mode == ModeType.Restart && _ignoreStopped 
                        && currentServiceState == ServiceStateType.Stopped )
                    {
                        this.Log.LogMessage("Skipping host instance due to ignore stopped flag: " + hostName + " on " + runningServer);
                        continue;
                    }

New Post: Dealing with disabled services

$
0
0
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

New Post: Undeploying dependent vocabularies

$
0
0
Thanks for this extrordinary tool.
I am facing an issue while undeploying Vocabularies.
Scenario is:
Our Solution is consisting of dependent vocabularies and they are included in btdfproj file in least dependent first order.
(For ex: v1, v2, v3)
BizTalk solution deployed successfully.

While doing undeploy BizTalk solution:
BTDF starts up with undploying the vocabularies in least dependent first order.
It is failing as other Vocabularies are referring the least dependent vocabulary.

Env details are:
BTS 2013R2
VS 2013
BTDF 6.0 Beta1
Have I missed any setting?
Please suggest me to overcome this issue.
Thanks.

New Post: Undeploying dependent vocabularies

$
0
0
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

New Post: Undeploying dependent vocabularies

$
0
0
Hopefully fixed in the latest v6.0 code.

New Post: Add WCF Service in IIS

$
0
0
Hi,

I'm new to BTDF. In my project I have configured WCF service in receive location.
how to deploy that using BTDF,

please find the below code I have added in Deployment.btdfproj,

<IncludeVirtualDirectories>True</IncludeVirtualDirectories>

<ItemGroup>
<VDirList Include="*">
  <Vdir>GESServiceVD</Vdir>
  <Physdir>D:\Projectname\GES\GESService\GESServiceVD</Physdir>
  <AppPool>GESAppPool</AppPool>
  <AppPoolNetVersion>v4.0</AppPoolNetVersion>
</VDirList>
</ItemGroup>

<UsingTask TaskName="DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts" AssemblyFile="BizTalkDeploymentFramework.Tasks.dll" />

<Target Name="AfterBuild">
<PublishWcfServiceArtifacts ServiceDescriptionPath="D:\Projectname\GES\GESService\GESServiceVD\App_Data\TempWcfServiceDescription.xml" OutputPath="D:\Projectname\GES\GESService\GESServiceVD" />
</Target>

I have move the entire web service project folder from wwwroot to your BizTalk solution folder next to your schemas, maps, etc. project folders. Then I Add Existing Project to add the web service project into the BizTalk solution.

GESService is the webservice project folder name and GESServiceVD is the VirtualDirectory folder name.

looks like this,
Projectname
 GES
   GESService
       GESServiceVD
          App_Data
             Temp
                 BindingInfo.xml
                 WcfServiceDescription.xml
          BizTalkDemo_Process1_Process_InboundReceivePort.svc
          Web.config
once I deploy, I'm getting the below error,

"D:\Projectname\GES\GES.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
(DeployVirtualDirectory target) ->
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: The "CreateVirtualDirectory" task failed unexpectedly. [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: System.NotSupportedException: The given path's format is not supported. [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at System.IO.Path.GetFullPath(String path) [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at DeploymentFramework.BuildTasks.CreateVirtualDirectory.Execute() [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]
C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1754,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() [D:\Projectname\GES\GES.Deployment\Deployment.btdfproj]

Anyone please help me on this.

New Post: Automated deployments

$
0
0
Has anyone got any suggestions for automating deployments?

Listening to DotNetRocks about Octupus Deploy, and it got me thinking about how neat it'd be to get deployments to the Test/UAT/Pre-Prod and even Prod environments, without me having to move files, etc.

Appreciate there is a TFS build template, but any thoughts on automating the complete process from a TFS check-in to the deployment onto specified servers

New Post: Add WCF Service in IIS

$
0
0
Physdir should be a relative path based at the Deployment Framework project folder (.btdfproj location). Probably ..\GESService\GESServiceVD.

Also, the PublishWcfServiceArtifacts task and AfterBuild target normally go into the .csproj of the web service.

Version 6.0 of the Deployment Framework has a greatly improved IIS deployment model and includes a sample application for IIS deployment. Since you are new to the Deployment Framework, you should strongly consider starting out with v6.0. It's "beta" today but very stable and usable for production work.

Thanks,
Tom

New Post: Guidance on partial/hotfix deployments

$
0
0
The Deployment Framework's core model is application-centric, so it doesn't specifically address hot-patching a running system. I've tried to reduce downtime by doing as much as possible without touching running host instances, saving the restart until the very end of the process. Making sure that DeployPdbsToGac is set to False is part of that effort, with some related code changes starting in v5.5.

The Quick Deploy option from Visual Studio is now also available in server deploys in the Start menu, which is largely a quick re-GAC of everything and host instance(s) restart.

Packaging-wise though, the only model is the entire app packaged as an MSI. There is no built-in facility for packaging patches/subsets of the app.

Thanks,
Tom

New Post: Guidance on partial/hotfix deployments

$
0
0
hi Tom,
This effectively means that the application as such is deleted compulsorily and recreated with the new assemblies. Is this understanding correct?

New Post: Automated deployments

$
0
0
Well, I haven't got far into it yet, but being a Microsoft shop my group is looking into Release Management Server. I'll try to remember to report back with my findings.

New Post: Deploy Bam by script

$
0
0
Hi,

I’m trying to deploy a BizTalk application by powershell script but Im getting some problems. This application has BAM definition and it seems that the observation model file cannot be found.


Here is my command:

Executing MSBuild from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

ArgList: /p:DeployBizTalkMgmtDB=True;Configuration=Server;SkipUndeploy=True /l:FileLogger,Microsoft.Build.Engine;logfil
e="D:\Program Files\Transat\TORadixx.PNRExport\DeployResults\DeployResults.txt" "D:\Program Files\Transat\TORadixx.PNREx
port\Deployment\Deployment.btdfproj"
Exit Code: 1

This is the error:
D:\Program Files\Transat\TORadixx.PNRExport\Deployment\Framework\BizTalkDeploymentFramework.WiXSetup.targets(180,5): error MSB3021: Unable to copy file "..\PNRExport.BAM\ObservationModel\TR_PNRExport_ObservationModel.xml" to "obj\Server\redist\BAM\TR_PNRExport_ObservationModel.xml". Could not find a part of the path '..\PNRExport.BAM\ObservationModel\TR_PNRExport_ObservationModel.xml'.


I found the missed file in D:\Program Files\Transat\TORadixx.PNRExport\BAM instead of in ..\PNRExport.BAM\ObservationModel\TR_PNRExport_ObservationModel.xml

On project
<!--BAM observation model to update--><ItemGroup>
<BamDefinitions Include="TR_PNRExport_ObservationModel.xls">
  <LocationPath>..\PNRExport.BAM\ObservationModel</LocationPath>
</BamDefinitions>
</ItemGroup>


I doing something wrong ?

Thanks

Javier

New Post: Guidance on partial/hotfix deployments

$
0
0
In the standard model, yes. The typical undeploy-uninstall-install-deploy cycle is a full application delete and create.

However, if you are changing something very contained and with no side effects, for example a map or orchestration change that does not change schemas or the orchestration's interfaces, then you can build that change into a new MSI, and without undeploying, uninstall the existing MSI and install the new one. Then run the Quick Deploy (of course on all servers in the group) command to re-GAC and restart host instances. If you are very careful and deliberate, there are such ways to do patches without a full redeploy.

Tom

New Post: Deploy Bam by script

$
0
0
Hi Javier,

I assume you are using Randy Paulo's PowerShell script or something similar. You are missing /t:Deploy.

Thanks,
Tom

New Post: Deploy Bam by script

$
0
0
Tom,

Yes, my script is based on Randy's script. And you was right, It missed the /t:deploy parameter. Now, It woks just great ! Thanks Tom

New Post: OutputPath meaning for TFS build

$
0
0
Hello,

I have read documentation but haven't found what does property OutputPath in BTDFproj do?:
<OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
<OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
Does it refer to the location of dll for example, if its specified it will override the "..\HelloWorld\bin\$(Configuration)" location inside?:
<ItemGroup>
<Schemas Include="HelloWorld.dll">
  <LocationPath>..\HelloWorld\bin\$(Configuration)</LocationPath>
</Schemas>
</ItemGroup>

New Post: OutputPath meaning for TFS build

$
0
0
It controls where the MSI is created.

Tom

New Post: OutputPath meaning for TFS build

$
0
0
Thank you for answer Tom,

Do you think that there is some possibility how to use two different LocationPath values? TFS is placing DLLs into some specific location, on local development machine its different than TFS, thats why I asked.

For example:

<Schemas Include="HelloWorld.dll">
<LocationPath>..\HelloWorld\bin\$(Configuration)</LocationPath>
</Schemas>

LocationPath should have different value for TFS and different for Developer's machine.

New Post: OutputPath meaning for TFS build

$
0
0
That's the reason for the necessary customization to the TFS build default template. It was much easier prior to TFS 2010 when all it took was a simple MSBuild property setting. Now it requires a small modification to the WF build template. See here.

Thanks,
Tom
Viewing all 1089 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>