Skip to main content
Question

Uniface runtime errors: "Error opening files" "Error reading files"

  • June 10, 2026
  • 4 replies
  • 68 views

Gianni Sandigliano
Forum|alt.badge.img+3

Hi all,

I am trying to trace down an annoying issue related to opening files in Uniface Runtime but unfortunately I am not able to identify an origin and a solution.

Here it is the scenario:

    - A centralized server (Windows 2019 Datacenter) sharing a disk
    - All users (normally 120 but up to 150 concurrent) refers to this server to startup a Uniface application in C/S mode
    - Log is activated for all sessions ($ioprint = 1)

The system is up’n running 24x7 and issues I am going to list are happening mainly from 8:00 to 20:00 when most users are at work but there are cases also outside this timeframe like in the evening (20:00 to 24:00)  and also in the middle of the night (00:00 to 06:00).

Issues:

    - 20% (extimated) = daily Uniface sessions terminating without any signal or message or other… nothing!
    - 79% = Session unable to write log file on shared disk (message:

    ULOG Error: Failed to write to .\log\[NETWORK_NODE_NAME]_[PROCESS_PID].log) in this case a UNIxxxxx.log file is created into working directory

    - 1% = Session unable to read shared disk(messages like: 

    ZIP error:(IOSERR_FILE_READ_WRITE) on [L:\prod97\common\usys\usys.uar] '' - File read/write failure
    8003 - Open error on assignment file 'L:\prod97\common\adm\usys.asn'.
    8008 - Assignment error: 'L:\prod97\adm\tarros97.asn') also in this cases a UNIxxxxx.log file is created into working directory

My feeling is that we are hitting against some system or network limit related to file opening or more generally to socket opening, but:

    - On Uniface client side: $MAX_FILES = 255
    - The shared server is largely configured for CPU and RAM; Datacenter version of Windows server has very high limit for whichever need

I’m looking here for suggestions, tips or tricks… thanks for any reply.

Best regards,
Gianni

4 replies

Larry Adkins
Forum|alt.badge.img+1
  • Participating Frequently
  • June 10, 2026

Have you tried using UNC instead of mapped drive references?


Ingo Stiller
Forum|alt.badge.img+3
  • Participating Frequently
  • June 11, 2026

Hi Gianni
About:
.\log\[NETWORK_NODE_NAME]_[PROCESS_PID].log)
The “network_node_name” ist the name of a server or the clients?

What you're describing sounds more like a network issue. In other words, the network (LAN/Wi-Fi) might go down briefly, causing the handles to become invalid. 

As Larry said, use UNC—it's more reliable.

BTW: About the  UNIxxxxx.log output: When ever Uniface got an error to use a Logfile, the fallback is the simple LOG-File in the working directory :-)


Gianni Sandigliano
Forum|alt.badge.img+3

Hi Ingo & Larry,

first of all thanks for your replies, here our follow ups:

  • It’s for sure that part of or broken sessions are generated from small hiccups in the network; network connectors are sometimes not properly locked into their position and users with a notebook are often moving their notebook on the desk causing their connection to go down briefly. We accept that causes but we do NOT think 100% of the broken sessions are generated in these ways.
  • The “network_node_name” is the name of a server or the clients? Yes.
  • You both answered directly or indirectly “UNC is more reliable”: under which perspective?
    We made a research about disk shares mapped to a letter before posting our “request for help” because I remember they to be discouraged to be used in the period WinVista / Win7; as of today we did NOT found any post or documents against them. Do you have any link to official documents or field experiences about “UNC are more reliable and better”?
  • When a Uniface runtime is shared from a network disk the name UNIxxxxx.log would be better to be changed to [network_node_name]xxxxx.log to avoid potential log overlapping between sessions and to describe the origin of the log file in a more consistent way.

Best Regards,
Gianni


Larry Adkins
Forum|alt.badge.img+1
  • Participating Frequently
  • June 15, 2026

Hi Gianni,

In response to your question: “Do you have any link to official documents or field experiences about ‘UNC are more reliable and better’?”

Over the decades, I have reported many issues to Uniface support and in every situation when a drive mapping was in some way related to the problem, the suggestion was to “try UNC”. That being said, for simplicity, I always use network drive mappings in ASN (and INI) files, but when those fail or are problematic, I use UNC. I tried searching my closed tickets on the support site and it gave me documentation about every product that Rocket makes so completely useless -- that’s a separate issue altogether. I can’t find any documentation at the moment that states when to use UNC over drive mappings or that they are preferred -- I’m not even saying to use one over the other. Instead, I am suggesting to use one when the other doesn’t work. If the problem still persists, then you have to look elsewhere for a solution.

Hope this helps,

Larry