: The external server or object (like Excel or Word via OLE) has "died," crashed, or was closed before the function call completed. Appeon Community Troubleshooting Steps Register the Component
: Wrap the call in a TRY...CATCH block for OLERuntimeError to capture more detailed information about why the call is failing without crashing the app. powerbuilder application execution error r0035
R0035 is a PowerBuilder runtime error that occurs when the application cannot load a required module (DLL or EXE) at startup or when invoking a component. The message typically appears as: "Application execution error R0035: Unable to locate module — [module name]" : The external server or object (like Excel
If multiple versions of PowerBuilder runtimes are installed on a single machine (for example, an older v12.5 runtime alongside a newer Appeon PowerBuilder 2022 runtime), Windows may pull the wrong DLL from the system PATH variable. 4. Database Client Client/Driver Incompatibilities The control exists on your development machine but
The error often appears on a new machine when a required external component (ActiveX control, COM object, VBX control) isn't installed or registered. The control exists on your development machine but might be missing on the target deployment machine.
The user executing the application may have 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.
If the error mentions a specific DLL or OCX, check if it is in the C:\Windows\System32 or C:\Windows\SysWOW64 folder. Step 2: Register the OLE/COM Component If the file exists, it might not be registered. Action: Open the Command Prompt as Administrator and run: regsvr32 "C:\path\to\your\external_object.ocx" Use code with caution.
: The external server or object (like Excel or Word via OLE) has "died," crashed, or was closed before the function call completed. Appeon Community Troubleshooting Steps Register the Component
: Wrap the call in a TRY...CATCH block for OLERuntimeError to capture more detailed information about why the call is failing without crashing the app.
R0035 is a PowerBuilder runtime error that occurs when the application cannot load a required module (DLL or EXE) at startup or when invoking a component. The message typically appears as: "Application execution error R0035: Unable to locate module — [module name]"
If multiple versions of PowerBuilder runtimes are installed on a single machine (for example, an older v12.5 runtime alongside a newer Appeon PowerBuilder 2022 runtime), Windows may pull the wrong DLL from the system PATH variable. 4. Database Client Client/Driver Incompatibilities
The error often appears on a new machine when a required external component (ActiveX control, COM object, VBX control) isn't installed or registered. The control exists on your development machine but might be missing on the target deployment machine.
The user executing the application may have 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.
If the error mentions a specific DLL or OCX, check if it is in the C:\Windows\System32 or C:\Windows\SysWOW64 folder. Step 2: Register the OLE/COM Component If the file exists, it might not be registered. Action: Open the Command Prompt as Administrator and run: regsvr32 "C:\path\to\your\external_object.ocx" Use code with caution.