File on Novell network storage loses changes when modified outside

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



We have noticed an issue with files being overwritten when the file resides
on a Novell network storage drive and it has been modified outside the VS
editor while also open in VS Professional 2005. Steps to reproduce the issue
are provided at the end of this post.

As to the problem we have encountered, a simple process flow is:
1. While the file is also open in the VS editor, it is modified in an
outside editor (ie, Notepad) and saved in the outside editor.
2. The file is modified within VS (VS does not recognize the file has been
modified outside the source editor and does not reload or prompt to reload
the file).
3. The project is built (changes are overwritten even more covertly if there
are build errors).
4. Changes made outside the source editor are lost without the user being
prompted that other changes to the file have been made.

We have noticed this is only an issue when the file is located on a network
drive. If the file resides on primary or removable storage, changes are
noticed by VS almost immediately after the external save and the user is
prompted to Disregard or Overwrite changes in memory. A faculty members
instructions for reproducing the problem is found below. The J:\ is our
individual user storage on Novell.

1. Start .net 2005
2. File|New Project
a. select Visual C++ for project type
b. select "Win32 Console Application"
c. Set the Name to "test"
d. set Location to J:
e. clear "Create directory for solution" and "add to source control"
f. click OK
3. In Win32 Application Wizard:
a. select "Application Settings"
b. select Console Application
c. check Empty project
d. click on Finish
4. In the solution explorer:
a. right click on the project name (test)
b. select Add|New Item
c. make sure Visual C++ is selected in the left pane
d. select "C++ File (.cpp)"
e. enter "Test" for Name
f. make sure Location set to j:\test
g. click Add
5. In Test.cpp, write the code

#include <iostream>
using namespace std;

int main()
{
cout << "Hello, tester." << endl;
}

6. In the Solution Explorer
a. right click on test (project name)
b. select Properties
c. click on Configuration Properties|General
d. set Output Directory to
c:\temp\x\$(ConfigurationName)
e. set Intermediate Directory to
c:\temp\x\$(ConfigurationName)
f. Click on OK
6. Select Debug|Start without Debugging, confirm get "Hello, tester." on
the screen, and press the enter key.
7. Using Windows Explorer, right click on Test.cpp and select
Open With|WordPad
8. Remove the first "<<", save the file, and quit Wordpad.
9. Return to Studio .NET; should now get a prompt to reload the file (would
if the file were on C:), but do not get any such prompt.
10. Add
return 0;
as the last line of main() and click on the Save button. The system now
prompts
This file has been modified outside of the source editor.
Do you want to reload it?
Select Yes. Note that the file still contains the return and the
change made earlier (removing the <<) has been undone.
11. In Windows Explorer, right click on the file, open it with Wordpad, and
confirm that the previous changes made in Wordpad have been lost.

Thank you for any help you can provide.

.



Relevant Pages

  • Re: VDQ : Can my FC1s gnome-terminal be fixed?
    ... But I still get a terminal with no prompt. ... virtual consoles where you can login and have a terminal. ... Hopefully you are using multiple partitions. ... nedit, which is a nice, graphical editor that is very easy to use. ...
    (Fedora)
  • Re: input prompt for functions
    ... I consider to be a long period of waiting the editor will prompt you with the inputs of the function. ... putting the mouse tip at the end of the function name and hit F1, ...
    (comp.soft-sys.matlab)
  • Re: locking editor in insert mode?
    ... > Is it possible to lock my editor so that when typing ... > -I always insert and never overwrite when no text is selected ... processor will take any opportunity to revert from your preferred font to ...
    (alt.comp.lang.borland-delphi)
  • Re: Text editor wont let me edit conf files. How do I?
    ... You will be prompted for the root password, nothing will by printed as you enter it. ... Lots of other editors out there, from the basic line editor ed (at command prompt type 'man ed' for more information) but the main problem is to be able to edit smb.conf as root ... Text editor won't let me edit conf files. ...
    (Fedora)
  • Outlook 2003 issue with Word 2003 as editor.
    ... When attempting to change the options to use word as the editor in ... outlook 2003 I instantly get the prompt "A program is trying to access ... e-mail addresses you have stored in Outlook. ... I have tried to change the security settings but all that does is ...
    (microsoft.public.outlook)