Db2

Db2

Connect with Db2, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
Expand all | Collapse all

db2dsdriver.cfg gets overwritten on each publish (NET 6)

  • 1.  db2dsdriver.cfg gets overwritten on each publish (NET 6)

    Posted Sat March 04, 2023 04:42 AM

    Hi, I'm porting a Windows .NET Framework application to .NET 6. On each publish, the db2dsdriver.cfg gets lost, and the clidriver/config only contains the db2dsdriver.cfg.sample file.



    ------------------------------
    Ivan Švaljek
    ------------------------------


  • 2.  RE: db2dsdriver.cfg gets overwritten on each publish (NET 6)

    Posted Mon March 06, 2023 02:42 AM

    Hello Ivan,

    It is recommended that you set up your customized db2dsdriver.cfg in another directory and point to it ba means of environment variables :

    https://www.ibm.com/docs/en/db2/11.5?topic=dsdcf-data-server-driver-configuration-file-location

    Regards

    -- 

    Yves-Antoine Emmanuelli



    ------------------------------
    Yves-Antoine Emmanuelli
    ------------------------------