0

EF Core 6 with Hana client 2.18 throw error "HanaE... - SAP Community

 2 months ago
source link: https://community.sap.com/t5/technology-q-a/ef-core-6-with-hana-client-2-18-throw-error-quot-hanaexception-invalid/qaq-p/12782306
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

EF Core 6 with Hana client 2.18 throw error "HanaException: 'invalid table name: sap.hana.uis.db"

Tutorials: https://developers.sap.com/tutorials/hana-clients-entity-framework.html
--------------------------

Hello! I already do not have any ideas to find the solution.

The next error "Sap.Data.Hana.HanaException: 'invalid table name: sap.hana.uis.db/GET_WIDGET_DATA/tabletype/WIDGET_DATA_TABLE_TYPE: line 1 col 18 (at pos 17)'" throw when my application called the method Database.EnsureDeleted();

I am making all the steps on the tutorial but the result it's the same error again and again.

Can you show me any light? Please.

Accepted Solutions (0)

Answers (2)

Have you found a solution?

I have also tried the tutorial and get the same error.
https://developers.sap.com/tutorials/hana-clients-entity-framework.html

From my point of view, the tables with the function "EnsureCreated" are not created.

simon25

Advisorsimon25

Advisor

‎01-03-2024

This error suggests that the table name referenced here cannot be found or does not exist on the underlying schema "sap.hana.uis.db" in it's tenant Database :

"Sap.Data.Hana.HanaException: 'invalid table name: sap.hana.uis.db/GET_WIDGET_DATA/tabletype/WIDGET_DATA_TABLE_TYPE:"

The TABLES view can be checked in the sql console to verify it's existence.

Kind Regards

Simon


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK