cancel
Showing results for 
Search instead for 
Did you mean: 

SAP .NET error

Former Member
0 Kudos

Hi Friends,

We encountered an error in the event logs of our socket service using sap .net connector. Did anyone encountered the problem?

=================================================================================================

Service Encountered Error...

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

=================================================================================================

System.InvalidOperationException: Please use the Bind method before doing this operation.

at System.Net.Sockets.Socket.Accept()

at ISISSocketService.Service1.timer1_Elapsed(Object sender, ElapsedEventArgs e)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

=================================================================================================

The current OS of our server is Windows 2003 server.

Thanks,

John

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Friends

I am getting " Open file 'C:\WINDOWS\sapmsg.ini' failed " error while connecting Application Server thru SAP Connector.net

Can anybody have solution for this. Please advise me in this regard.

Thanks in advance

CH. Syam Kumar

Former Member
0 Kudos

Hi,

Do you have an application and you are using Sockets in this application? If yes, you should give more information about error. This information is not enough whether error is depend on connector or not.

Regards,

Huseyin Akturk

http://www.huseyinakturk.net

Former Member
0 Kudos

Hi Huseyin Akturk,

Thanks for the reply. Yes we have an application and we are using sockets. The socket is our mediator between our billing system and SAP ECC6 system. The billing system calls the socket then the socket service connects to SAP ECC6 via bapi call. If you need further detatails, please let me know. Thanks!

John

Former Member
0 Kudos

Hi,

As I understood your first message, problem is based on sockets. I also have knowledge in nonSAP technologies. Although here is not a .net forum, I can say your problem is deal with binding the port with your socket. You should examine this first. To fix and understand current error more, you can create a simple console application to connect SAP. Then, you should insert your application into your socket application. For creating first .net connector application you can get info from my articles:

http://www.huseyinakturk.net/2008/12/a-complete-sample-connection-to-sap-from-visual-studio-net-2003...

http://www.huseyinakturk.net/2009/01/a-comprehensive-example-for-connection-to-sap-with-visual-studi...

Regards,

Huseyin Akturk

http://www.huseyinakturk.net