community-content

Forum Replies Created

Viewing 15 posts - 5,146 through 5,160 (of 9,648 total)
  • Author
    Posts
  • in reply to: Deploy assembly programmatically #18786

    The reason why i want to perform application tasks programmatically is that i also need to start my application and doing other tasks not available in btstask.exe. This can be done using the ExplorerOM api.

    I have created a setup project to GAC my assemblies, and with a installer class as custom action i perform application tasks. Since i have found no better way to deploy assemblies than using BTSTask as you recommend, i call btstask.exe from my installer class, writing someething like this:

     Process p = new Process();

    p.StartInfo = new ProcessStartInfo(“btstask.exe”, “AddResource -ApplicationName:” + application + ” -Type:System.BizTalk:BizTalkAssembly -Source:\”” + assemblyPath + “\” -Destination:\”” + assemblyPath + “\””);

    p.Start();
    p.WaitForExit();

    It works!

    in reply to: Registering BizTalk Deployment COM+ application #18785

    I ended up killing the installation (via task manager as cancel didn’t work, as usual).  It seems to have partially installed but when I went to uninstall from the add/remove programs, I got a message that the installation failed and I can’t uninstall!  So I went thru setup again and it hung again!  I rebooted and went thru set up and it seemed to complete this time.  Now the biztalk runtime won’t start and I am having issues with ESSO and the ‘secret’ generation.  Had enough.

     So, I have uninstalled the entire Biztakl suit and SQL server and will never touch it again and advise anyone wishing to integrate to use something else!  I am going to stick with Sun ICAN.

     

    in reply to: Updating a message in BizTalk #18777

    You will not have to write the file out to disk and re-consume it.  Check out this link here: http://objectsharp.com/cs/blogs/matt/archive/2004/11/09/1009.aspx  it gives you a few options when dealing with messages inside of your orchestration.

     

    Is your ID element a repeatable node? If not then i would look into setting this element to be a distinguished field.  That way once you have your response document you could then copy(use message assign shape) your request document and then update that field with the value from you SQL Response document.

    in reply to: Create new message in Pipeline component #18775

    Good question,

    I am new to BizTalk but I also need to receive an XML message into the biztalk message box and need to make a copy of the message for use later in the orchestration flow. 

    I was advised to use an expression shape (after the file is received from the pipleline) to copy the file to new message defined in the ‘message’ area of the orchestration view and send it to a file folder where it would be picked up by another biztalk application.

      I have not tried it yet but plan to do so in a couple days.  I will let you know if it works.

    in reply to: Biztalk queues up all incoming messages #18772

    Have you tried sp_who2 in T-SQL to check database locks?

    http://www.devx.com/tips/Tip/14208

     

    in reply to: AS2 primer? #18771

    What about starting a simple community site, or at least a Wiki?  So far, Stephen’s blogs and forum seem to be some of the best information available.   A few years back, Alan Smith compiled good blogs and created “The Blogger’s Guide to BizTalk”. 

    What does ASP.NET have that we need?  (I assume it’s funded by Microsoft?) 

    Also, there’s like a billion .NET programmers (no offense), and only a few thousand BizTalk developers (okay, these are wild estimates). 

    I’m been using PHP-Fusion a lot, but would like to learn more about Joomla, and wouldn’t mind throwing together a Joomla site (I know, it’s not Microsoft, but it’s free).  I got burned on Dot Net Nuke once, so I’m staying clear of it for now.  Stephen – what do you think?  Contact me if you want…

    in reply to: BizTalk solution deploying #18770

    Note: with your MSI you have to do two steps:

    1) Run it as MSI to install artifcacts on Window and in GAC
    2) Import it into the Biztalk Admin Console so populate the Biztalk Mgmt Database

    Here’s a big trick I learned the hard way.  You can attach .NET C# .DLLs as a resource to your application, but when you re-export, it doesn’t grab the latest .DLLs from the disk (i.e. somewhere it is keeping the old copies).  You have to drop the resource, and re-add it to get the latest .DLL.   So if you change a non-Biztalk .DLL resource, remember this step before you migrate again.

    in reply to: consume developed java web service in biztalk #18769

    I thought all web services required WSDL (unless maybe they are RST or is it REST). 

    Recently, when we called even .NET web-services, I used the approach of a Proxy (whcih can be defined on one of the tabs on the SOAP send ports). The proxy a C# program built by the Microsoft utility. The proxy allowed me to use XML schemas with promoted fields, without having to the make a new web reference and lose my promoted fields each time.  So, one idea might be the proxy. 

    A less elegant solution would be to just call your .NET C# routine from an expression shape (but then you lose the message oriented concept, and the retry error handling available on SendPorts, or have to create your own loop to handle it).

    The better alternative might be to write a .NET wrapper web service on your machine, and let it call the Java webservice.  We did this a few years back when he had to call Amazon web services (which I believe were “REST” and required DIME attachments).

     

    in reply to: Advise for a NewBee #18767

    If you are a visual learner – check out my site http://Biztalk-Training.com.  In about a week, all my videos will be available on the Moodle online learning management system.  Today, they are available by CD/ROM and FTP Download.  The new material for 2006 will be the basic equivalent of a 5-day class, and I’m also doing an advanced tutorial on BAM.

     

    in reply to: BizTalk configuration issue #18766

    I’m not sure, but I would focus in on the DEVBIZ\SQLEXPRESS in your message.  SQLEXPRESS is 2005, but does not support DTS, and I doubt is supported by Biztalk at all.

    Neal

    in reply to: Biztalk Server nodes renamed/ Biztalk DB box renamed #18764

    I had to do this when Deskside Support swapped out my laptop.  It was a major pain for a dev laptop.  I can’t say that these are “ideal” steps, but I did follow the link below to get my dev box back and working….definately “Buyer Beware” though

     

    http://blog.wadewegner.com/PermaLink,guid,e3e0bfc9-f0db-4265-9c50-44115ff4f89b.aspx

    in reply to: All send actions take 10 minutes #18763

    This happens once in a while. Biztalk is trying to throttle.

    Causes could be that there is memory leak in orchestrations. Plenty of reasons for this – using too much scripting. There are some functoids too that are a reason for this. They cannot be garbage collected etc. Over a period of time ,hihg volume..etc..throttling happens,

    It happened in our case and we had a patch from MS to auto restart the hosts under such cases and it goes away.

    Until then there is no way except to manually restart your hosts now and then.

    in reply to: Deploy assembly programmatically #18760

    I think in BizTalk 06 that introduced BTSTask command line tool.  That would probably be a better way to go and it supports BizTalk Applications.  You can find more info on that inside the help guide. 

    It’s really straight forward and you can use .bat scripts to call it. 

     

    It appears that BizTalk was holding on to an old map for some reason.  I had to delete the application and redeploy it (again) and magically everything started working.  Very strange.

    in reply to: Biztalk Server nodes renamed/ Biztalk DB box renamed #18757

    Renaming a BizTalk Server is not a good thing as I’m sure you have realized.

    The only thing I know to do is totally un-configure your BizTalk Group and re-configure them. 
    Doing this, you will lose all your Hosts and Applications that they will need to be re-installed / re-imported when you reconfigure.

    I don’t have any better approach than that… although you might be able to hack your way through the SQL tales to find any named references..

Viewing 15 posts - 5,146 through 5,160 (of 9,648 total)