web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

GP 2018 Web Client - Session Issues

(0) ShareShare
ReportReport
Posted on by 15

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.

Categories:
I have the same question (0)
  • Justin Sutton Profile Picture
    on at
    RE: GP 2018 Web Client - Session Issues

    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!

  • MGLRCR Profile Picture
    15 on at
    RE: GP 2018 Web Client - Session Issues

    One server for Web Services and one for the GP Database.

  • Suggested answer
    Justin Sutton Profile Picture
    on at
    RE: GP 2018 Web Client - Session Issues

    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!

  • Suggested answer
    MGLRCR Profile Picture
    15 on at
    RE: GP 2018 Web Client - Session Issues

    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.

  • MGLRCR Profile Picture
    15 on at
    RE: GP 2018 Web Client - Session Issues

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans