The process cannot access the file / sharing violation.
You may receive one of two error messages from the windows operating system which indicate the a .XML file is currently in use by the UD6 driver / Uniface:
1. This message usually will come from DOS or the command prompt:
The process cannot access the file because it is being used by another process
2. This message usually will come from windows or the windows explorer:
These messages most often occur when you have modified a component using Uniface and are now returning it to version control.
The operating system is complaining that it cannot delete/remove/return the file until the UD6 driver closes all connections to it. The UD6 driver has probably maintained the connection in its cache for performance reasons.
You can manually remove cached files from the SQL workbench using the command CLEANMMF.
This command forces the driver to release all cached open file handles. Use this command from the SQL workbench with the data path set to UD6 to release these open files.
If you have just made changes to a component, and want the file ‘unlocked’, the correct sequence should be:
1) close current component
2) open another component
3) open SQL workbench and set path to UD6 and enter the SQL/DML command CLEANMMF and press the 'SQL' button.
Further Information
Troubleshooting | UD6 Troubleshooting |
Problem 1 | No LOGO or Advertising Banner |
Problem 2 | Unable to locate 3GL function UDBUD6 |
Problem 3 | No response when Assembly Workbench is selected |
Problem 4 | All driver functions slow when used on a shared network drive |
Problem 5 | Transcript shows error 182 - Unable to load DLL. |
Problem 6 | Transcript shows Unable to locate 3GL function UDBUD6. |
Problem 7 | Filenames are sometimes uppercase other times mixed case. |
Problem 8 | DocZilla does not show XML files correctly |
Problem 9 | Internet Explorer 5 gives error when showing XML files |
Problem 10 | 9016 - System needs more channels for files. error displayed |
Problem 11 | IDF will not compile components |
Problem 12 | Transcript shows error 31 - Unable to load DLL. |
Problem 13 | XML file exists but IDF cannot find record/form. |
Problem 14 | IE5 incorrectly display XML if USYS$UD6_PARAMS=xsl w3c. |
Problem 15 | Description fields appear in XML file with control characters. |
Problem 16 | Import appears to hang during import of UGLYPH. |
Problem 17 | Edit properties of a label in a component takes a long time. |
Problem 18 | IDF crashes during phase 4 of compile. |
Problem 19 | The process cannot access the file / sharing violation. |
Problem 20 | Cannot find WININET.DLL. |
Problem 21 | 1734 - Compiler read error on unexpected empty XXXXXX |
Problem 22 | 8069 - Copy failed: Write error on file/table |
Problem 23 | Illegal & character when NLS is off |
Problem 24 | Illegal < character when MHGFP140 is on, garbled bold, underline, and italic text in XML file. |
Problem 25 | -1023 fetch error When UD6 tries to retrieve from user defined table. |
Problem 26 | 8080 - Nothing copied. when exporting from UCGROUP. |
Problem 27 | Labels on Paint Tableau have incorrect shape (bold, italic, underline). |
Problem 28 | Cannot import: Commit now! Number of open files preventing open of new file. |
Problem 29 | IDF crashes on startup. |
Limitations | General driver limits |
$Revision$ $Date$ | [go to top] |