Options

Talking with Navision: Exposing .NET Components to Navision

HediHedi Member Posts: 16
edited 2010-04-20 in NAV Three Tier
Hi All Im searching to use a .Net Compoment from NAV2009 and I found this page that describe haw to do it, but the problem is when I try to register the DLL into NAV (Registring new control) NAV return an error message "Could not Register the OLE Control"!!

http://msdn.microsoft.com/en-us/library/aa973247.aspx

Thanks for Help

Comments

  • Options
    Ashish_GuptaAshish_Gupta Member Posts: 56
    hi Hedi,
    you can use navision webservices for this (Pages and codeunit) and use CURD method to insert delete modify and read operation...........
    Ashish Gupta
    Navision Technical Consultant
  • Options
    raveendran.sraveendran.s Member Posts: 119
    Hi Ashish,

    Thanks for your suggestion, Can you please throw some light on the CURD method? is there any link to go through this part?
    --
    Regards,
    Raveendran.BS
  • Options
    Ashish_GuptaAshish_Gupta Member Posts: 56
    hi raveendran.s
    CURD(create,Update,Read and delete) is a Method which we can use on C#.Net,the simple way is that create the web services on navision and call this web services in .net and use all the classes and objects to use CURD methods..............

    all the best

    Ashish Gupta
    Navision Technical Consultant
    Ashish Gupta
    Navision Technical Consultant
  • Options
    jimclarkusjimclarkus Member Posts: 25
    Hedi,
    First Explain what you want to do?
    Still not getting exact requirement.
  • Options
    jimclarkusjimclarkus Member Posts: 25
    ashish and ravindran ....
    I think you both are changing topic of this forum.
    First understand what hedi want.
    Regards
    Jim
  • Options
    jimclarkusjimclarkus Member Posts: 25
    hi Hedi,
    you can use navision webservices for this (Pages and codeunit) and use CURD method to insert delete modify and read operation...........
    Hedi do not want web service ?
    I think so and waiting for his reply .
  • Options
    Ashish_GuptaAshish_Gupta Member Posts: 56
    hi jimclarkus
    I second post base on the reply of ravindran ....
    Ashish Gupta
    Navision Technical Consultant
  • Options
    HanenHanen Member Posts: 281
    What Hedi wants (he is my colleague), is to call an extern WCF Service from Nav, the solution we found is using COMs, any one have an idea how to do the call of WCF from NAV 2009???

    Thanks. :thumbsup:
    Regards

    Hanen TALBI
  • Options
    Jens_M-PJens_M-P Member, Microsoft Employee Posts: 39
    In NAV 2009 there is no way to call directly into managed assemblies from the C/AL language. You have to wrap your managed calls inside a COM object.
    Best regards,
    Jens Møller-Pedersen [MSFT]

    This posting is provided 'AS IS' with no warranties, and confers no rights.
Sign In or Register to comment.