on 10-19-2004 9:19 AM
Hi,
I'm connecting to SAP using load balancing, setting the following properties of a destination object:
SAPSystemName
LogonGroup
MsgServerHost
Client
Username
Password
Language
When I open the connection I get a RfcException on some systems with the message "Open file 'C:\WINNT\sapmsg.ini' failed".
The file "sapmsg.ini" is installed in the SAPGUI directory "C:\Programme\SAPpc\SAPgui".
On most of the systems in our company it's also installed in the windows directory and everything works correctly. But on new installed systems it's only in "C:\Programme\SAPpc\SAPgui" and so the connection fails.
Is the windows directory the standard location of this file? Our SAP administration says C:\Programme\SAPpc\SAPgui is the standard directory.
Can I tell NCO the location of this file?
Thanks
Markus
Hi,
Solution given by Mr. Chakrapani worked for me for IDES system.
Thanks,
Madhu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Romba,
I had the same error and fixed it like this:
1. Create new file sapmsg.ini with following content:
<SID>=<IP-Adress>
e.g.
BEW=10.0.0.23
and save the file and copy it to C:\Windows\
2. Open file C:\Windows\system32\drivers\etc\services and add the following line:
sapms<SID> 36xx/tcp (where xx is the system nr)
e.g.
sapmsBEW 3600/tcp
This fixed the problem for me.
Regards,
Jann
sapmsg.ini is opend by LIBRFC32 - not NCo directly. I don't exactly know under which conditions it searches for it in which directory. You can look into RFC SDK documentation for details (this is install with SAPGUI).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had same error message when I tried to use the .NET Connector. Here is how we resolved this issue.
1. Make sure sapmsg.ini exists(if not create) and has following content
[Message Server]
DEV=SAPDEV
This can be different based on your system id.
2. Make sure in c:\windows\system32\drivers\etc\services file, an entry for message sevice exists as shown below,
sapmsDEV 3600/tcp
This can be different based on your system id.
3. When connecting using the .NET Connector proxy generator, use the Logon Groups instead of server logon.
Hi Chakrapani,
We are also facing the same issue.. Can u please let me know the procedure to fix this..
I got the following error Open file 'C:\WINNT\sapmsg.ini' failed and checked sapmsg.ini file in both windows and programs directory . But unfortunately i could not find the file. Can u please let me know the exact location of the file . If not found then what could be the alternate way to fix this.
1) Presently we r using SAP dot net connector version 2
2) Is it mandatory to uninstall SAP GUI & install it again
3) This is the exact error i am getting:
Error: An unhandled exception of type 'SAP.Connector.RfcException' occurred in sap.connector.dll
Additional information: Open file 'C:\WINDOWS\sapmsg.ini' failed
Please help me out!!!!!
Edited by: ARCHANA RADHAKRISHNAN on Aug 13, 2009 7:35 AM
User | Count |
---|---|
81 | |
10 | |
10 | |
8 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.