cancel
Showing results for 
Search instead for 
Did you mean: 

Mobile app connection to SAP

0 Kudos

Hi all,

I have developed a normal windows application which connect to SAP through the .NET connector in VS2008 and it worked fine. when trying to use the same connection code to write windows mobile application, the connection didn't work and this error appeared:

System.TypeLoadException was unhandled

Message="Could not load type 'SAP.Middleware.Connector.RfcDestination' from assembly 'sapnco, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436DCA5C7F7D23'."

StackTrace:

at Test.Form1..ctor()

at Test.Program.Main()

InnerException:

I have searched about this error and I understood that mobile applications can not connect to the .NET Connector directly and a web service/server should be found to handle these connections, but these findings were all dated to 2007-2009 (somehow old) so my questions are:

1- Is there a direct way to connect my mobile app to SAP?

2- if no, can you please show me an example of how to connect to SAP indirectly?

Thank you in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member80258
Participant
0 Kudos

What version of SAP is?

Do you to try ITS Standalone or Embbebed?

Regards