Global Data Management Forum

 View Only
  • 1.  Connection between Data Studio and Visual Studio not established

    Posted 11 days ago

    Hi Everyone,

    I have been facing this issue for a while. I want to access the database via visual studio net core 6, even though the license is successful. I m receiving this error of sql 1598n. Can anyone please help me with this. This is effecting my work. I have attached the screenshots aswell. Please refer it also. 

    Thanks,

    Varun

    Daimler Truck.



    ------------------------------
    Varun C N S
    ------------------------------


  • 2.  RE: Connection between Data Studio and Visual Studio not established

    IBM Champion
    Posted 6 days ago

    Hi Varun,

    Since you have the Db2 Connect Unlimited Edition, I'd suggest you ask your DBA to install the license on the Db2 for z/OS side, so you don't have to deal with this on the client side: https://www.ibm.com/docs/en/db2/11.5?topic=z-db2connectactivate-server-license-activation-utility

    I am not familiar with .net core 6, but are you sure it is using the driver installed C:\Program Files\IBM\SQLLIB\BIN ? Sometimes packages will install their own copy of the driver 



    ------------------------------
    Jørn Thyssen
    Principal Solutions Advisor
    Rocket Software
    ------------------------------



  • 3.  RE: Connection between Data Studio and Visual Studio not established

    Posted 5 days ago

    Hi Varun,

     can you please provide more information about what you are trying to achieve? .NET 6 will not be aware of the license path you are mentioning. It should be present inside your application bin folder. Look for a clidriver folder inside your application bin folder and the license file should be inside clidriver\license\ folder.

    Please note, the path you are pointing out is for dsdriver based .NET based driver and not for .NET 6/.NET8 as they are self contained deployments. If you want, you can keep the license files inside .nuget cache folder inside user directory.

    Thanks 

    Vishwa



    ------------------------------
    Hosathota Vishwanatha
    ------------------------------