Skip to main content
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

Uniface 9: DOL file and CALL statement

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

16 replies

Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

Hi all. $MEMORY ZIP=ALL  is not working as  documented... Do not store the the whole URR file into memory as it indeed do with the DOL file....   This behaviour causes a fatal error each time uniface tries to read a signature. Greetings.


Author: fearandir (fearandir@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

Take a look at this and see if it helps. https://technet.microsoft.com/en-us/library/cc770902(v=ws.11).aspx


Author: adkinsl (adkins.larry@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

forget my last post. That solution allows to call global procs, glyphs, etc... but for some reason all the ACTIVATE statements crashes the application. i am really lost Cry


Author: fearandir (fearandir@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

Hi all I think i found the solution: https://unifaceinfo.com/docs/0905/Uniface_Library_HTML/ulibrary/$MEMORY_8D9D9A7751CA89E2C58D1397BFBB52AA.html With the configuration setting $MEMORY ZIP=ALL you specify uniface to keep the DOL (zip) file on memory until application ends. So, it is no need to access the file over the network.   I still do not understand why with the default  settings and the network communication restored you can't read the file but whatever...   For some reason the DOL file keeps blocked on filesystem no matter the $MEMORY ZIP value Greetings,   Sergio


Author: fearandir (fearandir@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

mpservices said Hello just for info,  I got this error sometimes after a network problem on dol file et pratt (using the $seq for pratt file) running under windows server 2012, the client are either connected through tse , so running on the same machine or accessing  these files through a mounted network drive from another machine each time, i tried several solutions to make it work :  recreate the mounted drive, close all sessions if tse and at last if it doesnt work, restart the server error on pratt file arrived very frequently with network problems, so I moved the pratt table into data base (work around but stopped the end user calls) can't try now the uar files, maybe it will solved the problem? Dominique  

Yeah if we change the deployment method or if we copy the dol file from server to pc everytime we log on the application the problem will be solved. The issue is to know why uniface tells me that can not read the DOL file after a short network problem, even when the communication channel is restored. Thanks Dominique. Sergio


Author: fearandir (fearandir@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

Hello just for info,  I got this error sometimes after a network problem on dol file et pratt (using the $seq for pratt file) running under windows server 2012, the client are either connected through tse , so running on the same machine or accessing  these files through a mounted network drive from another machine each time, i tried several solutions to make it work :  recreate the mounted drive, close all sessions if tse and at last if it doesnt work, restart the server error on pratt file arrived very frequently with network problems, so I moved the pratt table into data base (work around but stopped the end user calls) can't try now the uar files, maybe it will solved the problem? Dominique


Author: mpservices (mps59@orange.fr)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

PBeugel said If Windows 7 or Windows Vista is involved the following might help: disconnected drives , connection to drive not recognized Suggestion from Microsoft:  https://technet.microsoft.com/en-us/library/ee844140(v=ws.10).aspx To configure the EnableLinkedConnections registry value, follow these steps: 1. Click Start , type regedit in the Start Search box, and then press ENTER. 2. Locate and then right-click the following registry subkey: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System 1. Point to New , and then click DWORD Value . 2. Type EnableLinkedConnections , and then press ENTER. 3. Right-click EnableLinkedConnections , and then click Modify . 4. In the Value data box, type 1 , and then click OK . 5. Exit Registry Editor, and then restart the computer. Peter  

Thanks Peter but we use Windows 10. Anyway, i tried and i got the same error.


Author: fearandir (fearandir@gmail.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

We learned the hard way that DOL & URR should be stored locally to preserve performance and continuity. Back in the days we still used DOL & URR, we copied them (having a version in their name) to the local working folder where messageframes and dumpfiles where stored.   Since 9.7 we switched to standardized deployment: we create 1 UAR for our application and store/cache it locally under appdata. Only once scanned by antivirus.  Never had such great performance with uniface :-)


Author: wimmme (wim.vaneupen@xperthis.be)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

If Windows 7 or Windows Vista is involved the following might help: disconnected drives , connection to drive not recognized Suggestion from Microsoft:  https://technet.microsoft.com/en-us/library/ee844140(v=ws.10).aspx To configure the EnableLinkedConnections registry value, follow these steps: 1. Click Start , type regedit in the Start Search box, and then press ENTER. 2. Locate and then right-click the following registry subkey: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System 1. Point to New , and then click DWORD Value . 2. Type EnableLinkedConnections , and then press ENTER. 3. Right-click EnableLinkedConnections , and then click Modify . 4. In the Value data box, type 1 , and then click OK . 5. Exit Registry Editor, and then restart the computer. Peter


Author: PBeugel (peter.beugel@uniface.com)
Jan Cees Boogaard
Rocketeer
Nov 19, 2018 11:39 AM UTC

DOL file and CALL statement

Author: fearandir@gmail.com (fearandir)

Hello. We've an issue. Our uniface application do not respond when a net connection problem occurs that affect the access to de DOL file. Thats fine, but when network connection comes back, the problem persists. Each call statement to a global proc. returns: "call PC_PONER_CEROS() Object Lookup: s:\\uobj.dol ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure Object NOTFOUND [0] prc/pc_poner_ceros@jofi.prc Object Lookup: s:\\uobj.dol Object Lookup: External Path / Dbms Object NOTFOUND [0] prc/pc_poner_ceros@system_library.prc   At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio

Any idea? Cry


Author: fearandir (fearandir@gmail.com)