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 NOVEMBER 25, 2019

Applies to:

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

Symptoms

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.

Peoplecode:
   &jimFILE = GetFile(&out_folder | "CRSOUT_TEST.txt", "W", %FilePath_Absolute);
   &jimFILE.WriteLine(&DTTM);
   &jimFILE.Close();

Error:

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


Environment:
PeopleTools: 8.57.08
Windows Server 2016
Development environment


Cause

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
Symptoms
Cause
Solution


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