I have a .net service on a Win2003 server box that periodically attempts to
move files
from a local path to a UNC path on another Win2003 server box. I use
System.IO.File.Move to accomplish this task. Unforunately, this causes the
following exception to be thrown intermittently:
Exception Info: System.IO.IOException: The semaphore timeout period has
expired.

at System.IO.__Error.WinIOError(Int32 errorCode, String str)

at System.IO.File.Move(String sourceFileName, String destFileName)

Anyone else have this problem?



.NET Framework 1.1

Win2003 SP1



thanks!

Re: System.IO.IOException: The semaphore timeout period has expired. by perrin820

perrin820
Fri Mar 10 15:41:15 CST 2006

High Scott,

I have just receieved this erro while doing a BufferedStream->Write
operation. Did you ever track this error down?

Thanks,

-jon-

Scott McFadden wrote:
> I have a .net service on a Win2003 server box that periodically attempts to
> move files
> from a local path to a UNC path on another Win2003 server box. I use
> System.IO.File.Move to accomplish this task. Unforunately, this causes the
> following exception to be thrown intermittently:
> Exception Info: System.IO.IOException: The semaphore timeout period has
> expired.
>
> at System.IO.__Error.WinIOError(Int32 errorCode, String str)
>
> at System.IO.File.Move(String sourceFileName, String destFileName)
>
> Anyone else have this problem?
>
>
>
> .NET Framework 1.1
>
> Win2003 SP1
>
>
>
> thanks!


Re: System.IO.IOException: The semaphore timeout period has expired. by Scott

Scott
Tue Apr 04 21:14:51 CDT 2006

Never tracked it down. Saw some google group links mentioning a similar
problem with the UNC path being excessively long?


<perrin820@gmail.com> wrote in message
news:1142026875.464931.52300@e56g2000cwe.googlegroups.com...
> High Scott,
>
> I have just receieved this erro while doing a BufferedStream->Write
> operation. Did you ever track this error down?
>
> Thanks,
>
> -jon-
>
> Scott McFadden wrote:
>> I have a .net service on a Win2003 server box that periodically attempts
>> to
>> move files
>> from a local path to a UNC path on another Win2003 server box. I use
>> System.IO.File.Move to accomplish this task. Unforunately, this causes
>> the
>> following exception to be thrown intermittently:
>> Exception Info: System.IO.IOException: The semaphore timeout period has
>> expired.
>>
>> at System.IO.__Error.WinIOError(Int32 errorCode, String str)
>>
>> at System.IO.File.Move(String sourceFileName, String destFileName)
>>
>> Anyone else have this problem?
>>
>>
>>
>> .NET Framework 1.1
>>
>> Win2003 SP1
>>
>>
>>
>> thanks!
>