Rwclient.bat Fails With REP-0177 When Windows Username Has Multiple Words (Doc ID 2122820.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Reports Developer - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

You have installed FMW Forms/Reports 11gR2 on Windows platform as "John Doe" Windows administrator user.

When running any report via rwclient.bat from DOS prompt as Windows user account that has more than one word (in this case, "John Doe"), then it fails with error:

REP-0177: An error occurred while running in a remote server.
The parameter value is invalid: DOE


STEPS
The issue can be reproduced at will with the following steps:

1. Login with a Windows user that has more than one word (John Doe).

2. Open DOS prompt

3. echo %USERNAME%

John Doe

4. cd %ORACLE_INSTANCE%\config\reports\bin

5. Run any report:


It appears that any space in USERNAME environment variable value somehow gets parsed in the rwclient.bat command.


Notes:
This happens regardless if user has Administrator privileges or not.

This does NOT reproduce with:

Changes

 New FMW Reports/Forms 11gR2 installation.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms