Options

Error 2 in Module 5

sggsgg Member Posts: 109
Hello guys,

I get the following error when i try to print a Sales Invoice.

"Error 2 in Module 5"

What is the cause of this error?
How can it be corrected?
How can it be Prevented?
Sunday, Godwin G

Comments

  • Options
    Timo_LässerTimo_Lässer Member Posts: 481
    Internal error 2 in module 5
    C/FRONT error code: 327682
    The error is named #Err_BT_NotFound

    I've found two possible Reasons for this error:
    1. There is no default printer installed
    2. Navision has no access to a specific file or text (whatever it means)

    I hope this could help you.
    Timo Lässer
    Microsoft Dynamics NAV Developer since 1997
    MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
  • Options
    sggsgg Member Posts: 109
    Thanks for your response.

    The situation is that i only get this error when i want to print a Particular Sales Invoice.

    Other Sales Invoices are printing without any errors.
    Sunday, Godwin G
  • Options
    kinekine Member Posts: 12,562
    sgg wrote:
    The situation is that i only get this error when i want to print a Particular Sales Invoice.

    It means some specific Invoice or when you want to print any invoice? If any, invoice, check the pinter selection if there is some setup which have some non-existent printer. If some specific invoice, check some difference in that invoice and others. There must be something specific for this invoice.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    ara3nara3n Member Posts: 9,255
    I'm getting this error on a client in 5.0 NAS when they stop NAS. Any ideas?

    Nas starts without any issues. All it does it print a message. But when you stop you get the Internal Error 2 in Module 5.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    kinekine Member Posts: 12,562
    ara3n wrote:
    I'm getting this error on a client in 5.0 NAS when they stop NAS. Any ideas?

    Nas starts without any issues. All it does it print a message. But when you stop you get the Internal Error 2 in Module 5.

    Check that all variables you are using are defined as (and now I do not know - global or local - look at other varibls, if they are local, define your as local too. if they are global, define them as global too...) :-k
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    ara3nara3n Member Posts: 9,255
    I commented out all the code for the variables.

    It was actually calling

    CODEUNIT.RUN(CodeUnit::"CodeUnit Name");



    and just put message('testing')

    and still getting the error.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    kinekine Member Posts: 12,562
    And you have no variables defined by you? (some left behind, not used variables...)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    ara3nara3n Member Posts: 9,255
    It looks like it's related to 5.0 update 1. That the NAS doesn't release any locks. Tha's what MS is saying. I have to get the hotfix and find out if it's the cause.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    bbrownbbrown Member Posts: 3,268
    ara3n wrote:
    It looks like it's related to 5.0 update 1. That the NAS doesn't release any locks. Tha's what MS is saying. I have to get the hotfix and find out if it's the cause.

    Were you able to resolve this?
    There are no bugs - only undocumented features.
  • Options
    ara3nara3n Member Posts: 9,255
    Yeah
    I received a hotfix from MS and it solved it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    bbrownbbrown Member Posts: 3,268
    ara3n wrote:
    Yeah
    I received a hotfix from MS and it solved it.

    That was build 25653. Right? We installed that but then installed build 26026 to solve the print preview performance issue. Apparently that build does not contain the prior fix.
    There are no bugs - only undocumented features.
  • Options
    ara3nara3n Member Posts: 9,255
    Don't apply the fix to the nas?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Options
    bbrownbbrown Member Posts: 3,268
    Actually 26026 does not have the NAS executables. I need to reconfirm which build is installed on the NAS
    There are no bugs - only undocumented features.
Sign In or Register to comment.