<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.biztalkgurus.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>BizTalk 2006</title><link>http://www.biztalkgurus.com/forums/10.aspx</link><description>Questions on Microsoft Biztalk Server 2006</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>Re: I get Object reference not set to an instance of an object in a simple application</title><link>http://www.biztalkgurus.com/forums/thread/24370.aspx</link><pubDate>Tue, 26 May 2009 10:57:46 GMT</pubDate><guid isPermaLink="false">c4dd2918-4541-4a95-8338-be99430f076e:24370</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.biztalkgurus.com/forums/thread/24370.aspx</comments><wfw:commentRss>http://www.biztalkgurus.com/forums/commentrss.aspx?SectionID=10&amp;PostID=24370</wfw:commentRss><description>&lt;p&gt;Problem seems to&amp;#39;ve been resolved according to:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.biztalk.general&amp;amp;tid=65c307af-e43e-46da-9ba9-dd5c1c3cd50a"&gt;http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.biztalk.general&amp;amp;tid=65c307af-e43e-46da-9ba9-dd5c1c3cd50a&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>I get Object reference not set to an instance of an object in a simple application</title><link>http://www.biztalkgurus.com/forums/thread/24317.aspx</link><pubDate>Fri, 22 May 2009 11:09:37 GMT</pubDate><guid isPermaLink="false">c4dd2918-4541-4a95-8338-be99430f076e:24317</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://www.biztalkgurus.com/forums/thread/24317.aspx</comments><wfw:commentRss>http://www.biztalkgurus.com/forums/commentrss.aspx?SectionID=10&amp;PostID=24317</wfw:commentRss><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I have a simple BizTalk application with the following configuration.&lt;br /&gt;a.&amp;nbsp;One flatFile&amp;nbsp;csv text file as input and a flatfile schema&amp;nbsp;for this csv flat file.&lt;br /&gt;b.&amp;nbsp;One example of how xml output should look like and&amp;nbsp;generate a&amp;nbsp;schema&amp;nbsp;for this xml output.&lt;br /&gt;c.&amp;nbsp;I have created a Map&amp;nbsp;between the OpenSourceSchema and the OpenDistinationSchema.&lt;br /&gt;&amp;nbsp;&amp;nbsp; OpenSourceSchema is the schema for the csv flat file.&lt;br /&gt;&amp;nbsp;&amp;nbsp; OpenDistinationSchema is the schema for the output xml file.&lt;br /&gt;d.&amp;nbsp;A custom ReceivePipeLine that use flat file disassembler to tranfer to xml because the input was &lt;br /&gt;&amp;nbsp; csv flat file. Set the property Document schema to the flat file schema for the Flat file disassembler in the&amp;nbsp;pipeline editor.&lt;/p&gt;
&lt;p&gt;What I want to establish is the following.&lt;br /&gt;1. Read the csv flat file which consist of several records and have an output xml file containing&lt;br /&gt;all these records from csv flat file.&lt;br /&gt;2.The output xml file should be according to the example xml output but the data should be according to the existing mapping.&lt;br /&gt;&lt;br /&gt;Now to my problem if I remove the map in send port property I get an xml file in the output directory which &lt;br /&gt;consist of all the records from the csv file.This is correct according to the setting that I have done.&lt;br /&gt;But because I need the mapping between the input and the output I use Outbound Maps in the Send Port Property&amp;nbsp;and click on this. In the Outbound Maps I click in the Map field and select&amp;nbsp;the map that&amp;nbsp;I have called&amp;nbsp;simpleMap.&lt;br /&gt;If I now copy&amp;nbsp;my CSV flat file in the In directory it is removed which is OK but I don&amp;#39;t&lt;br /&gt;get anything in the out directory.&lt;br /&gt;&lt;br /&gt;If&amp;nbsp;I look in the Event Viewer/Application I have this error message below.&lt;br /&gt;A message sent to adapter &amp;quot;FILE&amp;quot; on send port &amp;quot;SendPort3&amp;quot; with URI &amp;quot;C:\Tony\BizTalk\Laboration4\Out\%MessageID%.xml&amp;quot; is suspended. &lt;br /&gt;&amp;nbsp;Error details: Object reference not set to an instance of an object. &lt;br /&gt;&amp;nbsp;MessageId:&amp;nbsp; {AC40971A-9DFC-4669-BCA6-DB2489323F44}&lt;br /&gt;&amp;nbsp;InstanceID: {ED08F559-DAF0-4DB1-B846-C34D7DFFAD24}&lt;/p&gt;
&lt;p&gt;Can anybody tell me why&amp;nbsp;I get this error message ?&lt;/p&gt;
&lt;p&gt;//Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>