How do I update a BizTalk from VisualStudio 2005

Home Page Forums BizTalk 2004 – BizTalk 2010 How do I update a BizTalk from VisualStudio 2005

Viewing 1 reply thread
  • Author
    Posts
    • #22460

      Hello!

      I have a csv flat file as input and a generated flat file schema to this file.
      I have also a sample xml file as output and from this file generated a schema.
      I have also created a map between the input schema and the output schema.
      I have also custom pipeline that is using flat file disassembler
      I use also strong names so a keyfile is created(sn -k keyfile.snk)

      I deploy the project so when I enter the BizTalk server Console Administration I can find
      2 schema one for input and one for output one mapping file and one receive pipeline and this
      is correct according to my configuration.

      Everything is working so when a copy a csv flat file to the In folder a xml file is created in the Out folder with all the records from the csv file so everthing works good.

      Now to my question.
      If I for example have to change the output schema for a field year that is
      of type string with default value of NoYear but need to be changed to int with a default value of 2009 how do I do that.
      My first attempt was to change in the visual studio and build + deploy but this didn’t cause any effect of the output xml file.
      My second attempt was to remove the application in BizTalk and then change in visual studio + build + deploy. This for some reason didn’t give no output xml file and in the event viewer I could read the following error.
      Object reference not set to an instance of an object.
      My third attempt was to remove the Biztalk application + remove the visual studio solution and then
      create everytning from beginning and then everytning worked.

      I just want to have a comment about this and what should be enough when I want to change a output schema. I assume that Biztalk doesn’t require to do what I did in my third attempt.

      //Tony

    • #22461

      When you rebuild and deploy a Biztalk project you must restart the host instances that this application uses.
      For in-process hosts instances (as in your case), use the Biztalk Admin Console, Biztalk Group,Platform Settings, Host Instances.

      The host instance is a running service that loads the BizTalk assemblies, if you redeploy an assembly the host instance will continue to use the original assembly until restarted.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.