Powerbuilder Application Execution Error R0035 Today

Problem: R0035 reports missing "PBVM.DLL" on startup.
Fix: Copy correct PBVM.DLL (matching app’s bitness and PowerBuilder version) into the app folder; ensure any required PowerBuilder runtime DLLs and PBD runtime files are present; restart app.

Run the EXE from a command prompt with the /pbversion switch (if supported by the app) or inspect the EXE's version resource. Ensure the matching PBRTCxxx.DLL is in C:\Windows\SysWOW64 (for 32-bit) or alongside the EXE.

Error R0035 is a runtime execution error in PowerBuilder applications. It typically occurs when the PowerBuilder runtime engine cannot locate or load a required PowerBuilder resource file (PBR) or when there is a mismatch between the compiled application and the runtime environment. powerbuilder application execution error r0035

The full error message usually reads:

PowerBuilder Application Execution Error (R0035) Application terminated. Unable to find required PBR file. Problem: R0035 reports missing "PBVM

or simply:

R0035: Unable to locate the application's resource file. or simply:


The user executing the application may have Read permission for the EXE but No Access or Read-Only lacking List Contents on the folder containing the PBDs. On network shares, this is common.

R0035 frequently occurs during DataWindow processing if the buffers are in an unexpected state.


Since R0035 is a runtime error that crashes the application, you should wrap your external function calls in a TRY-CATCH block to handle the error gracefully and get more info.

OLEObject lole_myobj
Integer li_result
lole_myobj = CREATE OLEObject
li_result = lole_myobj.ConnectToNewObject("MyApplication.Control")
IF li_result <> 0 THEN
    MessageBox("Error", "Could not create object: " + String(li_result))
    RETURN
END IF
TRY
    // This is the line causing R0035
    lole_myobj.MyFunction("Parameter1")
CATCH (RuntimeObjectError err)
    MessageBox("External Object Error", &
               "Error calling MyFunction: " + err.getText() + "~r~n" + &
               "Error Number: " + String(err.Number))
FINALLY
    lole_myobj.DisconnectObject()
    DESTROY lole_myobj
END TRY

Check the application folder or a central runtime folder (e.g., C:\Program Files (x86)\Sybase\Shared\PowerBuilder). The runtime files must be present.