BizTalk Server General - MSBTS_Deployment Service.... HELP!

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > June 2005 > MSBTS_Deployment Service.... HELP!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author MSBTS_Deployment Service.... HELP!
Filipe Pinto

2005-05-04, 5:54 pm

Hi,

I want to automate the BTSDeploy,

In the past i have used a DOS call from my deployment automation.

Now i would like to start using the MSBTS_DeploymentService.

Have any of you used it before? I'm trying to use it from VBS and i can't
instantiate properly the object and windows is not returning any error
whatsoever!!!!

HELP!

Thanks,

Filipe Pinto
cobol4ever

2005-06-29, 5:51 pm

in c#

// Create a ManagementClass object and spawn a ManagementObject instance
ManagementClass deployservice = new
ManagementClass("root\\MicrosoftBizTalkServer", "MSBTS_DeploymentService",
null);

//Create an array containing all arguments for the method
object[] methodArgs = {Server, Database, Assembly, Install, binding, Log};

// Create the ManagementObject
deployservice.InvokeMethod("Deploy",methodArgs);

myLog.LogException(string.Concat(assembly, type),"Assembly: " + Assembly
+ " was added successfully.",
System.Diagnostics.EventLogEntryType.Information);


deployservice = null;
Hope this help...

"Filipe Pinto" wrote:

> Hi,
>
> I want to automate the BTSDeploy,
>
> In the past i have used a DOS call from my deployment automation.
>
> Now i would like to start using the MSBTS_DeploymentService.
>
> Have any of you used it before? I'm trying to use it from VBS and i can't
> instantiate properly the object and windows is not returning any error
> whatsoever!!!!
>
> HELP!
>
> Thanks,
>
> Filipe Pinto

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com