NAS stopping after 1 hour

redeboer
redeboer Member Posts: 13
Hello,

We are running nas on a windows 2000 server, to store e-mails in navsion.
We are using navision 4.0 SP2.
Now we have the problem that the NAS every time stops with an error message, after working for an hour.
It has worked for a couple of months.

This is the information I have found in the event log.

The description for Event ID ( 1000 ) in Source ( Microsoft Business Solutions-Navision ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: nas.exe, 4.0.2.22100, 43c646df, msmapi32.dll, 11.0.8002.0, 4373069d, 0, 0004a307.

After this message the NAS will do nothing anymore.

When I restart the service, it will works for an hour and than same thing.

Anybody an idea what to do?

Thanks

Comments

  • Waldo
    Waldo Member Posts: 3,412
    The event viewer doesn't tell much.

    - May be there is something wrong when sending a particular email;
    - Is the memory building up to some kind of limit;
    - Is there something changed on the configuration of the server (extra programs, programs deleted, ...);
    - ...

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • ta5
    ta5 Member Posts: 1,164
    Hi
    We once had the same problem. Afaik it is solved in SP3. The problem stems from constantly logging in on logging out from exchange.
    If you do not can/want upgrade to SP3 u can change the concerning codeunits only (about 3 codeunits):
    Hope this helps

    Thomas
  • ara3n
    ara3n Member Posts: 9,258
    It looks like NAS is sending emails? If yes, then the error is because autlook opens up the security window, and you can't do that in NAS.

    msmapi32.dll is autlook dll file.

    I suggest using smtp instead of autlook to send emails.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Waldo
    Waldo Member Posts: 3,412
    Upgrading to SP3 is always advisable ... also only the runtime upgrade.

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • Soft_Tod
    Soft_Tod Member Posts: 43
    ara3n wrote:
    I suggest using smtp instead of autlook to send emails.

    If it's a Mail issue, using Microsoft Outlook with NAS is never an easy solution. Using Outlook Express as client is however almost failproof.

    Regards
    It is impossible to make anything foolproof, because fools are so ingenious.
  • Waldo
    Waldo Member Posts: 3,412
    Soft Tod wrote:
    ara3n wrote:
    I suggest using smtp instead of autlook to send emails.

    If it's a Mail issue, using Microsoft Outlook with NAS is never an easy solution. Using Outlook Express as client is however almost failproof.

    Regards

    We always use the SMTP ocx on this site ... also pretty failproof...

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • ara3n
    ara3n Member Posts: 9,258
    Waldo wrote:
    Soft Tod wrote:
    ara3n wrote:
    I suggest using smtp instead of autlook to send emails.

    If it's a Mail issue, using Microsoft Outlook with NAS is never an easy solution. Using Outlook Express as client is however almost failproof.

    Regards

    We always use the SMTP ocx on this site ... also pretty failproof...

    I've use Jmail. It's running on 4 separate client site for about 1 year. No issues. :mrgreen:
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • Waldo
    Waldo Member Posts: 3,412
    Is this the JMail you're talking about:
    http://www.dimac.net/Products/w3JMail/start.htm

    Which license did you use?

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • ara3n
    ara3n Member Posts: 9,258
    I use the old COM version of jmail.

    http://www.dimac.net/default3.asp?M=Fre ... sstart.asp


    SKU A2001

    I've also posted code here on mibuso on how to use it.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ara3n
    ara3n Member Posts: 9,258
    Also Navsion 5 has already a smtp dll file. So you can take that dll as well.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ta5
    ta5 Member Posts: 1,164
    I think the original request was about the email logging functioanlity? :o

    Thomas
  • Waldo
    Waldo Member Posts: 3,412
    ta5 wrote:
    I think the original request was about the email logging functioanlity? :o

    Thomas
    Yes, and a possible track is to try to mail with Jmail to cover his problem ... O:)

    Eric Wauters
    MVP - Microsoft Dynamics NAV
    My blog
  • redeboer
    redeboer Member Posts: 13
    ara3n wrote:
    It looks like NAS is sending emails? If yes, then the error is because autlook opens up the security window, and you can't do that in NAS.

    msmapi32.dll is autlook dll file.

    I suggest using smtp instead of autlook to send emails.

    We are using NAS to store incoming e-mails in Navision.
    On the navision server is outlook 2003 installed.
    In the inbox of the nas user are some e-mails, but there is noting send from this inbox.

    How do you mean the nas is sending e-mails??
  • ara3n
    ara3n Member Posts: 9,258
    What I mean is that you are using the msmapi32.dll. And that dll file is crashing, causing NAS to crash as well.
    You need to find a more updated version of the dll. or use a different dll file.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • redeboer
    redeboer Member Posts: 13
    ara3n wrote:
    What I mean is that you are using the msmapi32.dll. And that dll file is crashing, causing NAS to crash as well.
    You need to find a more updated version of the dll. or use a different dll file.

    The mapi file is a part of outlook from office 2003.
    Version 11.0.8002.0.

    Where can I find another dll file?


    I have another message in the event viewer :

    The description for Event ID ( 1001 ) in Source ( Microsoft Business Solutions-Navision ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: 00000009, 1, nas.exe, 4.0.2.22100, 43c646df, nas.exe, 4.0.2.22100, 43c646df, 0, 0005e460.


    This nas is giving me a big headache, what can I do?
  • ta5
    ta5 Member Posts: 1,164
    I might be wrong, but I'm still very sure, it's this problem
    ta5 wrote:
    Hi
    We once had the same problem. Afaik it is solved in SP3. The problem stems from constantly logging in on logging out from exchange.
    If you do not can/want upgrade to SP3 u can change the concerning codeunits only (about 3 codeunits):
    Hope this helps

    Thomas
  • redeboer
    redeboer Member Posts: 13
    ta5 wrote:
    I might be wrong, but I'm still very sure, it's this problem
    ta5 wrote:
    Hi
    We once had the same problem. Afaik it is solved in SP3. The problem stems from constantly logging in on logging out from exchange.
    If you do not can/want upgrade to SP3 u can change the concerning codeunits only (about 3 codeunits):
    Hope this helps

    Thomas

    OK but when I install SP3 can I expect another problems, like SP2

    I am not a navision programmer, so I don't understand codeunits.
    What has to be changed in the codeunits?
  • ta5
    ta5 Member Posts: 1,164
    Sorry, I thought you are an implementor.
    I suggest that you contact your implementor. He can get a hotfix for that (as far as I remember this will include Codeunits 1, 5064, 5065). Codeunits are the containers where most of the code is located.

    Hope this helps

    Thomas