SAP Knowledge Base Article - Preview

2540341 - Issues with PB generated .NET Assembly - SAP PB


When a PB Classic .NET assembly is used in a MS Visual Studio application, the following incorrect behaviors are present:

  1. Unhandled exceptions silently fail in console applications after a PowerBuilder generated assembly is loaded.  
  2. In a Windows Forms applications, all unhandled exceptions are delegated to the systemerror event after a PowerBuilder generated assembly is loaded.  
  3. Errors with datastore/datawindow SetItem methods occur in a PowerBuilder windows application but not a PowerBuilder generate assembly  
  4. PowerBuilder generated runtime errors do not always provide a message in the exception in coming from the PowerBuilder generate assembly  
  5. There must be an explicit reference to a PowerBuilder object in order to instantiate the object in a PowerBuilder generated assembly. 



  • SAP PowerBuilder 12.6
  • Microsoft Visual Studio


SAP PowerBuilder 12.6


CR809710, 809710, CR 809469, CR809469, ds, dw, VS , KBA , BC-SYB-PB , PowerBuilder , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.