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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP2013 Web Client Unexpected Error

(0) ShareShare
ReportReport
Posted on by 1,080

Hi,

I encountered this error after I completly installed the GP web Client using external signed security certificate.

Following steps:

* Access the GP Web Client

* Enter the windows account

* Click Sign in button

Then the error prompt even I do this on the server or on the outside of the domain network.

I completely installed the GPWeb prerequisite and I check this link http://msftdynamics.blogspot.com/2013/01/gp-2013-web-client-login-issues.html and it looks all are fine.

I reinstall the GP Web client and used the self signed security certificate then completely access the GP Web client even on the client machine with in the domain network.

Is their a configuration I missed or this is a known issue of GP2013 Web Client using the external signed security certificate?

Please let me on how to resolve this error cause our client is asking on how & when we resolve this error.

I greatly appreciated your help.

 

Thanks, Ronie

 

*This post is locked for comments

I have the same question (0)
  • Travis Profile Picture
    1,960 on at

    I had this because the web client services didn't start up properly.  If you start them up, the error might go away.

  • Ronie Profile Picture
    1,080 on at

    Hi Travis,

    Thanks for the reply, The Web services is started I already restart the web services (GP Web Session Central & GP Session services) but still the error prompt..

  • Steve Kubis Profile Picture
    on at

    Did you look in the Dynamics section of the Event Viewer on the system to see what the details of the error are? That's the first suggestion in the "Troubleshooting" chapter of the Web Client Installation and Administration Guide. Any error information logged there will be important in tracking down the issue you're seeing.

  • Ronie Profile Picture
    1,080 on at

    Hi Steve,

    Thanks for you reply, sorry I forgot to indicate from my first post that I looked in the event viewer when I encountered the error.. The weird thing is, there's no logs in the event viewer (Application & System) that pertaining to GP Web Client.

    That's my big problem cause I don't know where to start of troubleshooting..

    Thanks,

    Ronie

  • Steve Kubis Profile Picture
    on at

    There's a specific Dynamics log that you need to look in. I've attached a screen shot that shows where these messages would be logged.

  • Ronie Profile Picture
    1,080 on at

    Hi Steve,

    I'll check this tomorrow when I return to our client and I'll let know once I found error on the specific Dynamics logs.

    Thanks,

    Ronie

  • Community Member Profile Picture
    on at

    Ronie I had the same error as you and it went away when I used a self signed cert.  I had been trying to use a wildcard cert, but I kept getting security channel errors

  • Ronie Profile Picture
    1,080 on at

    Hi  Steve,

    I got the 2 error in the event viewer specific on Dynamics logs. see below.. Please let me know what it meaning of the error?

    Source - Microsoft.Dynamics.Web.WebSite

    0a10fa20-237b-461b-8ecf-6910114d096e:An unexpected error has occurred.  Press the Sign-in button to reconnect to the application.::System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.Security.SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost:48650'. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

      at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)

      at System.Threading.ExecutionContext.runTryCode(Object userData)

      at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

      at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)

      at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)

      at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)

      at System.Net.ConnectStream.WriteHeaders(Boolean async)

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

      at System.Net.HttpWebRequest.GetResponse()

      at System.ServiceModel.Channels.HttpChannelFactory.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.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.ISessionCentralService.GetSessionHostWithMostAvailability()

      at Microsoft.Dynamics.GP.Web.Website.Services.SessionCentralServiceHandler.GetSessionHostWithMostAvailability()

      at Microsoft.Dynamics.GP.Web.Website.MiddleMan.LogOn.IsUserAuthorized(String userName, String password)

      at Microsoft.Dynamics.GP.Web.Website.Views.LogOn.LogOnUser()

      at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

      at System.Web.UI.Page.HandleError(Exception e)

      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

      at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

      at System.Web.UI.Page.ProcessRequest()

      at System.Web.UI.Page.ProcessRequest(HttpContext context)

      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

    Source - Source - Microsoft.Dynamics.Web.Services.SessionService

    An error occurred during session monitoring: 'System.ServiceModel.Security.SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority 'localhost:48650'. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

      at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)

      at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)

      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

      at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)

      at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)

      at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)

      at System.Net.ConnectStream.WriteHeaders(Boolean async)

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

      at System.Net.HttpWebRequest.GetResponse()

      at System.ServiceModel.Channels.HttpChannelFactory.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.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.ISessionCentralService.ReportSessions(SessionHostStatus sessionHostStatus, IEnumerable`1 sessionsToReport)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService.SessionCentralOperations.ReportSessions(SessionHostStatus sessionHostStatus, IEnumerable`1 sessionsToReport)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionMonitor.DoCleaningAndReporting(SessionCleaner cleanerInstance, SessionReportingInfo optionalTerminatedSessionReportingInfo)'.

  • Ronie Profile Picture
    1,080 on at

    Hi Carl,

    Thanks for the reply. In do you mean GP Web Client wouldn't work using the wildcard cert. (Externally Signed Security Certificate), is that correct?

    Self signed certificate will only last for 1 year.. Our client purchased a Externally signed security certificate for GP Web then this will not work..

    Microsoft should check about this problem..

    Thanks

  • Steve Kubis Profile Picture
    on at

    That error information from the Event Log should be helpful in tracking down the issue.

    Some questions:

    1) When you installed, did you select to use a security certificate for the Session Central Service and the Session Service? It seems from the message that the binding of the certificate to these services may not be correct. This could be caused by a certificate problem. To get around this issue, don't select a security certificate for these two services. It's not required (though it does provide better security). If you're on a single-box installation, then it's really not needed. See if that gets you around the problem.

    2) The other thing I see in the error message that you posted in the "localhost" reference. What's the URL that you're using to access the web service? Are you using "localhost" instead of the machine name? If so, then that won't work, because the security certificate needs to authenticate the actual machine name.

    Along that same line, in your screen shot way at the beginning of this thread, we can't see the top of the browser window. That makes it impossible to see if you're having any security certificate errors when you access the GP Web Client site. If you're having any security certificate issues reported, that you will not succeed in connecting to the GP Web Client. You must get any security certificate issues resolved to have success with this.

    To summarize, use the security certificate for only the runtime service. Don't use "localhost" in your URL. Use the fully-qualified machine name. Watch for any security certificate errors when you connect to the web client site. if you see any, those errors must be resolved before you will be able to log in.

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 > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans