cancel
Showing results for 
Search instead for 
Did you mean: 

HANA Synonymconfig - Invalid XPATH

Former Member
0 Kudos

Hi All,

I've created a .hdbsynonym which I consume in my calculation views in my MTA container. I am trying to define a .hdbsynonymconfig with schema.configure option. However, this is giving me an invalid xpath and incorrect namespace issue. It seems to not recognize the schema.configure and doesn't build the file at all.
Any Help please.
Cheers
Kiran

Accepted Solutions (0)

Answers (3)

Answers (3)

gabrielnaraujo
Explorer

Hi guys,

I got the same error message (...target/schema.configure: invalid xpath [8258506]) and, in my case, the reason for the error was that I created the cfg folder in the wrong place (under src). The cfg folder must be created at the same level as the folder src.

After moving the cfg folder to the same level as src, it has built successfully.

Best regards,

Gabriel

former_member596419
Discoverer
0 Kudos

Hi @thomas.jung,

I have been facing this issue of Invalid XPATH even after having my hdbsynonymconfig file kept inside the cfg folder. I have also kept the hdbgrants file in the same folder as you suggested. The @sap/hdi 'write' task is successful. But the @sap/hdi 'make' task fails and the error crops up. The error is in the line for 'schema.configure'. The synonym is not being built. Any idea how I can solve this issue ?

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Is your hdbsynonymconfig file in the /cfg folder alongside the hdbgrants? I got the same error until I relocated by hdbysnonymconfig there. I have an example of the hdbsynonymconfig in the SPS 03 branch of the openSAP HANA development course here:

https://github.com/SAP/com.sap.openSAP.hana5.example/tree/hana2_sps03/core_db/cfg