BizTalk Server General - Receive function failing when polling for files that were FTP'd

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > March 2004 > Receive function failing when polling for files that were FTP'd





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Receive function failing when polling for files that were FTP'd
mltothppg

2004-02-20, 2:37 am

We are receiving many files that are being sent directly to
directories on the BizTalk server via FTP. There seems to be a
disconnect sporadically when the receive function attempts to pick up
the file. We are seeing the receive function fail every so often.
Here is the error from the event log:

Details:
------------------------------
[0x1916] There was a serious failure in the receive function
'FinishMaster_File_Receive_Invoice_From_
Tandem_2'. This receive
service will be shut down, please check the event log for additional
error messages.

[0x80004005] Unspecified error

[0x172d] The receive function
'FinishMaster_File_Receive_Invoice_From_
Tandem_2' has experienced
problems, it will be shut down and disabled. Once these problems have
been corrected, re-enable this receive function in BizTalk Server
Administration.

[0x1704] There was a failure processing the
'FinishMaster_File_Receive_Invoice_From_
Tandem_2' receive function.
Check your receive function configuration in BizTalk Server
Administration.

We either see "Unspecified error" or "The server threw an exception".
The only thing that I can think of is that the Receive Function is
trying to pick up the file before the FTP process has been completed.
Would this action cause this behavior in the Receive Function. We do
not seem to lose any data. When the it gets re-enabled the file
processes without issue.

Any ideas would be appreciated on how to fix this.

Thanks,
Michael
Nick Malik

2004-02-20, 2:37 am

a) I assume that you are monitoring a file share on Windows 2000 or Windows
2003, correct?
b) I assume that you are using the FTP capabilities of IIS to receive the
files from your Tandem computer, correct?
c) I assume that Windows 2000 is running all current service packs, correct?

If all of these statements are correct, then this problem is truly a
mystery. To work around:
a) create a component that will query and re-enable the receive functions
once every half hour, or
b) instead of using FTP to the directory Biztalk is reading, use FTP to
another directory, and write a little component that will monitor that other
directory for files. Have that other component try to open the file being
written, and when that works, have it move the file to Biztalk's directory.

HTH,
--- Nick

"mltothppg" <mtoth@ppg.com> wrote in message
news:686c5956.0402200726.bbb9d@posting.google.com...
> We are receiving many files that are being sent directly to
> directories on the BizTalk server via FTP. There seems to be a
> disconnect sporadically when the receive function attempts to pick up
> the file. We are seeing the receive function fail every so often.
> Here is the error from the event log:
>
> Details:
> ------------------------------
> [0x1916] There was a serious failure in the receive function
> 'FinishMaster_File_Receive_Invoice_From_
Tandem_2'. This receive
> service will be shut down, please check the event log for additional
> error messages.
>
> [0x80004005] Unspecified error
>
> [0x172d] The receive function
> 'FinishMaster_File_Receive_Invoice_From_
Tandem_2' has experienced
> problems, it will be shut down and disabled. Once these problems have
> been corrected, re-enable this receive function in BizTalk Server
> Administration.
>
> [0x1704] There was a failure processing the
> 'FinishMaster_File_Receive_Invoice_From_
Tandem_2' receive function.
> Check your receive function configuration in BizTalk Server
> Administration.
>
> We either see "Unspecified error" or "The server threw an exception".
> The only thing that I can think of is that the Receive Function is
> trying to pick up the file before the FTP process has been completed.
> Would this action cause this behavior in the Receive Function. We do
> not seem to lose any data. When the it gets re-enabled the file
> processes without issue.
>
> Any ideas would be appreciated on how to fix this.
>
> Thanks,
> Michael



Joe Barton

2004-03-04, 1:36 pm

Hi Nick,
You by chance have a component we can use?
Joe
>-----Original Message-----
>a) I assume that you are monitoring a file share on

Windows 2000 or Windows
>2003, correct?
>b) I assume that you are using the FTP capabilities of

IIS to receive the
>files from your Tandem computer, correct?
>c) I assume that Windows 2000 is running all current

service packs, correct?
>
>If all of these statements are correct, then this problem

is truly a
>mystery. To work around:
>a) create a component that will query and re-enable the

receive functions
>once every half hour, or
>b) instead of using FTP to the directory Biztalk is

reading, use FTP to
>another directory, and write a little component that will

monitor that other
>directory for files. Have that other component try to

open the file being
>written, and when that works, have it move the file to

Biztalk's directory.
>
>HTH,
>--- Nick
>
>"mltothppg" <mtoth@ppg.com> wrote in message
>news:686c5956.0402200726.bbb9d@posting.google.com...
directly to[color=darkred]
to be a[color=darkred]
attempts to pick up[color=darkred]
every so often.[color=darkred]
function[color=darkred]
receive[color=darkred]
for additional[color=darkred]
experienced[color=darkred]
problems have[color=darkred]
BizTalk Server[color=darkred]
receive function.[color=darkred]
Server[color=darkred]
an exception".[color=darkred]
Function is[color=darkred]
been completed.[color=darkred]
Function. We do[color=darkred]
the file[color=darkred]
>
>
>.
>

Nick Malik

2004-03-05, 4:34 am

Nope.

However, the following article provides an excellent example of writing code
using the WMI objects, from C# or VB.NET, to enumerate and modify the
receive functions.

http://msdn.microsoft.com/library/d...programming.asp

--- Nick

"Joe Barton" <anonymous@discussions.microsoft.com> wrote in message
news:6f4d01c40212$d72bb810$a501280a@phx.gbl...[color=darkred]
> Hi Nick,
> You by chance have a component we can use?
> Joe
> Windows 2000 or Windows
> IIS to receive the
> service packs, correct?
> is truly a
> receive functions
> reading, use FTP to
> monitor that other
> open the file being
> Biztalk's directory.
> directly to
> to be a
> attempts to pick up
> every so often.
> function
> receive
> for additional
> experienced
> problems have
> BizTalk Server
> receive function.
> Server
> an exception".
> Function is
> been completed.
> Function. We do
> the file


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com