cancel
Showing results for 
Search instead for 
Did you mean: 

Error while connecting SAP using SAP .NET Connector

Former Member
0 Kudos

Hi,

We are developing a ASP.NET application to display customer credit details using SAP .NET connector for microsoft visual studio 2003.

While creating proxy class( running SAP .NET connector wizard), we are getting an error saying : Open file "C;\WINDOWS\sapmsg.ini" failed.

Can anyone please tell me how to resolve this error. How can I include this file.

thanks in advance,

Nagesh Aswartha

Accepted Solutions (0)

Answers (3)

Answers (3)

reiner_hille-doering
Active Contributor
0 Kudos

SAPMSG.INI is only needed if you use load-balanced logon from a destination defined in SAP Logon. If you select "Custom logon settings" and specify an application server (name or IP), system number, user name, client, and password, it will work.

Former Member
0 Kudos

You can create <b>sapmsg.ini</b> in C:\Windows in your PC with the below content. Put the below lines in a notepad and save as "sapmsg.ini".

<i><b>[Message Server]

PRD=<server ip address or machine name>

DEV=<server ip address or machine name></b></i>

Here DEV and PRD are your system ID in your sap GUI logon pad.

Thanks & Regards,

Govind.

Former Member
0 Kudos

hi Aswartha,

That file should be in ur server machine..,and it will be generatd automatically when u configured SAP-GUI in ur server machine..,if u r having SAP-GUI and still if it is not creatd send me ur mail id i wil send tht file to u..,u just change the message server name and use it..,

Regards,

Vinoth

Former Member
0 Kudos

Please send the information to nageshar@advanceagro.com.

thanks in advance.

Nagesh Aswartha