Can we see Log files info. in NAV when system throws Error.

satish_navsatish_nav Member Posts: 65
Dear All,

I am accessing NAVISON DB through web services from .net Application.

Can we see LOG file information,to know by which object or by whick function calling system throwing an ERROR.

I am getting an ERROR is:
Type: Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException
Message: Evalution failed for field Name due to the following error: "The maximum length for a string value is 50.".

Can you please guide me.
Thanks in advance..

Satish...

Comments

  • ara3nara3n Member Posts: 9,256
    I don't think it's possible.

    The only thing that stores what code executed is "code coverage" but finding which line error-ed out is not possible.

    If the error is not clear enough, you might want to change that.
    Is the error not clear enough?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • satish_navsatish_nav Member Posts: 65
    I could not know at what moment of code execution this Error is logged in to event viewer. By this error NAV service is getdown need to start the service again.

    Business logic is accessed from external application, how can we follow (or) enable the code coverage.

    any one please assist me on this...
    Thanks in advance..

    Satish...
  • ara3nara3n Member Posts: 9,256
    You need to debug the service tier to find out where it errors out. There is a blog on how to debug the service tier.


    http://blogs.msdn.com/b/clausl/archive/ ... -2009.aspx
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.