<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Eric's BizTalk 2004/2006 Blog</title>
	<link>http://www.stottcreations.com/blog</link>
	<description>My BizTalk Experiences using Flat Files, InfoPath, BAM, BRE, BAS, HL7, HIPAA, WSS.</description>
	<pubDate>Thu, 22 Mar 2007 06:48:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>New Blog</title>
		<link>http://www.stottcreations.com/blog/new-blog/</link>
		<comments>http://www.stottcreations.com/blog/new-blog/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 16:06:57 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/new-blog/</guid>
		<description><![CDATA[I have switched to two new blogs that represent more of what this blog is about:
http://blog.biztalk-info.com - my problems and concurrent resolutions on general BizTalk and other general BizTalk related issues.
http://blog.hl7-info.com - ditto, except for it is just HL7 stuff
See you there&#8230;

]]></description>
			<content:encoded><![CDATA[<p>I have switched to two new blogs that represent more of what this blog is about:</p>
<p><a href="http://blog.biztalk-info.com">http://blog.biztalk-info.com</a> - my problems and concurrent resolutions on general BizTalk and other general BizTalk related issues.</p>
<p><a href="http://blog.hl7-info.com">http://blog.hl7-info.com</a> - ditto, except for it is just HL7 stuff</p>
<p>See you there&#8230;
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/new-blog/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Windows Live Writer</title>
		<link>http://www.stottcreations.com/blog/windows-live-writer/</link>
		<comments>http://www.stottcreations.com/blog/windows-live-writer/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 05:27:53 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/windows-live-writer/</guid>
		<description><![CDATA[I just want to try the Live Writter to see if it makes my blogging easier.
I downloaded it from here.
It seems pretty easy, actually much easier than the admin tool that I normally have to use to make the entries. Not bad, it is even using the CSS that the site has. I am actually [...]]]></description>
			<content:encoded><![CDATA[<p>I just want to try the Live Writter to see if it makes my blogging easier.</p>
<p>I downloaded it from <a href="http://ideas.live.com/programpage.aspx?versionId=4372c8c2-b76f-4d44-aea1-9835b61d8dc1" target="_blank">here</a>.</p>
<p>It seems pretty easy, actually much easier than the admin tool that I normally have to use to make the entries. Not bad, it is even using the CSS that the site has. I am actually kind of impressed.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/windows-live-writer/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Case of the missing CR</title>
		<link>http://www.stottcreations.com/blog/case-of-the-missing-cr/</link>
		<comments>http://www.stottcreations.com/blog/case-of-the-missing-cr/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 13:48:55 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
	<category>HL7</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/case-of-the-missing-cr/</guid>
		<description><![CDATA[There are certain cases where a sending application will not send the ending CR as part of the HL7 message.
The HL7 parser will complain at not finding the ending CR, because it continues to look for it past the EB.
The resolution is simply to leave the CR blank in the adapter configuration and the adapter [...]]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx?&#038;guid=&#038;sloc=en-us&#038;dg=microsoft.public.biztalk.accelerator.hl7&#038;p=1&#038;tid=8af3a803-4f76-4668-ac9c-fc4123bfe41f&#038;mid=8af3a803-4f76-4668-ac9c-fc4123bfe41f">certain cases</a> where a sending application will not send the ending CR as part of the HL7 message.</p>
<p>The HL7 parser will complain at not finding the ending CR, because it continues to look for it past the EB.</p>
<p>The resolution is simply to leave the CR blank in the adapter configuration and the adapter will work as expected.</p>
<p><em>Gotta tip your hat to the guys at MS for that bit of functionality!</em>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/case-of-the-missing-cr/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Custom Names for the HIPAA_EDI Accelerator</title>
		<link>http://www.stottcreations.com/blog/custom-names-for-the-hipaa_edi-accelerator/</link>
		<comments>http://www.stottcreations.com/blog/custom-names-for-the-hipaa_edi-accelerator/#comments</comments>
		<pubDate>Tue, 19 Sep 2006 02:54:59 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
	<category>HIPAA</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/custom-names-for-the-hipaa_edi-accelerator/</guid>
		<description><![CDATA[One of the tricks to getting custom file names out of the HIPAA Accelerator is to add an extra component in the orchestration.
These are the steps I took to get a custom filename generated from the HIPAA_EDI adapter.

Created a property schema with a element defined as a string and have it be a context property
Create [...]]]></description>
			<content:encoded><![CDATA[<p>One of the tricks to getting custom file names out of the HIPAA Accelerator is to add an extra component in the orchestration.</p>
<p>These are the steps I took to get a custom filename generated from the HIPAA_EDI adapter.</p>
<ol>
<li>Created a property schema with a element defined as a string and have it be a context property</li>
<li>Create an schema with the delimiters that will be defined in the HIPAA_EDI send port with an element that repeats 30 times</li>
<li>Create both a flat file send pipeline and receive pipeline using the schema defined in step 2</li>
<li>Create a single element and associate this element with the element defined in step 1</li>
<li>In the orchestration, assign a variable a time</li>
<li>From that assigned time do three things in a message assignment</li>
<ol>
<li>Assign the BHT_05 from the variable </li>
<li>Assign a string variable the date as a string in HHMMSSDD format</li>
<li>Assign the message with the context property created in the property schema</li>
</ol>
<li>Create a Correllation Type set to the context property</li>
<li>Create a Correllation Set defined from Step 7</li>
<li>Initialize the Correlation Set in the send shape</li>
<li>Have a recieve shape using the message created in step 2 and have a following correlation set</li>
<li>Assign the recieved message to a new message and assign the FILE.ReceivedFileName to whatever you want the filename to be</li>
<li>Send the newly created message out</li>
<li>Deploy</li>
<li>Create a temporary folder that you assign the HIPAA_EDI adapter to write to</li>
<li>Assign a recieve location to the the folder created in step 14</li>
<li>Use the recieve pipeline created in step 3</li>
<li>Create a send port using the pipeline created in step 3</li>
<li>In the file name use %SourceFileName%</li>
<li>Set the directory to the real directory where the HIPAA file is to be placed</li>
<li>Bind the logical ports to their respective physical ports</li>
</ol>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/custom-names-for-the-hipaa_edi-accelerator/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Official BizTalk Troubleshooting Guide</title>
		<link>http://www.stottcreations.com/blog/official-biztalk-troubleshooting-guide/</link>
		<comments>http://www.stottcreations.com/blog/official-biztalk-troubleshooting-guide/#comments</comments>
		<pubDate>Fri, 15 Sep 2006 17:08:59 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/official-biztalk-troubleshooting-guide/</guid>
		<description><![CDATA[The experts in Redmond have released a troubleshooting guide that might keep you from doing Google searches so much and accidently finding my site!

]]></description>
			<content:encoded><![CDATA[<p>The experts in Redmond have released <a href="http://download.microsoft.com/download/3/7/6/376a6f6c-8c97-4ab5-9d5a-416c76793fbb/bts06developerstroubleshootingguide.doc">a troubleshooting guide</a> that might keep you from doing Google searches so much and accidently finding my site!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/official-biztalk-troubleshooting-guide/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>InfoPath Forms Server task 8 of 10 configuration error</title>
		<link>http://www.stottcreations.com/blog/infopath-forms-server-task-8-of-10-configuration-error/</link>
		<comments>http://www.stottcreations.com/blog/infopath-forms-server-task-8-of-10-configuration-error/#comments</comments>
		<pubDate>Thu, 14 Sep 2006 13:54:53 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>InfoPath</category>
	<category>SharePoint</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/infopath-forms-server-task-8-of-10-configuration-error/</guid>
		<description><![CDATA[In setting up the InfoPath forms Server, I successfully installed the SharePoint services application. I then installed and started to configure the InfoPath forms server. I got to the 8th step and it eventually time out stating that it could not connect to the Microsoft##SSEE database, that I needed to make sure that remote connections [...]]]></description>
			<content:encoded><![CDATA[<p>In setting up the InfoPath forms Server, I successfully installed the SharePoint services application. I then installed and started to configure the InfoPath forms server. I got to the 8th step and it eventually time out stating that it could not connect to the Microsoft##SSEE database, that I needed to make sure that remote connections were enabled.</p>
<p>I went to <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;914277">this KB article</a> and configured the SSEE database for remote connections. I was still getting the error on configuration.</p>
<p>What I ended up realizing was that the SSEE database is an orphaned database that should not be installed. I then needed to uninstall the database and re-configure the forms server. Here are the steps to uninstall the Microsoft##SSEE database:</p>
<ol>
<li>In the registry browse to this location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall</li>
<li>Click on each of the sub folders {GUID} on the left hand column and look at the display name on the right until you see &#8220;Microsoft SQL 2005 embedded Edition&#8230;&#8221;</li>
<li>Copy the value that is stored as the UninstallString (for example:  MsiExec.exe /X{0F51A262-1ADF-4914-B448-78AC58C4178A})</li>
<li>Open up a command prompt and paste the value and add to the end of the string &#8221; CALLERID=OCSETUP.EXE&#8221;</li>
<li>Example  c:\Temp\MsiExec.exe /X{0F51A262-1ADF-4914-B448-78AC58C4178A} CALLERID=OCSETUP.EXE</li>
</ol>
<p> 
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/infopath-forms-server-task-8-of-10-configuration-error/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>System.OutofMemoryException when processing large files</title>
		<link>http://www.stottcreations.com/blog/systemoutofmemoryexception-when-processing-large-files/</link>
		<comments>http://www.stottcreations.com/blog/systemoutofmemoryexception-when-processing-large-files/#comments</comments>
		<pubDate>Wed, 13 Sep 2006 21:50:28 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
	<category>HL7</category>
	<category>HIPAA</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/systemoutofmemoryexception-when-processing-large-files/</guid>
		<description><![CDATA[A client I have been working at has a very large message (150 mb message) that needs to be passed through BizTalk from the results of a stored procedure.
I was continually getting System.OutofMemoryException in the event log.
I read through this article and also this one both sites options did not appeal to me.
Another option is [...]]]></description>
			<content:encoded><![CDATA[<p>A client I have been working at has a very large message (150 mb message) that needs to be passed through BizTalk from the results of a stored procedure.</p>
<p>I was continually getting <strong>System.OutofMemoryException</strong> in the event log.</p>
<p>I read through <a href="http://support.microsoft.com/kb/913959">this</a> article and also <a href="http://blogs.msdn.com/biztalk_core_engine/archive/2005/02/28/381700.aspx">this</a> one both sites options did not appeal to me.</p>
<p>Another option is to use custom XSLT instead of the code inside of the map (which seems to stream the entire message into memory).</p>
<p>The solution is actually very easy:</p>
<ol>
<li>Create your map</li>
<li>Inside of the mapper, create all of your links, functiods and everything</li>
<li>Validate the map</li>
<li>Take the XSLT that is generated and add it to your project</li>
<li>In the mapper grid, point to the xslt (by following <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebiz_prog_map_xrkh.asp">these</a> instructions)</li>
<li>Deploy it</li>
</ol>
<p>It does not process the file very quickly, but it does not error, and I get the output.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/systemoutofmemoryexception-when-processing-large-files/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Steroids for weak named assemblies (strong named assemblies)</title>
		<link>http://www.stottcreations.com/blog/steroids-for-weak-named-assemblies-strong-named-assemblies/</link>
		<comments>http://www.stottcreations.com/blog/steroids-for-weak-named-assemblies-strong-named-assemblies/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 04:53:13 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/steroids-for-weak-named-assemblies-strong-named-assemblies/</guid>
		<description><![CDATA[A co worker asked me how she could take dlls that were developed by a third party and use them in BizTalk; that requires that they be compiled as strong named assemblies (which they weren&#8217;t).
This can be done by using the Type Library Importer. An example is here on how to use Tlbimp.exe.

]]></description>
			<content:encoded><![CDATA[<p>A co worker asked me how she could take dlls that were developed by a third party and use them in BizTalk; that requires that they be compiled as strong named assemblies (which they weren&#8217;t).</p>
<p>This can be done by using the <a href="http://msdn2.microsoft.com/en-us/library/tt0cf3sx.aspx">Type Library Importer</a>. An example is <a href="http://support.microsoft.com/?kbid=313666">here</a> on how to use Tlbimp.exe.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/steroids-for-weak-named-assemblies-strong-named-assemblies/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>MS-HUG - what a wonderful event!</title>
		<link>http://www.stottcreations.com/blog/ms-hug-what-a-wonderful-event/</link>
		<comments>http://www.stottcreations.com/blog/ms-hug-what-a-wonderful-event/#comments</comments>
		<pubDate>Wed, 30 Aug 2006 04:46:36 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
	<category>HL7</category>
	<category>HIPAA</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/ms-hug-what-a-wonderful-event/</guid>
		<description><![CDATA[I just attended the first (of I am sure) many HiMSS conferences. I am kicking myself for not going to them sooner. I got to meet a few friends that I have been in contact with, and other fellow bloggers, well I wouldn&#8217;t call him just a blogger, but that is another discussion. I also met [...]]]></description>
			<content:encoded><![CDATA[<p>I just attended the first (of I am sure) many HiMSS conferences. I am kicking myself for not going to them sooner. I got to meet a few friends that I have been in contact with, and other fellow <a href="http://blogs.msdn.com/rruggeri/">bloggers</a>, well I wouldn&#8217;t call him just a blogger, but that is another discussion. I also met with some <a href="http://blogs.msdn.com/ebattalio/">guru&#8217;s</a> that offered a lot of insight!</p>
<p>There were great sessions for a whole spectrum of Health Care Professionals, from developers to IT Pros, to management for both the partners and more importantly customers. There were a lot of great things that partners had presented and even more cool things that Microsoft has in store. I did enjoy the other perks that were offered to the attendees, especially the sessionitis I seemed to come down with!</p>
<p>I was very interested in the Connected Health Framework (CHF) and will be blogging about my experiences with my take on best ways to implement the CHF to add additional value to the development life cycle. I don&#8217;t think that the CHF is readily available (at least I could not find it), however, as soon as it is published, I will be adding a few entries to my blog.</p>
<p>There are great things going on, and I am glad that I got to be an attendee there. Hopefully I can meet up with you again next time.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/ms-hug-what-a-wonderful-event/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Inner exception: Multi-part message has body part &#8216;BodySegments&#8217;, expected body part &#8216;MSHSegment&#8217;.</title>
		<link>http://www.stottcreations.com/blog/inner-exception-multi-part-message-has-body-part-bodysegments-expected-body-part-mshsegment/</link>
		<comments>http://www.stottcreations.com/blog/inner-exception-multi-part-message-has-body-part-bodysegments-expected-body-part-mshsegment/#comments</comments>
		<pubDate>Sat, 26 Aug 2006 21:23:04 +0000</pubDate>
		<dc:creator>eric</dc:creator>
		
	<category>BizTalk</category>
	<category>HL7</category>
		<guid isPermaLink="false">http://www.stottcreations.com/blog/inner-exception-multi-part-message-has-body-part-bodysegments-expected-body-part-mshsegment/</guid>
		<description><![CDATA[I am not sure how many times I have come across this error. I finally had a few moments to actually troubleshoot this error.
The reason for this message is that the orchestration is expecting as the first message part being the MSH segment, whereas it actually finds the BodySegments component. The orchestration then attempts to [...]]]></description>
			<content:encoded><![CDATA[<p>I am not sure how many times I have come across this error. I finally had a few moments to actually troubleshoot this error.</p>
<p>The reason for this message is that the orchestration is expecting as the first message part being the MSH segment, whereas it actually finds the BodySegments component. The orchestration then attempts to pick up the message, which is where it errors.</p>
<p>The key to getting this issue resolved is the order that you create the multi-part message.</p>
<p>I know I have made this mistake multiple times, I create the multi-part message type, and renamed the MessagePart_1 to BodySegments, since the IsBodyPart property was already set to true, I then would create the MSHSegment and ZSegments.</p>
<p>This would cause me headaches because the orchestration picking up the message would create the error.</p>
<p>Looking at the code, you <em>have</em> to create the message parts in the correct order. In the Type window, you see the parts in alphabetical order.<br />
<img id="image125" height="212" alt="Multi Part Messages" src="http://www.stottcreations.com/blog/wp-content/uploads/2006/08/typeview.JPG" width="274" /></p>
<p>However, behind the scenes, it remembers the order that it was created. I have the following excerpt of the odx that shows what is going on behind the scenes: The ADT_A02Type is correct, whereas the ADT_A03Type is incorrect.<br />
<img id="image126" height="852" alt="orchestrationcode.JPG" src="http://www.stottcreations.com/blog/wp-content/uploads/2006/08/orchestrationcode.JPG" width="665" /></p>
<p>So make sure that you create the parts in the correct order and you will not have a problem. If they are created in the wrong order, the only solution I have used is to delete the multi-part message and recreate it again.</p>
<p>By the way, this is only an issue on message that are inbound, outbound messages, the pipeline component is intelligent enought to put things together (even if they are defined in the wrong order), it is the orchestration that consumes the message that is finicky.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.stottcreations.com/blog/inner-exception-multi-part-message-has-body-part-bodysegments-expected-body-part-mshsegment/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
