IBM Support

JR29343: UNABLE TO DISPLAY SERIALIZED EXCEPTION MESSAGES WITHOUT FIRST ES TABLISHING DATABASE CONNECTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you try to open a serialized DB2Exception or IfxException and
    display the exception message, an exception is thrown (example
    shown using IfxException):
    
    Absolute path information is required.
       at
    System.Security.Util.StringExpressionSet.CreateListFromExpressio
    ns(String[] str, Boolean needFullPath)
       at
    System.Security.Permissions.FileIOPermission.AddPathList(FileIOP
    ermissionAccess access, AccessControlActions control, String[]
    pathListOrig, Boolean checkForDuplicates, Boolean needFullPath,
    Boolean copyPathList)
       at
    System.Security.Permissions.FileIOPermission..ctor(FileIOPermiss
    ionAccess access, String path)
       at IBM.Data.Informix.IfxResource..ctor(CultureInfo
    cultureInfo, String szResFileName, String szMsgPath)
       at IBM.Data.Informix.IfxResources.a(CultureInfo A_0)
       at IBM.Data.Informix.a6.a(String A_0, String[] A_1)
       at IBM.Data.Informix.IfxException.get_Message()
       at ShowExc.Main(String[] args)
    
    Problem Summary:
    In attempting to display the message of a serialized exception
    prior to opening a connection, the .NET provider attempts to
    call components that are not yet loaded.   This action results
    to missing information leading to the error raised.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED
    IBM DATA SERVER PROVIDER FOR .NET
    
    ERROR DESCRIPTION:
    If you try to open a serialized DB2Exception or IfxException and
    display the exception message, an exception is thrown (example
    shown using IfxException):
    
    Absolute path information is required.
       at
    System.Security.Util.StringExpressionSet.CreateListFromExpressio
    ns(String[] str, Boolean needFullPath)
       at
    System.Security.Permissions.FileIOPermission.AddPathList(FileIOP
    ermissionAccess access, AccessControlActions control, String[]
    pathListOrig, Boolean checkForDuplicates, Boolean needFullPath,
    Boolean copyPathList)
       at
    System.Security.Permissions.FileIOPermission..ctor(FileIOPermiss
    ionAccess access, String path)
       at IBM.Data.Informix.IfxResource..ctor(CultureInfo
    cultureInfo, String szResFileName, String szMsgPath)
       at IBM.Data.Informix.IfxResources.a(CultureInfo A_0)
       at IBM.Data.Informix.a6.a(String A_0, String[] A_1)
       at IBM.Data.Informix.IfxException.get_Message()
       at ShowExc.Main(String[] args)
    
    PROBLEM SUMMARY:
    In attempting to display the message of a serialized exception
    prior to opening a connection, the .NET provider attempts to
    call components that are not yet loaded.   This action results
    to missing information leading to the error raised.
    

Problem conclusion

  • Problem was first fixed in Version 9.5 Fix Pack 2.
    At a minimum, this fix should be applied on the client.
    

Temporary fix

  • N/A
    

Comments

APAR Information

  • APAR number

    JR29343

  • Reported component name

    DB2 UDB ESE WIN

  • Reported component ID

    5765F4101

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-20

  • Closed date

    2008-08-27

  • Last modified date

    2008-08-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 UDB ESE WIN

  • Fixed component ID

    5765F4101

Applicable component levels

  • R810 PSN

       UP

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 August 2008