Service NAV Stop when Item No. rename

Lidya_TanLidya_Tan Member Posts: 16
edited 2012-03-21 in NAV Three Tier
Dear All,

My NAV service is stop when Item No. is rename in Item card.
Error message like this

there was no end point listening at
net.[url=tcp://svr-mddl:7046/DynamicsNAV/Service]tcp://svr-mddl:7046/DynamicsNAV/Service[/url] that could accept the message.
This often caused by an incorrect address or SOAP Action. See InnerException, if present, for more detail

Anyone can help me to handle this problem?

Best Regards,
Lidya

Comments

  • julkifli33julkifli33 Member Posts: 1,092
    change the service as local and then restart it
  • postsauravpostsaurav Member Posts: 708
    Hi Lidya,

    The machines might not be resolving the address properly.
    Try changing the endpoint referenced on the client to refer to an IP address instead of a hostname.

    "You need to Change the CustomSetting.config file and replace the svr-mddl with the IP address of the machine."

    It's also possible there are some firewall issues here blocking port 7046.
    In short, it means the client machine can't connect to the service.

    Let me know if not resolved.

    Thanks & Regards,
    Saurav Dhyani
    http://saurav-nav.blogspot.com/

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Lidya_TanLidya_Tan Member Posts: 16
    Thanks postsaurav for reply :D ,

    I have a event viewer when error is happen

    1. it is in terminal server event viewer
    Exception System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
    at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
    at System.Net.Sockets.Socket.Bind(EndPoint localEP)
    at System.Net.Sockets.TcpListener.Start(Int32 backlog)
    at System.Net.Sockets.TcpListener.Start()
    at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
    at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary properties, IServerChannelSinkProvider sinkProvider, IAuthorizeRemotingConnection authorizeCallback)
    at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary properties, IClientChannelSinkProvider clientSinkProvider, IServerChannelSinkProvider serverSinkProvider)
    at Microsoft.BusinessSolutions.Integration.MetadataService.MetadataProvider..ctor() occured in .ctor


    Only one usage of each socket address (protocol/network address/port) is normally permitted

    2. it is in middle server event viewer

    Faulting application Microsoft.Dynamics.Nav.Server.exe, version 6.0.32074.0, time stamp 0x4d1e79b0, faulting module nclcsrts.dll, version 6.0.32074.0,
    time stamp 0x4d1e77cf, exception code 0xc0000005, fault offset 0x000c6a39, process id 0x1078, application start time 0x01cc613a287795be.


    Service: MicrosoftDynamicsNavServer
    User: WLR\DERI
    Type: System.AccessViolationException
    Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    StackTrace:
    at Microsoft.Dynamics.Nav.Runtime.NativeMethods.AdapterRenameRecord(IntPtr connectionHandle, UInt32[] serverIndirectPermissions, IntPtr tableHandle, IntPtr recordHandle, IntPtr newRecordHandle, Boolean errorLevel)
    at Microsoft.Dynamics.Nav.Runtime.NavRuntimeAdapter.RenameRecord(IntPtr connectionHandle, UInt32[] serverIndirectPermissions, IntPtr tableHandle, IntPtr recordHandle, IntPtr newRecordHandle, DataError errorLevel)
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.Rename(DataError errorLevel, Boolean runApplicationTrigger, Boolean runGlobalTrigger, NavValue[] values)
    at Microsoft.Dynamics.Nav.Runtime.NavRecord.Rename(Boolean showDialog, DataError errorLevel)
    at Microsoft.Dynamics.Nav.Service.NSField.ValidateField(NavConnection connection)
    at Microsoft.Dynamics.Nav.Service.NSField.Validate(NavConnection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.<>c__DisplayClass36.<ValidateField>b__35(Connection connection)
    at Microsoft.Dynamics.Nav.Service.NSService.ExecuteOperation[T](String operationName, ServiceOperation`1 operation, Connection connection, Boolean revertLanguageChanges, WindowsIdentity impersonationIdentity)
    Source: Microsoft.Dynamics.Nav.Ncl


    if I Change the CustomSetting.config file and replace the svr-mddl with the IP address of the machine can this problem solve? [-o<

    Thanks and Best Regards,
    Lidya
  • postsauravpostsaurav Member Posts: 708
    Hi Lidya,

    When the server is unable to Resolve the Domain Name with IP address, these issues happens.
    so try using IP address insted of Machine Name in Config file.

    Thanks & Regards,
    Saurav Dhyani
    http://saurav-nav.blogspot.com/

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • Big_DBig_D Member Posts: 207
    Hi Lidya,

    Did you manage to resolve this issue - did postsaurav suggestion work - as we are in exactly the same situation as you but postsaurav suggestion made no difference am afraid!

    With thanks
    Big D signing off!
Sign In or Register to comment.