Log Name: Application
Source: MicrosoftDynamicsNAVServer
Date: 2/02/2009 10:26:39
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SPHINXWVBPVPS.Sphinx-it.local
Description:
User:
Type: System.ObjectDisposedException
Message:
Cannot access a disposed object.
Object name: 'System.ServiceModel.Channels.ServiceChannel'.
ObjectName: System.ServiceModel.Channels.ServiceChannel
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
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.IClientContract.OnServerTerminating()
at Microsoft.Dynamics.Nav.Service.Application.ServerTerminating(Object unused)
Source: mscorlib
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MicrosoftDynamicsNAVServer" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-02-02T09:26:39.000Z" />
<EventRecordID>1560</EventRecordID>
<Channel>Application</Channel>
<Computer>SPHINXWVBPVPS.Sphinx-it.local</Computer>
<Security />
</System>
<EventData>
<Data>User:
Type: System.ObjectDisposedException
Message:
Cannot access a disposed object.
Object name: 'System.ServiceModel.Channels.ServiceChannel'.
ObjectName: System.ServiceModel.Channels.ServiceChannel
StackTrace:
Server stack trace:
at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
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.IClientContract.OnServerTerminating()
at Microsoft.Dynamics.Nav.Service.Application.ServerTerminating(Object unused)
Source: mscorlib
</Data>
</EventData>
</Event>
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Its just the service of dynamicsNav that seems to have some problems this time.
Service also has been removed completly already and reinstalled with same error. P has been shutdown to see if it might have been cause it was newly installed but problem remains. I have checked some things out on google and seems it might have to do something with WCF.
I added the hostname to the host file under system32/drivers/etc
I did a dnsflush afterwards and this solved the problem. Which still has to be looked after why it didn't resolve the name, but less important at this time.
So i just wanted to add that this issue can be seen as solved. Still thx for those who looked after it
THis is on you... you need to edit your first pos and set the mark...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
what did you add the host file?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I have had the same issue. When I first ran the service after the server started, all was well. But if I stopped the service and then restarted it, I was getting that dispose error.
I found the reason was that even though I stopped the service via services.msc, it was still apparently running under the process list. After I managed to kill the process manually (via Task manager), the restarting of the service was successful.
I hope this helps someone.