I have a problem with a DotNet dll

FranklinFranklin Member Posts: 253
edited 2012-09-10 in NAV Three Tier
Hi everybody,

It´s my first develop with a DotNet dll and i´m very lost.

I have read this link http://msdn.microsoft.com/en-us/library/gg502473.aspx although i can´t continue.

The dll update items in a Magento Shop.

This is my code:

Name DataType Subtype Length
Mg DotNet 'MagentoUp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1692ea30db94b742'.MagentoUp.Class1

This dll needs two parameters (Item."No.",Quantity);

I have created a buttom with this code
TSalesLine.RESET;
TSalesLine.SETRANGE("Document No.",Rec."No.");
TSalesLine.SETFILTER("Document Type",'%1',1);
IF TSalesLine.FINDFIRST THEN Mg.Consultar(TSalesLine."No.",80);

And when i push the bottom i received this message... what should i do? ](*,)

Comments

  • FranklinFranklin Member Posts: 253
    SOLVED:

    The property of the variable RunOnClient must be TRUE. It was FALSE #-o
  • Allan_BollAllan_Boll Member, Microsoft Employee Posts: 7
    Often you don't want to run your DotNet addin on the client, but rather on the server. In these cases you must place the DLL in "C:\Program Files\Microsoft Dynamics NAV\70\Service\Add-ins" on the machine running the NST.
  • FranklinFranklin Member Posts: 253
    Allan Boll this is my case. If the server runs the dll, in that case, must be also dll TRUE?
Sign In or Register to comment.