Receive function failing when polling for files that were FTP'd
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Receive function failing when polling for files that were FTP'd




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 07: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





[ Post a follow-up to this message ]



    Re: Receive function failing when polling for files that were FTP'd  
Nick Malik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 07: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







[ Post a follow-up to this message ]



    Re: Receive function failing when polling for files that were FTP'd  
Joe Barton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-04-04 06: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 
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 
>
>
>.
>





[ Post a follow-up to this message ]



    Re: Receive function failing when polling for files that were FTP'd  
Nick Malik


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-05-04 09: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...
> 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 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:34 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register