My Oracle Support Banner

E-QR: RunToFile Method Gets Error "Unexpected exception in CApiObjectAdapterObjRef::DoMethod for Query.RunToFile (-1,-1)". (Doc ID 2666058.1)

Last updated on MAY 03, 2020

Applies to:

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


When using 'RunToFile' to schedule PS Queries to Type/Format File/XLSX, the following error occurs:

"Unexpected exception in CApiObjectAdapterObjRef::DoMethod for Query.RunToFile (-1,-1)"

The issue can be reproduced at will with the following steps:
1. Navigate to Reporting Tools > Query > Query Scheduler
2. Search by an existing query
3. Schedule the query by using a particular Application Engine
4. Run the PS Query with File/xlsx




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.