Server Unavailable when trying to OPen RTC

suvidhasuvidha Member Posts: 117
edited 2010-05-17 in NAV Three Tier
Hi,
I am tired of breaking my head on this!! :x
I went through all the related posts but, nothing helped so far.

I did an upgrade of DB from 4.0 sp1 to NAV 2009 SP1. The database has 2 companies.
Everything is installed on my laptop alone.
In Classic client everything is working fine.

I created a separate NAV service for this DB to open RTC.
I also ticked the “Enable for Microsoft dynamics NAV Server” option.
I restart the service almost every time before opening RTC.

But when I try to open RTC, It throws an error:

The Server “net.[url=tcp://localhost:7046/DynamicsNAV2/Service]tcp://localhost:7046/DynamicsNAV2/Service[/url]” is either unavailable or your connection has been lost.

I tried to understand the Event Log but :(
Please let me know if this Event Log makes some sense!
](*,)

Log Name: Application
Source: MicrosoftDynamicsNAVClient
Date: 12-May-10 3:56:57 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ABCindia03-PC
Description:
Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Message: The connection to the server has been lost. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.Run()
Source: Microsoft.Dynamics.Nav.Client
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The connection to the server has been lost. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, Exception e, Int32 messageNumber, String sessionId)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.GetNavigationFrame(Boolean applyPersonalization, Boolean getNavigationFrameFromServer)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.GetNavigationFrame()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.RefreshNavigationForm()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.InitializeCore()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.Initialize()
at Microsoft.Dynamics.Framework.UI.UISession.Initialize()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.SetupUISession()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Init()
at Microsoft.Dynamics.Nav.Client.WinClient.RunCore()
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
Type: System.ServiceModel.CommunicationException
Message: The sequence has been terminated by the remote endpoint. Due to a user abort the reliable session cannot continue. The reliable session was faulted.
StackTrace:

Server stack trace:
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingXmlDictionaryReader.get_InnerReader()
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingXmlDictionaryReader.Close()
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingMessage.OnClose()
at System.ServiceModel.Channels.Message.Close()
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Nav.Types.INavService.GetNavigationFrame(Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.<>c__DisplayClass8e.<GetNavigationFrame>b__8c()
at Microsoft.Dynamics.Nav.Client.ServerCallContext`1.InvokeCall(Object instance)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
Source: mscorlib
Type: System.ServiceModel.CommunicationException
Message: The sequence has been terminated by the remote endpoint. Due to a user abort the reliable session cannot continue. The reliable session was faulted.
StackTrace:
at System.ServiceModel.Channels.CommunicationObject.ThrowPending()
at System.ServiceModel.Channels.DuplexChannel.BeginReceive(TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingDuplexSessionChannel.InnerChannelReceive(TimeoutHelper timeoutHelper)
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingDuplexSessionChannel.ReceiveChunkLoop(Object state)
Source: System.ServiceModel

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"&gt;
<System>
<Provider Name="MicrosoftDynamicsNAVClient" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-05-12T10:26:57.000000000Z" />
<EventRecordID>23258</EventRecordID>
<Channel>Application</Channel>
<Computer>ABCindia03-PC</Computer>
<Security />
</System>
<EventData>
<Data>Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Message: The connection to the server has been lost. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.Run()
Source: Microsoft.Dynamics.Nav.Client
Type: Microsoft.Dynamics.Nav.Types.NavConnectionLostException
Message: The connection to the server has been lost. The application will close.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.HandleCommunicationFailure[T](CallServerMethod`1 callServerMethod, Exception e, Int32 messageNumber, String sessionId)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.GetNavigationFrame(Boolean applyPersonalization, Boolean getNavigationFrameFromServer)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.GetNavigationFrame()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.RefreshNavigationForm()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.InitializeCore()
at Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.Initialize()
at Microsoft.Dynamics.Framework.UI.UISession.Initialize()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.SetupUISession()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Init()
at Microsoft.Dynamics.Nav.Client.WinClient.RunCore()
at Microsoft.Dynamics.Nav.Client.ExceptionHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
Type: System.ServiceModel.CommunicationException
Message: The sequence has been terminated by the remote endpoint. Due to a user abort the reliable session cannot continue. The reliable session was faulted.
StackTrace:

Server stack trace:
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingXmlDictionaryReader.get_InnerReader()
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingXmlDictionaryReader.Close()
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingMessage.OnClose()
at System.ServiceModel.Channels.Message.Close()
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Nav.Types.INavService.GetNavigationFrame(Boolean applyPersonalization)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.<>c__DisplayClass8e.<GetNavigationFrame>b__8c()
at Microsoft.Dynamics.Nav.Client.ServerCallContext`1.InvokeCall(Object instance)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Threading.WaitCallback.EndInvoke(IAsyncResult result)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](CallServerMethod`1 callServerMethod)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](CallServerMethod`1 callServerMethod)
Source: mscorlib
Type: System.ServiceModel.CommunicationException
Message: The sequence has been terminated by the remote endpoint. Due to a user abort the reliable session cannot continue. The reliable session was faulted.
StackTrace:
at System.ServiceModel.Channels.CommunicationObject.ThrowPending()
at System.ServiceModel.Channels.DuplexChannel.BeginReceive(TimeSpan timeout, AsyncCallback callback, Object state)
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingDuplexSessionChannel.InnerChannelReceive(TimeoutHelper timeoutHelper)
at Microsoft.Dynamics.Nav.Types.Channels.ChunkingDuplexSessionChannel.ReceiveChunkLoop(Object state)
Source: System.ServiceModel
</Data>
</EventData>
</Event>

Comments

  • aliennavaliennav Member Posts: 449
    Buddy, no need to break your head.
    Just check at 2 places about the values.
    1) In program files on server machine.
    2) In documents and settings in client machine.
    If client n server are on same machine check in both the files.

    chk 4 customs.config file.
    If u need the exact path i'll search 4 u.
    :)
Sign In or Register to comment.