Visual Studio 6 + Samba 2.2.5 misbehaves.

Mike Gerdts Michael.Gerdts at alcatel.com
Thu Aug 1 04:53:02 GMT 2002


This sounds like you have clocks out of sync.  Be sure that the time on
your workstation, the Samba server, and any NFS servers that Samba may
get shares from all have clocks that are in sync.  I highly suggest
using NTP between all servers.  Once you have NTP running on a unix
server, you can convince win2k clients to sync with that server using:

net time /setsntp:unixservername

Mike

On Thu, 2002-08-01 at 05:37, Fredrik Ohrn wrote:
> 
> Hello!
> 
> 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?
> 
> 
> Regards,
> Fredrik
> 
> -- 
>    "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 chl.chalmers.se                                                  Sweden
> 
> 






More information about the samba-technical mailing list