I'm following the steps from this page: http://dcx.sap.com/index.html#sqla170/en/html/81bb258d6ce21014ba6de1afe59a0e01.html

I'm getting this error: [-10362] No overload matching 'GetUpload(uploaded_ptr)' was found in class 'MobiLinkOrders'

My function definition is pasted directly from the tutorial: public void GetUpload(UploadData ut)...

Any suggestions? I've followed the tutorial steps verbatim (other than one change detailed below). I tried debugging the .NET project, but the MobiLinkOrders constructor is never even called.

(By the way, I first got an error that the DLL had no handler for EndSync. I think that's because the source code contains EndDownload(), but not EndSync(). I changed the connection script to this: CALL ml_add_dnet_connection_script( 'default', 'end_download', 'MobiLinkOrders.EndDownload' ); That seemed to fix it.)

Now I am stuck on the No overload matching 'GetUpload(uploaded_ptr)' error.

Please help.

asked 16 Feb, 14:09

Eric%20MurchieBeyma's gravatar image

Eric Murchie...
162
accept rate: 0%

edited 16 Feb, 14:11

The EndDownload vs EndSync aspect is a bit of confusion in the docs. Prior versions of the docs used EndDownload( ) throughout. The current v17 on switched to EndSync( ) but the text does not always match the example code so you have a couple of places where you can get those flipped. Someone is already looking into getting that fixed.

Sounds likely you figured it out well enough.

As to your -10362 error "No overload matching 'GetUpload(uploaded_ptr)

I'm not seeing how you got to that error unless your method is not part of your 'MobiLinkOrders' class? {maybe you have it defined at file scope?}

(16 Feb, 19:04) Nick Elson S...

I'm not having any issues with the tutorial (other than the EndSync/EndDownload nonsense).

What version of csc are you using to compile the assembly?

Would you be able to post the full MobiLink log when you synchronize?

Reg

(3 mins ago) Reg Domaratzki
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×270
×70

question asked: 16 Feb, 14:09

question was seen: 47 times

last updated: 2 mins ago