Switch to standard view 
  Sybase logo
 
 
 



PowerDesigner AppModeler Cannot Load Pborc050.dl, Pborc60.dll or
Pborc70.dll

This technical document addresses the occurrence and solution of the following error message:

Cannot load dynamic library PBORC050.DLL. Please ensure that the PowerBuilder directory is in the PATH.
Cannot load dynamic library PBORC60.DLL. Please ensure that the PowerBuilder directory is in the PATH.
Cannot load dynamic library PBORC70.DLL. Please ensure that the PowerBuilder directory is in the PATH.


The pborc0x0.dll is a PowerBuilder file that is needed by AppModeler for PowerBuilder to create and manipulate PowerBuilder applications and PowerBuilder extended attributes.

This error message is normally obtained because of one of the following reasons:
The pborc0x0.dll has not been installed.
The pborc0x0.dll has been installed improperly.
The pborc0x0.dll is in a directory that the AppModeler for PowerBuilder application does not know exists.


To resolve this error message do the following:

For a 16-bit installation of PowerDesigner:

1) Uninstall all 16-bit PowerDesigner modules
2) Re-install all 32-bit PowerDesigner modules

NOTE: PowerBuilder 6.x and 7.x do not support the 16-bit development environment.

For a 32-bit installation:

NOTE: The following instructions assumes that PowerBuilder has been installed to the default directory.
NOTE: For the specific filenames and directory locations, please refer to the table at the end of this document.

On Windows NT:
1) Search your hard drive to ensure that the correct versionof pborc0x0.dll is installed on the workstation.

2) If the pborc0x0.dll is installed, make sure that it is in the sybase shared directory. If it is not in this directory, move it to this directory.
3) Add the sybase shared directory to the system or user path variable.
Open the Control Panel
Double click on the System Icon and select the Environment Tab
In the System Variables section, scroll to the PATH variable and select it.
Add the sybase shared directory path in the Value edit line.



On the Windows 95 or 98 platforms there are two options to resolve the error message, the use of the autoexec.bat file or the use of the App Path in the registry.

To use the autoexec.bat file:
1) Search your hard drive to ensure that the pborc0x0.dll is installed on the workstation.2) If the pborc0x0.dll is installed, make sure that it is in the sybase shared directory. If it is not in this directory, move it to this directory.
3) Add the sybase shared directory to the path of the autoexec.bat. You will need to use DOS equivalent of the path which is listed in the table at the end of this document.
4) Reboot your workstation

OR

To add an APP Path:

1) Search your hard drive to ensure that the pborc0x0.dll is installed on the workstation.2) If the pborc0x0.dll is installed, make sure that it is in the sybase shared directory. If it is not in this directory, move it to this directory.
3) From the Start command select RUN
4) Execute the regedit.exe file
5) In the registry go to the following location
HKEY_LOCAL_MACHINE
SOFTWARE
MICROSOFT
WINDOWS
CURRENT VERSION
APP PATHS
6) Determine if the PDPB6.exe key exists. If this key already exists, goto step 8. If the PDPB6.exe key does not exist, you must create a new key.
7) To create a new key do the following:
a) Select App Paths and go to the EDIT menu item
b) Select new and then key.
c) Name the new key PDPB6.exe
d) Select the PDPB6.exe key
e) Modify the Default Value string
i) Right mouse click on Default
ii) Select Modify and enter the path of AppModeler for PowerBuilder.
Note: If AppModeler 6.1.0 was installed to the default directory, its path is C:\pwrs\pd6\PDPB6.exe. 8) Add a new string value to the PDPB6.exe key
a) Right mouse click on the PDPB6.exe key
b) Select NEW
c) Select String Value
9) Rename the new String Value to "Path"
10) Modify the Path string value and include the location of the files that this application should reference upon start up. The sybase shared directory must be added. Other recommended directories to be included are the PowerBuilder and Adaptive Server Anywhere directories.

10a) For PBORC050.DLL and PowerBuilder 5.x, add C:\pwrs\sys32 to the Path string value. << Screen shot of the completed PDPB6.exe key for AppModeler 6.1.0 and PowerBuilder 5>>

10b) For PBORC60.DLL and PowerBuilder 6.0, add C:\pwrs\sys32 to the Path string value.

<< Screen shot of completed PDPB6.exe for AppModeler 6.1.0 and PowerBuilder 6 >>

10c) For PBORC60.DLL and PowerBuilder 6.5, add C:\Program Files\Sybase\Shared\PowerBuilder to the Path string value.

<< Screen shot of completed PDPB6.exe for AppModeler 6.1.1 or higher and PowerBuilder 6.5 >>

10d) For PBORC70.DLL and PowerBuilder 7, add C:\Program Files\Sybase\Shared\PowerBuilder to the Path string value.

<< Screen shot of completed PDPB6.exe for AppModeler 6.1.1 or higher and PowerBuilder 7 >>


Product VersionFilenameLocationDOS Equivalent for SYB SharedUSE
PowerBuilder 5PBORC050.DLLC:\Program Files\Common Files\Powersoft SharedC:\progra~1\common~1\powers~1This is the default location of the sybase shared directory.
PowerBuilder 6.0PBORC60.DLLC:\Program Files\Common Files\Powersoft SharedC:\progra~1\common~1\powers~1This is the default location of the sybase shared directory.
PowerBuilder 6.5PBORC60.DLLC:\Program Files\Sybase\SharedC:\progra~1\sybase\sharedThis is the default location of the sybase shared directory.
PowerBuilder 7.xPBORC70.DLLC:\Program Files\Sybase\Shared\PowerBuilderC:\progra~1\sybase\shared\powerb~1This is the default location of the sybase shared directory.
AppModeler 6.1.0PDPB6.exeC:\Program Files\Powersoft\PowerDesigner 6C:\progra~1\powers~1\powerd~1This is the default location of the AppModeler executable.
AppModeler 6.1.1 or higherPDPB6.exeC:\Program Files\Sybase\PowerDesigner 6C:\progra~1\sybase\powerd~1This is the default location of the AppModeler executable.

NOTE: In PowerBuilder 5 and 6.0 and PowerDesigner 6.0 and 6.1.0, the user had the option to select long filenames or short filenames when installing the software applications. The default directory structure for these applications were C:\pwrs\pb5i32, C:\pwrs\pb6 and C:\pwrs\pd6.


Back to Top
© Copyright 2010, Sybase Inc.