Progress AppSever can't access remote directory

Posted by OctavioOlguin on 27-Mar-2020 15:00

Greetings.

appserver 11.7 win.

I created the procedure that is remotelly run :

DEFINE INPUT  PARAMETER pContent AS CHARACTER NO-UNDO.

OUTPUT TO \\server4\txt-ati\test.txt.
PUT UNFORMATTED pContent SKIP.
OUTPUT CLOSE.

CATCH myS AS Progress.Lang.SysError :    
    RETURN ERROR NEW Progress.Lang.AppError(myS:getmessage(imgs1), 404).
END CATCH.

 And it complains about:

Impossible to open file:\\server4\txt-ati\test.txt errno=13. (98).

The shared folder on \\server4  (windows 7) has granted access to everyone as R/W.

From  cmd window on the appserver, I can :   copy con \\server4\txt-ati\test.txt and it is executed correctly.

but the appserver process can´t do that.  I have disabled firewall on server4.

The directory is in use by a third party appserver, that takes that data (test.txt) and is injected in another software that aggregates data.

Even with that appserver shutdown, appserver can´t create the file over the network.

Am I missing something?

Posted by Jeff Ledbetter on 27-Mar-2020 15:04

Is the AppServer broker owner set to a user that has the necessary rights? If the AppServer broker owner is not set, make sure that the AdminService is running as a user that has domain access. The local system account cannot write to network shares.

All Replies

Posted by Jeff Ledbetter on 27-Mar-2020 15:04

Is the AppServer broker owner set to a user that has the necessary rights? If the AppServer broker owner is not set, make sure that the AdminService is running as a user that has domain access. The local system account cannot write to network shares.

Posted by OctavioOlguin on 27-Mar-2020 15:16

Thanks Jeff.

Accurate as always.   Let me check that.

(Where would I check that? where do I define the users associated to a process in windows?)

Posted by OctavioOlguin on 27-Mar-2020 15:30

Thanks [mention:15d155137bc94f50aa3f3ce56da063bf:e9ed411860ed4f2ba0265705b8793d05] !!!

Accutte and sharp as always!

Changed user for the "Adminserver for openedge" service, and It did it....

Thanks!

Posted by OctavioOlguin on 27-Mar-2020 15:30

Thanks [mention:15d155137bc94f50aa3f3ce56da063bf:e9ed411860ed4f2ba0265705b8793d05] !!!

Accutte and sharp as always!

Changed user for the "Adminserver for openedge" service, and It did it....

Thanks!

Posted by Jeff Ledbetter on 27-Mar-2020 15:51

You're welcome. Glad to help out when I can. :)

This thread is closed