Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using SAP.Net connector and miniSAP

I installed MBS 4.6 from ABAP objects book with VS 2003 and .Net connector 2.0 on Windows XP. I am using Server Explorer-> Add Application Server -> SAPLOGON.INI based Logon Settings to connect with user=BCUSER and password=minisap. Altough the connection is established successfully, I canĀ“t see neither BOR nor Functions. I get an exception saying "You are not authorized to logon to the target system (error code 1)".

replied

I made it work by using password=MINISAP instead of password=minisap.

Please replace "HOSTIP" in the following example with your server's IP address or servername that is resolved by DNS.

My favorite connection string is:

"ASHOST=HOSTIP SYSNR=00 CLIENT=000 USER=BCUSER PASSWD=MINISAP ABAP_DEBUG=1 trace=1 use_sapgui=1"

It even fires SAPGUI so that you can step into the ABAP code of RFC function, examine the parameters you passed from .NET to RFC, and even view the results before it hands over control to your .NET program.

Try this, and let me know if it worked or you still have problems?

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question