Home Page › Forums › BizTalk 2004 – BizTalk 2010 › how to get receive location status and monitor it
- This topic has 6 replies, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
November 22, 2007 at 5:02 AM #18486
i want to check every 30 minutes the status of my receive locations.
one of them is a dropbox (File) that i want to check if its path exists.
The other one is a FTP Server that I want to check if it is alive and that i can connect to it (including username and password verification.
thanx.
-
November 22, 2007 at 10:43 PM #18488
Check out this thread regarding whether or not your receive location is enabled
http://www.biztalkgurus.com/forums/p/8203/15372.aspx#15372As for checking the status’ of your File Path use the System.IO.Directory.Exists() method
http://msdn2.microsoft.com/en-us/library/system.io.directory.aspx
For your FTP scenario check out the System.Net.WebRequest class
http://msdn2.microsoft.com/en-us/library/system.net.webrequestmethods.ftp_members.aspx
You could write a windows service or a console app that is executed via a windows scheduled task
-
November 25, 2007 at 11:09 PM #18494
Thank you very. I am wondering if theres a way to bind the location’s properties or catch the communication failure event.
-
November 26, 2007 at 6:09 AM #18495
I think I understand what you are getting at. If not, let me know. BizTalk, like many other Microsoft products, will log many events to the Event Viewer. So in the event of a communication failure event, an instance of that event will be in the Event Viewer. Microsoft has assigned different Event IDs to particular events so that be distinguished from one another. This is essentially how MOM, in conjunction with the BTS MOM Management pack works. If using MOM is an option you may want to look into it. It provides a lot of the functionality that you are looking for “Out of the box”. I have included a link as to what all it covers.
Contents of BizTalk Server 2006 R2 MOM Management Pack:
-
November 28, 2007 at 12:09 AM #18507
Nice Idea but I ain’t using MOM. I just want to build some kind of a health report file that I’ll send to a drop box.
thanx
-
November 28, 2007 at 6:18 AM #18513
Sorry, I didn’t wrap up that post properly. I do realize that you are not using MOM, but if you wanted to build your operations app to look for the same types of events that MOM does(such as the communication failures) then you could look for the same type of events that MOM does in your event viewer.
-
November 28, 2007 at 6:40 AM #18514
I have written a service that does it … I don’t like the idea but I havn’t found somthing better.
thank you all!
-
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.