Open Forum

Expand all | Collapse all

.NET error on one server, but not another

  • 1.  .NET error on one server, but not another

    Posted 3 days ago

    We just had some custom development done and recently moved it from Test into Production.
    We're getting the error below on three of our User Application Servers, but not on one of them.

    Error message when trying to get a Kuebix Freight Quote in NAV 2016. Works on one UAS, but not the other three.


    The odd thing, is we copied the same dll files to the NAV 2016 Server Add-in folder (C:\Program Files\Microsoft Dynamics NAV\90\Service\Add-ins) on all of the servers and confirmed they're exactly the same as the ones in our Test environment.
    We thought that we might need these added to the NAV 2016 Client Add-in folder as well (C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Add-ins), but that didn't help either.

    Does anyone have any thoughts as to what we could be missing?



    ------------------------------
    David Stephenson
    IT Manager
    Mity Inc.
    ------------------------------
    Academy - Online Interactive Learning from Experts


  • 2.  RE: .NET error on one server, but not another

    Posted yesterday
    Have you tried re-selecting the variable sub-type? Sometimes that's all it takes.

    ------------------------------
    Norman Cruz
    CEO
    CNCOVE INC
    CA CA
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 3.  RE: .NET error on one server, but not another

    TOP CONTRIBUTOR
    Posted yesterday
    Have you verified that the service account (the account the NAV Service Tier is running under) has read permission to that specific add-on directory C:\Program Files\Microsoft Dynamics NAV\90\Service\Add-ins ? That would need to be done on each service tier server.

    ------------------------------
    Kyle Hardin
    Business Central Developer
    ArcherPoint Inc.
    Atlanta GA
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 4.  RE: .NET error on one server, but not another

    Posted an hour ago
    Thanks for the suggestions @Kyle Hardin and @Norman Cruz.
    We checked both things and are still getting the error​​.
    The developer sent over their Visual Studio solution so we can try to recompile the .NET add-on to see if something went wrong when it was sent to us.
    I'll post an update here once our internal developers have a chance to take a look at it.

    ------------------------------
    David Stephenson
    IT Manager
    Mity Inc.
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 5.  RE: .NET error on one server, but not another

    TOP CONTRIBUTOR
    Posted an hour ago
    Right after you restart the service tier (the one that has the problem), check the Application Event Log. There may be more information or a better error message.

    ------------------------------
    Kyle Hardin
    Business Central Developer
    ArcherPoint Inc.
    Atlanta GA
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 6.  RE: .NET error on one server, but not another

    Posted an hour ago
    David,

    One very important thing i forgot to mention is, make sure you register the .dll.

    you can use the regsvr32.exe at the command prompt. Make sure to run command prompt as administrator.

    Thanks

    Norman

    ------------------------------
    Norman Cruz
    Owner/Dynamics NAV Consultant
    CNCOVE INC
    WEST HILLS CA
    ------------------------------

    Academy - Online Interactive Learning from Experts


If you've found this thread useful, dive deeper into User Group community content by role