cancel
Showing results for 
Search instead for 
Did you mean: 

Database server type not supported for hanadb

0 Kudos

hello,

Any idea about that error?

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member283573
Discoverer
0 Kudos

Hello,

IDK if you are using a combobox to select dbtype, but I was getting the same error and using this my error has been solved:

With Me.TipoSQL

            .Items.Add(SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012)

            .Items.Add(SAPbobsCOM.BoDataServerTypes.dst_HANADB)

        End With

------------------------------------------------------------

      Select Case Me.TipoSQL.SelectedItem

                Case SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012

                    .DbServerType = SAPbobsCOM.BoDataServerTypes.dst_MSSQL2012

                Case SAPbobsCOM.BoDataServerTypes.dst_HANADB

                    .DbServerType = SAPbobsCOM.BoDataServerTypes.dst_HANADB

            End Select

former_member185682
Active Contributor
0 Kudos

Hi Houssam,

Can you explain more about your problem?

What is your dabatase?

What properties you are filled in your company object?

In what moment the error occurs?


Best regards,

Diego Lother


View Diego Lother's profile on LinkedIn

0 Kudos

When I connect to the HANA DB through visual studio remotely from my machine I got this error, but if I copy the solution and run it on the SAP B1 (Not HANA Server) evertything works properly

Former Member
0 Kudos

Couple of things to check

-Do you have the SAP client installed? If yes, check your HANA ODBC driver, for further info you can check here SAP HANA ODBC Driver missing. | SCN

-Try to install the DI API from your server.

edy_simon
Active Contributor
0 Kudos

How is your connection code ?