Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Windows Registry Unable to read registry durign adding new ABAP Project to Eclipse

schmelto
Active Participant

When trying to add a new ABAP Project to Eclipse Workspace following Problem occurs:

Error during access to Windows Registry Unable to read registry value.
Root=HKCU, key=Software\SAP\SAPLogon\Options, name=LandscapeFileOnServer, type=REG_EXPAND_SZ

Someone know how to solve this issue?

Note: I use Eclipse 2021-09 and the latest ABAP Development Tools.

Update: I also tried it on Eclipse 2021-03 with the latest ABAP Development Tools there.

1 ACCEPTED SOLUTION

schmelto
Active Participant

We have updated the saplogon.ini to SAPUILandscape.xml this resolved the issue.

13 REPLIES 13

FredericGirod
Active Contributor
0 Kudos

did you check with regedit if the key exist ?

ronald_schilling
Explorer

I do have the same problem right now - no idea how to fix this

0 Kudos

Maybe take a look at the keys here. For me those settings should be migrated on Tuesday and for my college those settings work for now.

0 Kudos

Otherwise you can ignore the error and add the System manually.

Manuell is no problem, but i would like to use the logonpad

schmelto
Active Participant
0 Kudos

frdric.girod

FredericGirod
Active Contributor
0 Kudos

The type is not the same, no ? REG_SZ in your regedit & REG_EXPAND_SZ for eclipse.

Did you try to change it ?

schmelto
Active Participant
0 Kudos

I can't change the type in regedit.

Sandra_Rossi
Active Contributor
0 Kudos

I think you can do whatever you want with Regedit.exe

Just delete and recreate it.

Isn't there a SAP note for such a problem?

sratz
Advisor
Advisor
0 Kudos

Can you open a command prompt or PowerShell window and try:

reg query HKCU\Software\SAP\SAPLogon\Options /v LandscapeFileOnServer

Does this work? What does it return?

schmelto
Active Participant
0 Kudos

sebastian.ratz

$ reg query HKCU\Software\SAP\SAPLogon\Options /v LandscapeFileOnServer

HKEY_CURRENT_USER\Software\SAP\SAPLogon\Options
    LandscapeFileOnServer    REG_SZ    http://deingplm01:9999/SAPUILandscape_BC.xml

It works now. We have updated the saplogon.ini to SAPUILandscape.xml in the last week after this change the windows registry error seems to disapear.

schmelto
Active Participant

We have updated the saplogon.ini to SAPUILandscape.xml this resolved the issue.

gpotyrala
Discoverer

I have the same problem. Different key type than expected.

Solution was to change / recreate the key with other type REG_EXPAND_SZ which Eclipse is looking for as you see on your screen. Firstly delete and than create a new one.

could be done with windows command line CMD

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP\SAPLogon\Options /v LandscapeFileOnServer

reg add HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SAP\SAPLogon\Options /v LandscapeFileOnServer /t REG_EXPAND_SZ /d false