Skip to Content
0

SAP HANA 2.0 User Management: "An unwanted error has occured"

Dec 28, 2016 at 07:26 PM

230

avatar image

Hi,

we have an new installation of Hana 2.0. If I try to set the role for the users I get this error:

"An unwanted error has occured"

Its doesn't matter what I try to do, it always throws this error if I try to save.

Console: "Failed to load resource: the server responded with a status of 404 (Not Found) XMLHttpRequest.send @ ajaxHelper.js:67"

10 |10000 characters needed characters left characters exceeded

What a masterpiece of an error message... :(

Two languages, a confirmation that there is a problem but no additional information that could possibly lead to an understanding or solution of the issue.

This error message dialogue is a failure in design and implementation. I recommend to open a bug report for this!

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Dirk Raschke Dec 28, 2016 at 07:50 PM
1

Ok, could solve this issue by assigning the roles by "SAP HANA: Security" IDE.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

The error message (rendered on the UI in reaction to the 404 response of the REST call to the xsuaa) is awful - no doubt about that.
But I would be curious on the underlying problem (REST call responding with 404).
What do you mean by "could solve this issue by assigning the roles..."?
I'd have checked the xsuaa.log (using SAP HANA Studio) for the root cause of that 404 response.

Best regards, Wolfgang

0

Hi Wolfgang,

in the dialog "User Management" I can't save nothing. If I try to save any changes (i.e. removing roles from the user) than the error comes up. To get the right role assigned to the user, I used the "Security"-WebIDE.

But the problem is still there!

Maybe it has something to do with an other problem which we have... There seems something wrong with our "XS_APPLICATIONUSER"

https://answers.sap.com/questions/94678/sap-hana-20-db-explorer-is-empty.html

BR

Dirk

0

Hi Dirk,

Where can I add this SAP HANA:Security Role. I found a role named as sap.hana.xs.ide.roles::securityadmin in IDE. But I cannot find the one you mentioned.

Thanks,

Hong Liu

0
Dirk Raschke Jan 26, 2017 at 07:40 AM
0

Hi Hong Liu,

do you have the same problem, otherwise you can use the user management tool ( with User XSA_ADMIN).

If you have this role (sap.hana.xs.ide.roles::SecurityAdmin) you should be able to reach this path: http://host:port/sap/hana/ide/security/

And there you can drop your created App Role Collection.

(Of course you have to create your WebIDE Role Collection at first in the "XS Advanced Administration and Monitoring Tools"... there is an SAP Academy Video somewhere...)

Hopefully it helps you!

BR Dirk


sec.png (4.5 kB)
Share
10 |10000 characters needed characters left characters exceeded