| Home » Categories » Solutions by Business Process » Utilities | 
| Network File In Use | 
| Article Number: 2217 | Rating: Unrated | Last Updated: Mon, Jun 19, 2023 at 7:34 PM | 
| Network File In Use – the DIAMOND.D02 is the multi-user control file for the Datafile system and is accessed thousands of times during operations in the Datafile system. As you open a database file or record the system opens this file to update the control file to show that you have this record open, similarly as you exit the system updates this file to clear these locks. During each update the system places a file lock to prevent other users updating this file – this lock takes fractions of a second but if another user tries to update during this time they will receive a ‘network file in use’ or ‘waiting for diamond.d02’ message. 
 This message, if seen at all, should automatically clear itself – when this message stays on screen and requires user intervention to resolve its a symptom of another problem. 
 
 
 
 
 You can sometimes determine the ‘error’ message being returned to Datafile that is resulting in the ‘Waiting’ message by adding an entry LOGLOCK=TRUE to the DATAFILE.INI. This logs to the SYSERR.DAT error file the response received from the network that is triggering the message. Googling this response can then give pointers to network triggers that result in that message. 
 One such reason can be the use of mapped drives – if the mapped drive is disconnected or disabled, even temporarily, then Datafile could report the waiting for / error accessing message. 
 An alternative to mapped drives is to use the UNC path to access the Datafile system – i.e. a shortcut along the lines of \\SERVER\DATAFILE\DFWIN\PROGRAMS\DFWIN.EXErather than F:\DFWIN\PROGRAMS\DFWIN.EXE for example. This may not be a simple change of shortcut, you would need to look at other paths in the Datafile system – i.e. location of files and DATAFILE.INI paths are relative (DATA\DEM-SLA.DFD for example). The DFWIN.INI, if in use, may need updating for the UNC path also. 
 You may also wish to look at our Knowledgebase article - http://datafile.co.uk/kb/article/smb2-smb3-and-opportunistic-locking-2132.html 
 | 
| 
							Attachments     There are no attachments for this article. | 
| 
										Confirm Input File and Date - Sales/Purchase Batch Updates
										 Viewed 2385 times  since  Thu, Jul 5, 2012  
										Additional Copy Items from Input File
										 Viewed 2417 times  since  Wed, Jun 13, 2012  
										Installation Details - Sales/Purchase Batch Updates
										 Viewed 2213 times  since  Thu, Jul 5, 2012  
										Stock Batch Update
										 Viewed 2183 times  since  Thu, Jul 5, 2012  
										QR Code Image Generator
										 Viewed 827 times  since  Thu, Oct 24, 2024  
										Warehouse Tablet - User-Defined Database Landing Page / Edit
										 Viewed 500 times  since  Thu, Jan 9, 2025  
										Confirm Input File and Date - Stock Batch Update
										 Viewed 2462 times  since  Thu, Jul 5, 2012  
										List Matrix Entries
										 Viewed 2440 times  since  Mon, Nov 25, 2013  
										Increased Options Allowed on the Main Menu
										 Viewed 679 times  since  Thu, Jan 9, 2025  
										Installation Details - Stock Batch Update
										 Viewed 2166 times  since  Thu, Jul 5, 2012  | 


 Print Article
Print Article Email Article to Friend
Email Article to Friend