The directory name is not valid - Windows Server 2008 R2

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span style="font-family:Arial,sans-serif; line-height:normal I have a very strange error that appears every now-and-again, and would like to know if anyone else has experienced this.
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
<br/>

<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
I have a program written in C# that uses a Zip component (ZipForge.Net) to make an archive from some text files. Before calling the zip process, I make sure the destination folder exists, and then call the zip component. Nearly always this works fine, but once
in a while to process stops working correctly, reporting The directory name is not valid. If I check the folder to see if it exists, it reports affirmative.
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
<br/>

<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
Now comes the *really* weird part. If I run Internet Explorer, the process works fine again. Until I run IE or restart the users logged-in session, the program will *not* run!
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
<br/>

<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
This is my scenario:
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
-) The program is a .NET program using framework version 3.5 (all updates installed)
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
-) The operating system is Windows 2008 Server R2 (x64) (all updates installed)
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
<br/>

<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
Has anyone experienced anything like this? Any ideas?
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
<br/>

<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
Thanks,
<div style="border-top-style:none; border-right-style:none; border-bottom-style:none; border-left-style:none; border-width:initial; border-color:initial; margin-bottom:0px; padding-bottom:5px; line-height:normal
Martin. <hr class="sig Been programming since 1982, still going

View the full article
 
Back
Top