-->

Tuesday, September 18, 2012

Dynamics GP 2013 Web Client Beta Troubleshooting

Playing around with  GP 2013 web client over the last few days – I’ve started compiling a list of common error messages, and resolutions. This is a work in progress, but hopefully it might be of help to others trying out the beta.

Common Troubleshooting steps that worked for me in all cases below [ remember these steps apply only for the beta on a test system – don’t go about trying them on your production system]

  1. Review the web client install pdf file (yes, I know you read it -  please go read it again)
  2. Make sure that the GP Session Services and GP Session Central Services is setup and running [ this is something I have to do a couple of times everyday, I am using my PC which I put to sleep whenever I travel, so maybe that messes up with the service]
  3. Use an admin account to run the services
  4. Restart the GP Session Services and GP Session Central Services
  5. Restart IIS  (from the command prompt iisreset)
  6. If you have all the dictionaries loaded, the login screen will take some time to load up. Go get a coffee, till the status bar says connected in green – even if the login screen is active, you have to wait.
  7. If you can’t print a report or export to excel make sure you have permission to the folder you are saving the file to. Some reports are saved by default to the server, so you would want to change that to a path on your local machine.
  8. Review the event log for any specific case
  9. Restart your system (this worked for me a couple of times, as I have the demo setup on my local PC)

Error : “Error” in the status bar with login window hung up.

Resolution : Check the event viewer logs, make sure the gp session services are running.

 

image

 

 

Error : Unexpected Error
Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://XXXXXXX:48650/SessionCentralService 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: Unable to connect to the remote server --->

Resolution : Make sure the GP session service and GP Session central service are running

 

image

Error : Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The user is not authorized to call this service operation. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.InvalidOperationException: The user is not authorized to call this service operation. at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.ValidateCallerIsMemberOf(String principalCollectionKey) at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.GetSessionHostWithMostAvailability

Resolution : Make sure you are using a user who has admin rights to run the services

Unexpected Error

Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://XXXXXX:48650/SessionCentralService 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: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it [2001:0:9d38:6ab8:8eb:3876:3f57:b499]:48650 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)

 

Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The network path was not found. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.Runtime.InteropServices.COMException: The network path was not found. 

Resolution : In this case – I had to restart the system after trying everything else. 

 

Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentNullException: Value cannot be null. Parameter name: userName at Microsoft.Dynamics.GP.Web.Website.Services.SessionCentralServiceHandler.GetActiveSessionsForUser(String userName) at Microsoft.Dynamics.GP.Web.Website.MiddleMan.Sessions.GetSessions() at Microsoft.Dynamics.GP.Web.Website.Views.Sessions.StartDataLoad() at System.Web.UI.Timer.OnTick(EventArgs e) at System.Web.UI.Timer.RaisePostBackEvent(String eventArgument) at System.Web.UI.Timer.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at Microsoft.Dynamics.GP.Web.Website.Views.Sessions.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain

Resolution : Make sure IIS is running, and you can browse through a page. Go to the login page, and login again.

5 comments:

Michael Teguh Santoso said...

Hi Jivtesh,

Thanks for your guidance but i get another error after choose Company in Microsoft dynamics GP 2013 web. Can u help me about this?
I use windows server 2012 x64 and SQL server 2012 x64.

Thank for your help...

BR//Michael

Faulting application name: Microsoft.Dynamics.GP.Web.Services.Runtime.Process.exe, version: 1.0.120.0, time stamp: 0x504a87b2
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16384, time stamp: 0x5010ac2f
Exception code: 0xe0434352
Fault offset: 0x00014b32
Faulting process id: 0x1108
Faulting application start time: 0x01cd9621db878398
Faulting application path: C:\Program Files (x86)\Microsoft Dynamics\GP2013\Microsoft.Dynamics.GP.Web.Services.Runtime.Process.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 84b95146-0215-11e2-93f4-00155d016509
Faulting package full name:
Faulting package-relative application ID:

GJackson said...

Here is another error that I cannot find a solution to.

Unexpected Error
Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The directory name is invalid (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.ComponentModel.Win32Exception: The directory name is invalid at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess() at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start() at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo) at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService.CreateSession(SessionCreationContext creationProperties, Guid authenticationToken) at SyncInvokeCreateSession(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) a...). 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 ASP.views_sessions_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\gp\7f1db17e\bfbbd1a6\App_Web_srln1z4y.3.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Balaji said...

How to resolve below error?

Unexpected Error
Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The directory name is invalid (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.ComponentModel.Win32Exception: The directory name is invalid at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess() at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start() at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo) at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService.CreateSession(SessionCreationContext creationProperties, Guid authenticationToken) at SyncInvokeCreateSession(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) a...). 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 ASP.views_sessions_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\gp\7f1db17e\bfbbd1a6\App_Web_4vguedov.2.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Balaji said...

Unexpected Error
Exception of type 'System.Web.HttpUnhandledException' was thrown. System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The directory name is invalid (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.ComponentModel.Win32Exception: The directory name is invalid at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess() at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start() at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo) at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService.CreateSession(SessionCreationContext creationProperties, Guid authenticationToken) at SyncInvokeCreateSession(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) a...). 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 ASP.views_sessions_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\gp\7f1db17e\bfbbd1a6\App_Web_4vguedov.2.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

to Resolve this error in Single server environment, You need to install Dynamics GP with Webclient Runtime.

Unknown said...

Hi Micheal,
Were you able to resolve your issue regarding KERNELBASE.dll. I am experiencing the same issue and cannot resolve the problem.
Thanks!!