-->

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.

Dynamics GP 2013 Web Client Beta Video

If you have been following my blog for the last few months, you probably have had an idea about how excited I have been about the web client. I have been trying to share my excitement via conferences Dynamics GP Web Client: What You Need to Know Now and posts.

All through – there have been a lot of questions from existing users after the initial – “wow, that sounds cool”

  • Will drill down from summary to detailed transactions work ?
  • How will smartlists work ?
  • Is it going to be slow like other cloud based ERPs ?

Now that the GP web client Beta is out – I have tried to record a video to give you guys another sneak peek into it. Naturally this is the first version of the web client, and its a beta, so there will be some issues that will get ironed out in the next few months. However, it is amazing technology – its a very responsive UI, and will definitely help Dynamics GP reach out to an even broader market. 

Go check it out – and let me know what you think. Also go and drop your commendations to the GP Product team.

Watch it on Youtube - http://www.youtube.com/watch?v=BvLCE3ccwjU

 

Playing around with Dynamics GP Web Client Beta

Friday, September 14, 2012

Dynamics GP 2013 Web Client Installation

The GP Product team announced the release of GP 2013 Beta yesterday. There was a disclaimer “there is no technical support available for the Microsoft Dynamics GP 2013 Web Client Beta release.  One great way to "help yourselves" is by utilizing the Partner OTC Forum, located at social.microsoft.com/.../threads”
I was planning for a long weekend. However, setting up the web client on my test machine with the sample company took less than an hour! How cool is that ? Naturally there will are a lot of considerations when planning deployment in a production environment.
To get started you would want to download the beta from here. https://mbs.microsoft.com/partnersource/support/selfsupport/productreleases/MDGP2013_TAPReleaseDownload
Review the documentation from
So I reviewed all that, and got started on my adventure. I first setup GP 2013 client, made sure to select Web Client runtime in the features.
image
After that I launched the installer again, and clicked on install web client.

image
I chose the single machine option for this beta version.
image

You need to make sure you have setup a SSL website.  I found the following article helpful - To Set Up an HTTPS Service in IIS

Open Internet Information Services (IIS) Manager -> click on the Server (Machine name) -> double click Server Certificates under Features View
From the Actions pane click Create Self-Signed Certificate…
After this I straight away clicked Default Web Site then double clicked SSL Settings. This is the message I got:
The site does not have a secure binding (HTTPS) and cannot accept SSL connections
I only missed out 1 step, that is, I should click Binding… under Edit Site in Actions pane.
image
Also make sure to create user groups specifically for WebClient.

image
I skipped that step and got the error - An error occurred while applying security settings. XXXXXXXXX68\Users is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry, or Cancel to end the install.

SNAGHTML971dbde

So I went back and created the user group and assigned a couple of test users to it.

image

image
Once the installation completed, went to browse at https://machinename/gp/

image

image
Ran through the rest of steps, and voila !
It also works in google chrome, though its not supported.
image


Leslie and Ian have got some documentation with regards to the installation. You can check them out at -