Geeks With Blogs
Bryan Corazza for ( ; ; ) { BizTalk, Workflow, and .NET }

Well I have been doing this for a while now (Using Enterprise Library Logging and Exception Handling with BizTalk 2004)
and I happened to google it (how did this turn into a verb?) one fine day and found this great blog by Andy Morrison on the topic.  

Remember to strong name your Enterprise Library assemblies before starting this.  Here's an article by Tom Hollander about strong-naming your Enterprise Library assemblies.

I remember when Enterprise Library first came out and I was thinking of using it with BizTalk 2004 I thought that it would be a huge challenge considering BizTalk is not your run of the mill application.  After about 5-10 minutes figuring out what
configuration files to use in BizTalk (<installation folder>\Microsoft BizTalk Server 2004\BTSNTSvc.exe.config)
I was up and running with the Logging Block.  Happy Logging.

        -B

Posted on Thursday, June 23, 2005 8:45 PM BizTalk 2004 | Back to top


Comments on this post: How to use Enterprise Library with BizTalk 2004.

# re: How to use Enterprise Library with BizTalk 2004.
Requesting Gravatar...
I'm trying to use the enterprise library logging block with biztalk. To be able to do this, i need to put some assemblies in the gac. This works. However, i also need the configuration files to be editable through the config tool. so customers can choose different logging settings, and i can't get this to work. Either i can visually edit the config files, and the logging won't work, or the logging works but the config tool can't find my settings in the app config file. Have any of you encountered this?

regards
derk schutte
Left by derk schutte on Jun 30, 2005 11:22 AM

# re: How to use Enterprise Library with BizTalk 2004.
Requesting Gravatar...
I have not experienced this. Can you describe in more detail what the issue is? Is it a file locking issue? The BizTalk config file (BTNTSvc.exe.config) is always being read once a host instance of BizTalk is running. Remember to shutdown the service if you need to access and modify the config file(s).
Left by Bryan Corazza on Jul 16, 2005 10:11 PM

# re: How to use Enterprise Library with BizTalk 2004.
Requesting Gravatar...
i'm not a able to log the exception from custom pipeline component even though i have app domain the btntsvc.exe.config and extract assemblies...... can you help me?
Left by Anand on Aug 05, 2007 8:58 AM

Your comment:
 (will show your gravatar)


Copyright © Bryan Corazza | Powered by: GeeksWithBlogs.net