Skip to main content
Question

Error -58 on newinstance between different repositories (Uniface 10)

  • May 14, 2026
  • 3 replies
  • 68 views

Anna lisa Coppola
Forum|alt.badge.img

Good evening, I am testing the programmes following the upgrade to Uniface 10.4.3 and am encountering issues when calling a service located in another repository.

For example, from application A, I call it using `newinstance "MY_SERVICE", LV_HANDLE` and get error code -58.

MY_SERVICE is referenced in the ASN in the [FILES] section as MY_SERVICE.SVC          \\server\qxsrv10\PROJECT\SVC\MY_SERVICE.SVC

I can’t find a solution.

Has this happened to anyone else?
 

Anna Lisa

3 replies

Larry Adkins
Forum|alt.badge.img+1
  • Participating Frequently
  • May 14, 2026

It has to know how to communicate with that service so you also need to have access to the my_service.sig.


Michael Taylor
Forum|alt.badge.img+2

Hi,

In Uniface 10, standard deployment is required—classic deployment is no longer available.

You should:

  • Package the service and signature in a UAR, or
  • Place them in the standard deployment folder structure

and reference them in the [RESOURCES] section of your ASN file.

If this is not followed, issues like the error you’re encountering can occur.

You can find more details here:  Deploying Applications

Kind regards,
Mike


RicharddeVries
Forum|alt.badge.img+1
  • Participating Frequently
  • May 26, 2026

In our development runtime environment we use a construct like the following:

[RESOURCES]

exec

exec\UAR_V2.uar

exec\UAR_V1.uar

For  testing we add the components in subfolders. When we need to test a SVC, the component will be placed in the subfolder svc within the exec directory. The directory structure within the UAR can be used as such.

In case of a hotfix which is needed quickly, we are using the same construct. When a new patch will be delivered, the created subfolder will be removed.

Our preferred way of delivering the components in all our environment is building an UAR and delivering it at the required location.