Announcements
Starting a few weeks ago (No server changes since then) every day or two it seems the GP Session Services quits working properly.
The service stays running but new sessions are not able to be created, while being able to access previously created sessions.
The only event that coincides with the timing of this is:
An error occurred during session monitoring: 'System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionHostMonitor.get_MemoryAvailableMBytes()
at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionHostMonitor.get_MemoryUtilization()
at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionMonitor.CreateSessionHostStatus(DateTime lastStatusUpdate)
at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionMonitor.DoCleaningAndReporting(SessionCleaner cleanerInstance, SessionReportingInfo optionalTerminatedSessionReportingInfo)'.
I have went through steps for a similar issue for another module and have ensured the service account has logon locally, logon as batch and logon as service.
Restarting the service resolves the issue but is not a fix considering the random timings and how often.
a note for others that may somehow have this exact issue. if your web services live on this server, you will need to run the configuration utility and repair all companies to restore email actions for workflows if they were previously enabled.
After monitoring and investigating the plentiful amount of issues I was having with this server... The RPC Error, Stub received bad data, about 10 services crashing constantly. I finally made the connection to windows update as I was having issues installing them. Thought nothing of it, because to be honest I cant recall a time where windows updates properly worked at our business (meaning without at least 1 or 2 failing to install from a batch).
Found a post on reddit about an issue with WSUS and the first few windows updates for a new server. So i dropped the server off the domain and am currently installing updates without issue. I am confident everything will go back to normal after it is joined back to the domain.
The RPC Server error occurs when something is attempting to connect using a COM object. The most common time we see this error is when IM is unable to "find" GP.
Usually the solution is to just open GP on the same workstation and make sure both are ran as an Admin.
For Web Client, the only item that would work somewhat like this would be the Session Runtimes. As the issue is intermittent that makes this hard to nail down.
I would start by looking into any issues what would be blocking COM transmissions. This could include the RPC Service on the server (likely the Session Server) stopping for some reason, or there could be other errors in event viewer.
As its not something we have seen much, it may be worth a case if the community doesn't have other ideas. Just be aware that intermittent issues are not always resolvable within a case.
Thanks!
One server for Web Services and one for the GP Database.
Hello MGLRCR,
This sounds like a connection issue. That said, we have not seen this error anytime recently with regards to Web Client.
Do you have your Web Client installed on different servers?
Thanks!
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156