Tuesday, January 22, 2013

GP 2013 Web Client Login Issues


When you log into GP 2013 web client, some “Unexpected Error” issues may occur. Here, we are giving you few resolutions for the issues.

Error:
An unexpected error has occurred. Press the Sign-in button to reconnect to the application.


This error could be because of any one of the below causes:

Go to Event Viewer in your server and find out if you see any one of the below error message appears in the Event Viewer.

Cause 1:

Exception message in Event Viewer:

Cannot open database "GPWEBCLIENTSESSIONCENTRAL" requested by the login. The login failed.

If you see this error message in the Event Viewer, follow the steps mentioned in Resolution 1.


Cause 2:

Exception message in Event Viewer:

The application is configured to issue secure cookies. These cookies require the browser to issue the request over SSL (https protocol). However, the current request is not over SSL.

If you see this error message in the Event Viewer, follow the steps mentioned in Resolution 2.

Resolution 1 for Cause 1:

1. Verify the databases "GPWEBCLIENTSESSIONCENTRAL” and “GPWEBMANAGEMENT” are created in the SQL Server. If not, create these databases using web client configuration wizard.

Note: To open Web Client Configuration Wizard, go to Control Panel\All Control Panel Items\Administrative Tools\Dynamics GP Web Client Configuration Wizard

2.    Make sure that “GP Session Central Service” and “GP Session Services” have started. If not, start the services.



Resolution 2 for Cause 2:

Remove Cache, Temporary internet files from browser, restart the server and then check again.
If the issue still exists, set requireSSL="false" in the file web.xml (C:\Program Files\Microsoft Dynamics\GP Web Client\GPweb\Web.xml).

Hope this helps!!!

6 comments:

  1. thanks for this solution, helped me resolved my web client issu

    ReplyDelete
  2. Hi,
    i have several question regarding the GP2013 web client topic.
    1. Can it be installed in a workgroup environment (1 Server for IIS & App Server, 1 Server for SQL Server)

    2. I installed using the above servers, when i login it gives similar error with yours. The event viewer error are as below. Any tips on this?
    ====Start of Error====
    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.FaultException`1[System.ServiceModel.ExceptionDetail]: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
    ====End of Error====

    3. i checked, turns out my GPWEBMANAGEMENT db is missing. Tried running the "Dynamics GP Web Client Configuration Wizard", it detect that my GPWEBMANAGEMENT db is missing but it doesn't create it

    Kindly help.

    Thanks,
    Ben

    ReplyDelete
  3. Hi Benyamin,

    Please re-install the web client application and complete the “Dynamics GP Web Client Configuration Wizard” steps.

    Once you done the above process, verify whether the databases "GPWEBCLIENTSESSIONCENTRAL” and “GPWEBMANAGEMENT” have been created in the SQL Server or not. Now, open the web client and check with the credential.

    Please try and let us know for any clarifications.

    ReplyDelete
    Replies
    1. Hi,
      i have moved the 2 server to a domain and re-installed the Web Client... After re-install (on Friday) the web client worked. On the next Monday (today actually), i cannot login to the Web Client again...
      below are the error

      ===Start of Error===
      Unexpected Error
      An unexpected error has occurred. Press the Sign-in button to reconnect to the application.
      Correlation ID: fbabaa71-7ad4-44a4-9fb1-601e9f6bbe8a
      ===End of Error===

      In the event viewer all these 3 services have similar issues:
      1. Microsoft.Dynamics.GP.Web.Website
      2. Microsoft.Dynamics.GP.Web.Services.SessionCentralService
      3. Microsoft.Dynamics.GP.Web.Services.SessionService

      Issue:
      "The target principal name is incorrect. Cannot generate SSPI context."

      when i searched it comes to this KB http://support.microsoft.com/kb/811889
      which i'm having trouble to understand.

      the normal GP client can work without issue, i have tried to do some query directly to the DB and it worked.

      Please share if you have ever encounter this or have any ideas for me to try out.

      Thank you.

      Delete
    2. Problem solved....
      for some reason unknown... the connection to the Domain Server is down, since this is a test environment, no one notice that

      now everything is working fine.

      Thank you.

      Delete
    3. Glad to know that the issue has been resolved!!!

      Delete