<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Biztalk : Log entry using Microsoft Practice Enterprise Library in .Net assembly / Call .Net assembly using Biztalk Orchestration Expression Shape&#8230;&#8230;</title>
	<atom:link href="http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/feed/" rel="self" type="application/rss+xml" />
	<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/</link>
	<description>This is all about C#, ASP.Net, BizTalk Server 2006 R2, Php, AJaX, Ms Sql, My Sql &#38; JavaScript.</description>
	<lastBuildDate>Thu, 12 Nov 2009 09:50:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rethi</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2244</link>
		<dc:creator>Rethi</dc:creator>
		<pubDate>Wed, 08 Jul 2009 08:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2244</guid>
		<description>vijay,

Configuration which is given in previous post has not come it seems. So please find the same
configSections&gt;
		
	
			
			
		
			
			
		
	
		
			
				
		
			
				
										
					
				
			
			
		</description>
		<content:encoded><![CDATA[<p>vijay,</p>
<p>Configuration which is given in previous post has not come it seems. So please find the same<br />
configSections&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rethi</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2243</link>
		<dc:creator>Rethi</dc:creator>
		<pubDate>Wed, 08 Jul 2009 07:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2243</guid>
		<description>Hi Vijay

I used to read your posts. i felt it as really useful... so i thought of posting this error to you for getting the respose as early as possible.

I m getting the following error while trying to execute logging from biztalk

Description:
Exception Occured in LoggingInvalid TraceListenerData type in configuration &#039;listenerDataType=&quot;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging&quot;&#039;. (D:\Program Files\BizTalk Server\BTSNTSvc.exe.Config line 31)

I m using Rolling flat file listner, flat file and event log. If i use rolling flat file alone we ae getting response. But Flat file and Event log is creating problem. I know it s some problemw ith dll or strong name.

Please find the  configuration in Btsntsvc.exe 

loggingConfiguration name=&quot;Logging Application Block&quot; tracingEnabled=&quot;true&quot; defaultCategory=&quot;General&quot;&gt;		
			
		
			
			
		
	
		
			
				
		
			
				
										
					
				
			
			
		
		
			
			
				
					
				
			
			
				
					
				
			
			
				
					
				
			
		
		
			
				
					
				
			
		
	



please let me know if anything wring with this as early as possible.

Thanks in Advance

Rethi</description>
		<content:encoded><![CDATA[<p>Hi Vijay</p>
<p>I used to read your posts. i felt it as really useful&#8230; so i thought of posting this error to you for getting the respose as early as possible.</p>
<p>I m getting the following error while trying to execute logging from biztalk</p>
<p>Description:<br />
Exception Occured in LoggingInvalid TraceListenerData type in configuration &#8216;listenerDataType=&#8221;Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging&#8221;&#8216;. (D:\Program Files\BizTalk Server\BTSNTSvc.exe.Config line 31)</p>
<p>I m using Rolling flat file listner, flat file and event log. If i use rolling flat file alone we ae getting response. But Flat file and Event log is creating problem. I know it s some problemw ith dll or strong name.</p>
<p>Please find the  configuration in Btsntsvc.exe </p>
<p>loggingConfiguration name=&#8221;Logging Application Block&#8221; tracingEnabled=&#8221;true&#8221; defaultCategory=&#8221;General&#8221;&gt;		</p>
<p>please let me know if anything wring with this as early as possible.</p>
<p>Thanks in Advance</p>
<p>Rethi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Fehlberg</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2182</link>
		<dc:creator>Victor Fehlberg</dc:creator>
		<pubDate>Fri, 24 Apr 2009 06:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2182</guid>
		<description>Vijay,

Thanks for the reply.  I don&#039;t quite understand.  The log file is set in the btsntsvc.exe.cfg file, so how can the log file location be dynamically changed in the .Net assembly?  I didn&#039;t see any FileName attributes in the LogEntry class.  Can you provide a short code sample?</description>
		<content:encoded><![CDATA[<p>Vijay,</p>
<p>Thanks for the reply.  I don&#8217;t quite understand.  The log file is set in the btsntsvc.exe.cfg file, so how can the log file location be dynamically changed in the .Net assembly?  I didn&#8217;t see any FileName attributes in the LogEntry class.  Can you provide a short code sample?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Modi</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2177</link>
		<dc:creator>Vijay Modi</dc:creator>
		<pubDate>Tue, 21 Apr 2009 14:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2177</guid>
		<description>Hi Victor,

Yes, our orchestration can log in different log file. For this we can call a .Net Assembly (.Net Class method). So we will create a .Net class library project and we will create a class to log errors. Suppose we have created a method named LogErrors(String Error) and we will call this method from our orchestration. And based on orchestration request we can write code in our .Net class assembly to log error different places. 

                    LogEntry objLogEntry = new LogEntry();

                    objLogEntry .Message = error.ToString();
                    objLogEntry .MachineName = System.Environment.MachineName;
                    objLogEntry .TimeStamp = System.DateTime.Now;
                    objLogEntry .Categories.Add(&quot;Testing Roll Listener&quot;);
     
                    Logger.Write(objEntry);

Thanks for your comments. Let me know if you will have any query regarding this.</description>
		<content:encoded><![CDATA[<p>Hi Victor,</p>
<p>Yes, our orchestration can log in different log file. For this we can call a .Net Assembly (.Net Class method). So we will create a .Net class library project and we will create a class to log errors. Suppose we have created a method named LogErrors(String Error) and we will call this method from our orchestration. And based on orchestration request we can write code in our .Net class assembly to log error different places. </p>
<p>                    LogEntry objLogEntry = new LogEntry();</p>
<p>                    objLogEntry .Message = error.ToString();<br />
                    objLogEntry .MachineName = System.Environment.MachineName;<br />
                    objLogEntry .TimeStamp = System.DateTime.Now;<br />
                    objLogEntry .Categories.Add(&#8220;Testing Roll Listener&#8221;);</p>
<p>                    Logger.Write(objEntry);</p>
<p>Thanks for your comments. Let me know if you will have any query regarding this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Fehlberg</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2175</link>
		<dc:creator>Victor Fehlberg</dc:creator>
		<pubDate>Mon, 20 Apr 2009 15:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2175</guid>
		<description>Vijay,

Thanks for this post.  I&#039;ve been meaning for some time to look into Enterprise Library logging for BizTalk, and you just saved me some time.  Thanks.

One question: is it possible to have different orchestrations log to different log files?  I haven&#039;t yet tried running the steps in your post, but it would seem all orchestrations would log to the same place since they use the same configuration file, btsntsvc.exe.cfg.  Is there a way to segregate this?</description>
		<content:encoded><![CDATA[<p>Vijay,</p>
<p>Thanks for this post.  I&#8217;ve been meaning for some time to look into Enterprise Library logging for BizTalk, and you just saved me some time.  Thanks.</p>
<p>One question: is it possible to have different orchestrations log to different log files?  I haven&#8217;t yet tried running the steps in your post, but it would seem all orchestrations would log to the same place since they use the same configuration file, btsntsvc.exe.cfg.  Is there a way to segregate this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kiran</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2066</link>
		<dc:creator>kiran</dc:creator>
		<pubDate>Thu, 22 Jan 2009 11:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2066</guid>
		<description>we are facing issue running multiple versions of enterprise library, have you ever ran multiple enterprise versions parallely?</description>
		<content:encoded><![CDATA[<p>we are facing issue running multiple versions of enterprise library, have you ever ran multiple enterprise versions parallely?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Modi</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2024</link>
		<dc:creator>Vijay Modi</dc:creator>
		<pubDate>Sat, 15 Nov 2008 08:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2024</guid>
		<description>You can generate the Strong Name key using 
sn.exe -k testKey.snk 
command and you need to run it in Visial Studio Command prompt.

But for enterprise library you donot need to assign Strong Name key. You can just deply it in Global Assembly Catch and it will resolve your problem. 

Let me know if you will have more queries.

Regards,
Vijay Modi</description>
		<content:encoded><![CDATA[<p>You can generate the Strong Name key using<br />
sn.exe -k testKey.snk<br />
command and you need to run it in Visial Studio Command prompt.</p>
<p>But for enterprise library you donot need to assign Strong Name key. You can just deply it in Global Assembly Catch and it will resolve your problem. </p>
<p>Let me know if you will have more queries.</p>
<p>Regards,<br />
Vijay Modi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yadnesh</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2023</link>
		<dc:creator>Yadnesh</dc:creator>
		<pubDate>Thu, 13 Nov 2008 19:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2023</guid>
		<description>Good Post.

I am new to enterrpise library. 

How can i strong name enterprise library 3.1 assemblies?

Reply back as soon as possible. I am into middle of project critical stage.

Appriciate your help.!! 
Thanks!!</description>
		<content:encoded><![CDATA[<p>Good Post.</p>
<p>I am new to enterrpise library. </p>
<p>How can i strong name enterprise library 3.1 assemblies?</p>
<p>Reply back as soon as possible. I am into middle of project critical stage.</p>
<p>Appriciate your help.!!<br />
Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jc</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-2017</link>
		<dc:creator>jc</dc:creator>
		<pubDate>Wed, 05 Nov 2008 16:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-2017</guid>
		<description>You need to strong name the assembly.

cheers.</description>
		<content:encoded><![CDATA[<p>You need to strong name the assembly.</p>
<p>cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay Modi</title>
		<link>http://vijaymodi.wordpress.com/2008/05/17/biztalk-log-entry-using-microsoft-practice-enterprise-library-in-net-assembly-call-net-assembly-using-biztalk-orchestration-expression-shape/#comment-1913</link>
		<dc:creator>Vijay Modi</dc:creator>
		<pubDate>Thu, 24 Jul 2008 08:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://vijaymodi.wordpress.com/?p=177#comment-1913</guid>
		<description>Ashok,

   can you please check the event viewer and let me know whats the error are you getting when you run your applicatin.

Thanks,
Vijay Modi</description>
		<content:encoded><![CDATA[<p>Ashok,</p>
<p>   can you please check the event viewer and let me know whats the error are you getting when you run your applicatin.</p>
<p>Thanks,<br />
Vijay Modi</p>
]]></content:encoded>
	</item>
</channel>
</rss>
