My Oracle Support Banner

E-AE/PRCS/PC: PeopleCode GetFile() Fails with 'Invalid argument' Error After Upgrading AppServer to Windows Server 2016 (Doc ID 2612497.1)

Last updated on JULY 30, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.57 and later
Information in this document applies to any platform.


PeopleCode GetFile method errors out after upgrading the app server from Windows Server 2012 to Windows Server 2016.

App/PRCS runs under the ps\pstuxadm domain account.

If logging in as a ps\pstuxadm on the app/PRCS server, user can create\delete the file  successfully in the tartget folder.

But Peoplecode get an error when try to write a file. Same peoplesoft code worked on PT8.57.08/Win2012 server.

   &jimFILE = GetFile(&out_folder | "CRSOUT_TEST.txt", "W", %FilePath_Absolute);


Attemping to create STUDENTS FILE: \\xxxx\TEST_STUDENTS.CSV (0,0)
Open of file \\xxxx\TEST_STUDENTS.CSV failed: Invalid argument.

PeopleTools: 8.57.08
Windows Server 2016
Development environment


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.