BizTalk Server General - Receive Function Race Condition

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > February 2004 > Receive Function Race Condition





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 Race Condition
Vai2000

2004-02-25, 1:35 pm

Hi All, I have a preprocessor which is writing a file to a shared path which
is monitored by a File Receive Function. Problem is I am getting this error
seldomly.

Source: mscorlib
Message: The process cannot access the file foo..txt" because it is being
used by another process.
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath,
Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share)


TIA


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com