Forum Stats

  • 3,816,083 Users
  • 2,259,137 Discussions
  • 7,893,389 Comments

Discussions

Oracle Client Pro*C Compile Error PCC-F-02104 - Unable to Connect

User_EOL1Q
User_EOL1Q Member Posts: 17 Green Ribbon
edited Apr 25, 2022 3:29PM in Oracle Call Interface (OCI)

Hello,

My current environment

Win10 64bit

Visual Studio 2015 with update 3

Oracle 12.2 64bit client with Pro*C

I'm compiling some Pro*C files and get inconsistent results

1st Build: I can compile the VS 2015 successfully and compile all 10 *.pc files.

2nd Build: I'll get the PCC-F-02104 - Unable to Connect even though I just ran build #1 literally 30 seconds ago and everything built O.K.

No files have been modified, so I'm not sure why I can't repeat the same build many times in a row without getting the unable to connect to Oracle even though the DB is up and nothing has changed in the *.pc files


Thanks!

Best Answer

  • User_EOL1Q
    User_EOL1Q Member Posts: 17 Green Ribbon
    Answer ✓

    If running VS 2015 as admin, try to run as non-admin user to see if the error still occurs

    Check Tools->Options->Projects and Solutions->Build and Run then set maximum number of parallel project builds to 1

Answers

  • User_EOL1Q
    User_EOL1Q Member Posts: 17 Green Ribbon
    Answer ✓

    If running VS 2015 as admin, try to run as non-admin user to see if the error still occurs

    Check Tools->Options->Projects and Solutions->Build and Run then set maximum number of parallel project builds to 1