Dot Net error?

thomastthomast Member Posts: 102
Does anyone know what this error means? And why I am getting it on an unmodified version of NAV2016 GB when trying to import an excel file into the Rapid Start Configuration Package?

Even more important, how do I solve it?

Thanks!

Comments

  • JonasAJonasA Member Posts: 28
    Looks like a call on a "null" value.
    Is it a standard object?
  • RockWithNAVRockWithNAV Member Posts: 1,139

    Hey thomast ,

    This error really comes when you dont have instantiated your DotNet or Automation Variables.
    Your error reflects for DotNet so to instantiate DotNet variable we use to write this Code

    IF ISNULL(DotNetVariable) THEN
    DotNetVariable := DotNetVariable.Constructor;

    But in this it seems to be a standard Object so you need to crosscheck this.

    Thanks
    Blog - https://twitter.com/rockwithnav
    Twitter - https://twitter.com/rockwithnav
  • thomastthomast Member Posts: 102
    Hi Guys, thanks!!! Yes, this is 100% standard NAV! Could to point me in the direction on how to install my DotNet variables as you suggest?

    Are you suggesting that I put the code you have written into the standard code?

    Thanks again!
  • RockWithNAVRockWithNAV Member Posts: 1,139
    Hey thomast ,

    I could have strongly recommended you to write the code what i wrote above if it would have been your customized object but the point is its a standard object of NAV not the custom one.

    Did you ever did anything to the standard code or modified some object with your custom one Or else can you please apply debugger and check which line of code is executing the issue

    Thanks
    Blog - https://twitter.com/rockwithnav
    Twitter - https://twitter.com/rockwithnav
  • kylehardinkylehardin Member Posts: 257
    I hate to ask the hard question, but is Excel installed and working, and of a version that 2016 supports? According to the installation requirements, it has to be Microsoft Office 2016, Microsoft Office 2013 SP1, Microsoft Office 2010 SP2, or Microsoft Office 365.
    Kyle Hardin - ArcherPoint
  • thomastthomast Member Posts: 102
    Kyle - this is a completely fair question! And might just hold the answer. I am running NAV on a Parralels desktop with windows7. The excel is actually the mac version. I will try to install on a newer Windows/Office and see where that takes me. Thanks!
  • mdPartnerNLmdPartnerNL Member Posts: 802
    excel should be installed in your VM.
  • zeonzeon Member Posts: 130
    Ever found a solution to this problem...?
Sign In or Register to comment.