Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Error login dynamics web client 2013

Posted on by 145

Hi

We have installed Dynamics GP Web Client 2013 R2 on a web server computer. After successful installation of web client and check services running (GP Session Central Services, state: Running) we tried to login it given an error:

"There are no session hosts available for determining the most available session host in the farm. This error can occur if the session hosts are inactive or have reported that they cannot create any new sessions."

Can any one guide me here where i am doing wrong.

Thanks

*This post is locked for comments

  • James Cervantes Profile Picture
    James Cervantes 145 on at
    RE: Error login dynamics web client 2013

    I did a login test and then saw the windows event viewer on both servers, but in the session host there are not any new message, only in web server (the same error listed below):

    Web Server:

    Session-Server-Host.JPG

    Session Host:

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    RE: Error login dynamics web client 2013

    Your session host server isn't aware of the session host.

    Can you take a look at the Windows Event Viewer on the session host and see if there are any messages?

  • James Cervantes Profile Picture
    James Cervantes 145 on at
    RE: Error login dynamics web client 2013

    Ok, its installed in the Trusted Root Directory on both servers, but the issue persists, is the same error, aditional to this, shows the next message:

    Log Name:      Dynamics

    Source:        Microsoft.Dynamics.GP.Web.Services.SessionCentralService

    Date:          11/27/2014 9:23:00 AM

    Event ID:      0

    Task Category: None

    Level:         Error

    Keywords:      Classic

    User:          N/A

    Computer:    

    Description:

    There are no session hosts available to create a new session.

    Event Xml:

    <Event xmlns="schemas.microsoft.com/.../event&quot;>

     <System>

       <Provider Name="Microsoft.Dynamics.GP.Web.Services.SessionCentralService" />

       <EventID Qualifiers="0">0</EventID>

       <Level>2</Level>

       <Task>0</Task>

       <Keywords>0x80000000000000</Keywords>

       <TimeCreated SystemTime="2014-11-27T15:23:00.000000000Z" />

       <EventRecordID>401</EventRecordID>

       <Channel>Dynamics</Channel>

       <Computer></Computer>

       <Security />

     </System>

     <EventData>

       <Data>There are no session hosts available to create a new session.</Data>

     </EventData>

    </Event>

  • Suggested answer
    Tom Cruse Profile Picture
    Tom Cruse 1,475 on at
    RE: Error login dynamics web client 2013

    It needs to be in the Trusted Root directory.

  • James Cervantes Profile Picture
    James Cervantes 145 on at
    RE: Error login dynamics web client 2013

    Not, i installed in the Personal Store section:

  • Suggested answer
    Tom Cruse Profile Picture
    Tom Cruse 1,475 on at
    RE: Error login dynamics web client 2013

    Do you have the self-signed cert installed in the trusted publishers section for both servers?

    I know when we have issues logging in with a new user its because the cert is installed improperly.

  • James Cervantes Profile Picture
    James Cervantes 145 on at
    RE: Error login dynamics web client 2013

    Thanks Tom, but that i looking for in this enviroment (two virtual servers) is to protect data. Today i tried login to Web Client, but this message was shown (from Event Viewer):

    Log Name:      Dynamics

    Source:        Microsoft.Dynamics.GP.Web.Services.SessionCentralService

    Date:          11/26/2014 11:31:08 AM

    Event ID:      0

    Task Category: None

    Level:         Error

    Keywords:      Classic

    User:          N/A

    Computer:      -------------------------------------

    Description:

    Session Central Service was not able to successfully communicate with the Session Service at --------------------------.  The exception details are:

    System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at -------------------------------- that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

      at System.Net.HttpWebRequest.GetResponse()

      at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

      --- End of inner exception stack trace ---

    Server stack trace:

      at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)

      at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

      at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

      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.GP.Web.Services.Session.Service.ISessionService.IsAvailable(SessionHostAvailabilityChecks sessionHostAvailabilityChecks)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.SessionServiceOperations.IsAvailable(SessionHostAvailabilityChecks sessionHostAvailabilityChecks, String sessionServiceAddress)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.CreateSession(String tenantName, UserContext sessionCreationUserContext)

    Event Xml:

    <Event xmlns="schemas.microsoft.com/.../event&quot;>

     <System>

       <Provider Name="Microsoft.Dynamics.GP.Web.Services.SessionCentralService" />

       <EventID Qualifiers="0">0</EventID>

       <Level>2</Level>

       <Task>0</Task>

       <Keywords>0x80000000000000</Keywords>

       <TimeCreated SystemTime="2014-11-26T17:31:08.000000000Z" />

       <EventRecordID>316</EventRecordID>

       <Channel>Dynamics</Channel>

       <Computer>--------------------------</Computer>

       <Security />

     </System>

     <EventData>

       <Data>Session Central Service was not able to successfully communicate with the Session Service at ----------------------------.  The exception details are:

    System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at ----------------------------- that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

      at System.Net.HttpWebRequest.GetResponse()

      at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

      --- End of inner exception stack trace ---

    Server stack trace:

      at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)

      at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

      at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

      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.GP.Web.Services.Session.Service.ISessionService.IsAvailable(SessionHostAvailabilityChecks sessionHostAvailabilityChecks)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.SessionServiceOperations.IsAvailable(SessionHostAvailabilityChecks sessionHostAvailabilityChecks, String sessionServiceAddress)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.CreateSession(String tenantName, UserContext sessionCreationUserContext)</Data>

     </EventData>

    </Event>

  • Suggested answer
    Tom Cruse Profile Picture
    Tom Cruse 1,475 on at
    RE: Error login dynamics web client 2013

    You might want to check out Ian's blog on this. I didn't install a Scale-out solution. We have a small environment so it wasn't necessary to do a multi-tenant install. It was easier to put it all on one Web Server.

    community.dynamics.com/.../microsoft-dynamics-gp-2013-sp2-web-client-scale-out-deployment-installing-the-web-client-on-the-session-central-server.aspx

  • James Cervantes Profile Picture
    James Cervantes 145 on at
    RE: Error login dynamics web client 2013

    Hi, yes, on my web server is running GP Session Central, and in the session host is running GP Session services.

  • Suggested answer
    Tom Cruse Profile Picture
    Tom Cruse 1,475 on at
    RE: Error login dynamics web client 2013

    Just like Ian mentioned, do you have the following services running on your Web Server?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans