Visual Studio 6 + Samba 2.2.5 misbehaves.

Fredrik Ohrn ohrn at
Thu Aug 1 02:39:02 GMT 2002


I just noticed 2 problems when using Visual Studio 6 to edit files located 
on a Samba share.

1. "This file has been modified outside of the source editor."

To reproduce: Create a C++ file and save it on the share. Type some text, 
within a couple of seconds it will pop up a message box warning that the 
file has changed on disk, do you want to reaload it?

When dismissed the message will appear again at semi random intervals, 
saving the file again is also a sure way to trigger it.

2. Windows XP pops up a baloon in the corner with "Delayed Write Failed".

Start a new project with it's location on a samba share, create and add a 
C++ file to the project. Edit and save the file a couple of times and XP 
will pop up warning baloon and log the following message to the EventLog:

{Delayed Write Failed} Windows was unable to save all the data for the 
file \Device\LanmanRedirector. The data has been lost. This error may be 
caused by a failure of your computer hardware or network connection. 
Please try to save this file elsewhere.

The file in question is <ProjectName>.ncb, dunno what it is used for. 
After the message has appared the first time, it will pop up every time 
you type text in the editor.

Needless to say, this makes Visual Studio pretty much useless...

What can I do to help debug this?


   "It is easy to be blinded to the essential uselessness of computers by
   the sense of accomplishment you get from getting them to work at all."
                                                   - Douglas Adams

Fredrik Öhrn                               Chalmers University of Technology
ohrn at                                                  Sweden

More information about the samba-technical mailing list