Problem Navision Attain Hash BSTRconverter in 4.0 NAS

Johnny_ReggaeJohnny_Reggae Member Posts: 63
I'm in the middle of an upgrade from 3.10 tot 4.0 sP1.
I'm running an NAS to read and process mails in a certain mailbox. I store the Outlookfolder to check, in the customer record. And I use the Hash BSTRConverter automation to convert this BLOBfield and to connect to the correct Outlookfolder.
In 3.10 this all works correctly, but in 4.0 SP1 I get the following error : "Could not create an instance of the OLE Control or Automation server identified by GUID =... 1.0 ... Navision Attain Hash 1.0 Converter. Check."
When I run the code from the client it also works correctly...

What could be the problem or solution to this ?

Comments

  • ara3nara3n Member Posts: 9,256
    You need to register the DLL "Navision Attain Hash 1.0 Converter" on the computer where NAS is running.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Johnny_ReggaeJohnny_Reggae Member Posts: 63
    The DLL is registered correctly. When I run the codeunit from the Object Designer, it runs perfectly. When I run the code with the NAS, it gives me the error. Does anybody know the design of this DLL has changed ?
  • ara3nara3n Member Posts: 9,256
    Is the NAS and the client running on same computer?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • DenSterDenSter Member Posts: 8,305
    Did you also upgrade your NAS executables? All Navision related software on your system should be installed from the same build.
  • Johnny_ReggaeJohnny_Reggae Member Posts: 63
    NAS and client are running on the same computer. On this computer only version 4.0 SP1 is installed...
  • ara3nara3n Member Posts: 9,256
    With what user are you running NAS and check the permission of that user. Make sure it has admin rights.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Johnny_ReggaeJohnny_Reggae Member Posts: 63
    It runs on the network administrator account, who has all the rights needed.
    Maybe I just try to re-install the client.
  • ara3nara3n Member Posts: 9,256
    Let us know if re-install has solved the problem.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • zzhengzzheng Member Posts: 30
    when i use run the codeunit manually, it works well.
    but when use the application service,
    it cannot create the object.
    the Login in user is Windows administrator, and the role is super user.
Sign In or Register to comment.