cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI 'sapdp00' error

Former Member
0 Kudos

When I try to connect through sapgui640 I get the following error:

Service 'sapdp00' unknown

Component: NI

Release: 640

Version: 37

Module: ninti.c

line: 494

Method: NiPGetServByName2: service 'sapdp' not found

Return code: -3

Counter: 1

I had no problem logging on yesterday. I did install Norton Anti-Virus which I have subsequently uninstalled. I also uninstalled and reinstalled SAP GUI but the same problem continues to occur. Anyone have any suggestions?? Help!!

View Entire Topic
Former Member
0 Kudos

Hi All,

Can anyone help ? My users are facing the same problem as well. I had changed the registry entry: Databasepath to C:\WIndows\System32\Drivers\Etc instead of

%SystemRoot%\System32\drivers\etc and the users were able to login but after 1 or 2 weeks they can't login as well, even after changing the registry entry again.

Can anyone help ? Is there a permanet solution to the problem ? Is MSN Messenger 7.5 the cause of the problem ?

Please help.

Thank you

Christian_Cohrs
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

as John mentioned there is an OSS note on this, number 882741.

I've posted the content below. Please have a look and let us know if the problem is not fully solved when following the note instructions.

Best regards,

Christian

SAP Note No. 882741 29.09.2005 Page 1

________________________________________________________________________

Number 882741

Version 10 from 26.09.2005

Status Released for Customer

Set on 26.09.2005

Language EN

Master language EN

Short text SAP Logon: Logon balancing error, service 'sap...'

unknown

Responsible

Component BC-FES-GUI

Graphical User Interface

________________________________________________________________________

Long text

Symptom

Some users cannot longer connect SAP GUI to any SAP systems e.g. via SAP

Logon, SAPShortcut etc. although they have not made any update to either

SAP GUI or SAP system. The attempt to connect to the SAP system ends

with error messages like this: "Logon balancing error: could not

connect to message server (rc=9)", "service sapmsXXX unknown" or

"service sapdp## unknown".

The detailed error information is as follows:

Error: service 'sap...' unknown

...

Component NI (network interface), ...

rc = -3, module ninti.c, line 463

Detail NiPGetServByName: service 'sap...' not found

System Call getservbyname

Other terms

service sapmsXXX unknown,logon balancing,service sapdp## not found

error,etc/services,drivers\etc\services,getservbyname, sapdpxx

MSN Messenger 7.5,Connection Troubleshooter

Reason and Prerequisites

The reason for this malfunction is, that the datatype of the registry

value

HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath

was changed from REG_EXPAND_SZ to REG_SZ.

The following programs are currently known to cause this registry

change:

- Starting MSN Messenger 7.5 "Connection Troubleshooter" (Build

7.5.0299).

- Installation of MSN Messenger 7.0 or MSN Messenger 7.5 with

the option automatic scanning and configuration of ports.

This modification prevents the expansion of environment variables in the

value of the parameter. Therefore,

%SystemRoot%\system32\drivers\etc

is not translated to

c:\windows\system32\drivers\etc

and the services database is not found by the API function

Page 2

getservbyname().

If you have checked the datatype of registry value DatabasePath and it

is REG_EXPAND_SZ, apply SAP Note 52959 to check the appropriate settings

in the services file.

Solution

Start the registry editor and rename the registry value

HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath

Create an Expandable-String Value (REG_EXPAND_SZ) with the same name and

value.

If more PCs are affected, you can export the correct value to a .reg

file and import the .reg to other PCs.

If you have the same problem although you have not installed Microsoft

MSN Messenger 7.5, create a customer message, collect the following

information and attach it to the message according to note 541726 or

upload it to sapservX (see note 40024):

o Scan your workstations for spyware and viruses with up-to-date

virus definitions. If you already did that what was the result ?

o What software has been installed recently ? (client software,

Firewall)

Create a registry export of the following key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Unin

stall

on the affected and the unaffected PC respectively and attach the

two .reg files to the customer message.

o Are the users on the affected workstations logged on with

administrative credentials (local administrator ) ?

o Create an MPS Report Networking and Setup Perf of an affected

workstation so that we can check if they use an software in

common.

You can download the Networking MPS Reporting Tool at:

http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-

a579-30b0bd915706/MPSRPT_Network.exe

You can find a short description about the features of the tool

at:

http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-

a579-30b0bd915706/MPSRPT_Network_Readme.txt

The Setup Perf MPS Reporting Tool is located at:

http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-

a579-30b0bd915706/MPSRPT_SETUPPerf.EXE

Run this report too on identically configured workstations, which

are not affected.

Page 3

If you have already changed back the DatabasePath parameter and if after

a while the value was switched back to REG_SZ perform the following

steps to help us to identify the reason for this problem:

o Switch the datatype back to REG_EXPAND_SZ

o Download Regmon from http://www.sysinternals.com on the affected

machines

o Enable auditing on the affected clients

o Modify the settings of the eventlog so that no important entry is

deleted!

Open Regedit and highlight

HKLM\System\CCS\Services\TCPIP\Parameters

Right-click on "Parameters" and choos "Permissions" and click

"Advanced".

Choose "Auditing" and "Add".

Add "Everyone" and select "this key only" under "Apply onto".

Check the boxes "Set Value" and "Delete" and click "OK".

Apply these settings

o Start Regmon and apply the correct filter settings:

Press the "magnifying glass" button to stop the monitoring.

Press the rubber button to delete all logged entries.

Go to "Options Filter/Highlight".

Copy the following value to the include field:

tcpip\parameters\databasepath and click "Apply".

Start Regmon by pressing the magnifying glass button

o Verify that logging starts when you double-click the TCPIP Key in

regedit!

If the datatype will be changed again, provide us the output of the

monitoring tools.

________________________________________________________________________

Note is release independent

Further components

BC-OP-NT

Windows NT

________________________________________________________________________

Reference to related Notes

Number Short text

____________________________________________________________

52959 sapms..., sapdp.., sapgw.. unknown (or not found)

________________________________________________________________________

Former Member
0 Kudos

Hi,

I made the necessary changes in terms of registry editorby name type and data . Currently DataBasePath shows Type as REG_EXPAND_SZ and Data at c:\windows\system32\etc.

<b>I removed MSN 7.5 and disabled my firewall .</b>

But still I am getting the following messages :

service 'sapdp00' unknown

Time : Current time

Component NI(network interface)

Release 640

Version 37

Module ninti.c

Line 505

Method NIPGetservByName2: service 'sapdp00' not found

Return Code -3

Systemcall getservbyname_r

Counter 1

Any suggestions will be welcomed .

Thanks

JPReyes
Active Contributor
0 Kudos

Have you tryed to use saprouter string and replace sapdp00 for 3200 to see if you have a Name resolution problem?? i have seen this issue several times.

Usually

\H\Server\S\sapdpXX\H\

You can try with

\H\server Ip\S\32XX\H\

where XX is the system number.

Hope this help

Juan Reyes

Former Member
0 Kudos

Hi,

Thanks for your reply but sorry to ask a silly question . Where can I find the server details. Please note that I am trying to logon from my home and have a ADSL router.

Thanks

JPReyes
Active Contributor
0 Kudos

If you're connected from home... i guess you're using some sort of VPN tunnel and you have the sapgui in your PC...

Then... on the Gui click on the system and click on properties, then change SAP Router String.

Former Member
0 Kudos

Hi Juan,

Indeed I have a SAP GUi logon where the SAP Router String is empty .

Thanks

JPReyes
Active Contributor
0 Kudos

Ok...

you can try with adding this on the SAP Router String field.

/H/<saproutername>/S/sapdpXX/H/

or

/H/<SAP_router_IP_Address>/S/32XX/H/

Been XX the system number

Former Member
0 Kudos

Hi,

Now I am getting a different message with a slight delay :

Host unknown

Rest of the message is same as before .

In the SAP_Router_IP I put the hosting server ip address .

I am trying to connect a sandbox testing server in the US .

I checked the connectiong thru telnet and its working fine.

Regards

Sanjay

former_member273310
Discoverer
0 Kudos

I can't remember if I've seen this solution before, but one could update the saplogon.ini file in c:\Windows.

Match the item number in the MSSrvPort section with the item in the Database section. If you are using the standard port numbers then you would just hardcode the port number in each MSSrvPort line entry.

Atis

Former Member
0 Kudos

Hi,

Many thanks for your suggestion . But it is still not working .

Message : Server Unknown

Which can't be true because when I try to check through telnet it is responding .

Don't know what to do .

Regards

Former Member
0 Kudos

Hi, Finally it worked . Renamed the services file and it worked . Thanks to all you for your kind support in solving this issue .

Regards

Sanjay

RonieO
Explorer
0 Kudos

Hi,

had the same problem with Vista and Windows 7. Solution was :

go to C:\Windows\System32\drivers\etc and edit the services file like this (add)

sapdp00 3200/tcp #SAP Server

sapgw00 3300/tcp #SAP Gateway

Using SAP Gui 710 Final Release Patch level 7.

Ron