Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

GP 2018 Web Client - Session Issues

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.

  • MGLRCR Profile Picture
    MGLRCR 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.

  • Suggested answer
    MGLRCR Profile Picture
    MGLRCR 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.

  • Suggested answer
    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!

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

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

  • 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!

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans