Runtime Errors – PB Docs 120


Runtime Errors

The application might
not run correctly when you select Design > Run Project in the Project
painter, when you run the executable file in the deployment folder,
or when a user runs the installed application.

When you or a user
runs the executable file, PowerBuilder creates a file called PBTrace.log in
the same directory as the executable. This file can help you trace
runtime errors. It can be configured by editing the appname.exe.config file,
where appname is the name of the executable
file:

The following problems might also occur:

  • If
    the application cannot be launched from another computer, make sure the
    required PowerBuilder runtime files, pbshr120.dll and pbdwm120.dll, and
    the Microsoft runtime files on which they depend, at71.dll, msvcp71.dll,
    and msvcr71.dll, are available on the other
    computer and in the application�s path.

    If the executable file is located on a network path, the .NET
    Framework must be configured to have Full Trust permissions at runtime.
    See Setting Full Trust Permissions.

  • If the application cannot connect to a database,
    make sure that the required PowerBuilder database interface, such
    as pbodb120.dll, has been added to the Win32
    dynamic library files section of the Library Files tab page and that
    the required client software is available on the target computer.
    If the application uses a configuration file, such as myapp.ini,
    select it on the Resource Files tab page. For ODBC connections,
    make sure that the DSN file is created on the client.

  • If no data displays in DataWindow objects, select
    the PBLs that contain them on the Library Files tab page.

  • If graphics fail to display, select them on the
    Resource Files tab page.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x