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

istiller said
fearandir said Any action that implies read the DOL file fails. Global procs, glyphs, etc... PC_PONER_CEROS is a simply a common process that runs very often in our application  
So put a DEBUG in first place (before ann access to DOL) in your startup shell. Start the proc-monitor and then your application. Is there any hint if and how the DOL will be read?   Ingo  

proc-monitor just says: class: File System Operation: Readfile Result: NETWORK ERROR Path: \\\\10.12.19.210\\minforms\\uobj.dol   if i start a new window and rename DOL file in server, ir works... maybe  OS/SAMBA problem?


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

fearandir said Any action that implies read the DOL file fails. Global procs, glyphs, etc... PC_PONER_CEROS is a simply a common process that runs very often in our application  

So put a DEBUG in first place (before ann access to DOL) in your startup shell. Start the proc-monitor and then your application. Is there any hint if and how the DOL will be read?   Ingo


Author: istiller (i2stiller@gmx.de)
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

istiller said
fearandir said Nope. I changed file permissions and did not work  
So, check it they "hard" way :-) But first: Is this the first call to UOBJ.DOL? Or cann you call othe procedures but not PC_PONER_CEROS ? Download this tool from Microsoft https://technet.microsoft.com/de-de/sysinternals/processmonitor.aspx Then start it and apply a filter like "processname begin with uniface" Now start Uniface and go to the statment, which cause the problem: call PC_PONER_CEROS() in procmon clear the output and then try to step into PC_PONER_CEROS. Procmon will show you every call to the filesystem. Are there any "dubious" errors? Ingo  

Any action that implies read the DOL file fails. Global procs, glyphs, etc... PC_PONER_CEROS is a simply a common process that runs very often in our application


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

fearandir said Nope. I changed file permissions and did not work  

So, check it they "hard" way :-) But first: Is this the first call to UOBJ.DOL? Or cann you call othe procedures but not PC_PONER_CEROS ? Download this tool from Microsoft https://technet.microsoft.com/de-de/sysinternals/processmonitor.aspx Then start it and apply a filter like "processname begin with uniface" Now start Uniface and go to the statment, which cause the problem: call PC_PONER_CEROS() in procmon clear the output and then try to step into PC_PONER_CEROS. Procmon will show you every call to the filesystem. Are there any "dubious" errors? Ingo


Author: istiller (i2stiller@gmx.de)
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

istiller said
fearandir said ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio  
Hi Sergio Maybe you don't have the right to write to UOBJ.DOL Sometimes UnifAce want this rights, even if there no sense behind this Laugh Ingo  

Nope. I changed file permissions and did not work


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

fearandir said ZIP error:(IOSERR_FILE_READ_WRITE) on [s:\\uobj.dol] '' - File read/write failure At same moment if you perform a $fileexists(s:\\uobj.dol) all seems ok.   Regards   Sergio  

Hi Sergio Maybe you don't have the right to write to UOBJ.DOL Sometimes UnifAce want this rights, even if there no sense behind this Laugh Ingo


Author: istiller (i2stiller@gmx.de)