Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Error when deploying gp web client from host client

Posted on by 5

Good morning dear, I am presenting an error when displaying the dynamics web client from a client browser, I attach the screen where it hangs.

paso-1.PNG

then when entering with my username and password, it remains hung here.

Paso-2.PNG

and does not load any module or menu.

Categories:
  • Suggested answer
    RE: Error when deploying gp web client from host client

    I don't know that manually changing information in the files will work, definitely not anything we've tried nor would support.

    Once you have the certificate setup the way you want it, I'd recommend the following:

    To completely uninstall and reinstall Web Client, I usually use the following (let me know if you have multiple servers installed with Web Client and/or Tenant Services, as they may change the steps.)

    1. From Control Panel > Programs > Programs and Features, uninstall Microsoft Dynamics GP Web Components.

    2. Browse to C:\Program Files\Microsoft Dynamics\ and verify the Web Components directory is completely gone or empty.

    3. Run the 'netsh http show urlacl' script in the Command Prompt: Admin window and verify that you don't see any URL reservations for the following:

    -- https://+:443/RuntimeService/

    -- https://+:48651/SessionService/

    -- https://+:48650/SessionCentralService/

       If you see any URL reservations for the port numbers/services mentioned above, use the example script to delete the URL reservation:

                netsh http delete urlacl url=https://+:443/RuntimeService/

    4. In SQL, delete the existing GPCONFIGURATION database.

    5. At this point, you can then launch the reinstall of Web Client for Dynamics GP again.

      During the install, we only want to select the certificate on the Runtime Service which is required, we do not want to select it for either the Session Central Service nor the Session Service.

      For the Session Central and Session services, we only need to enter the domain account that will be running those two services, which is also what you have/had setup.

       For the Runtime Service, we just want to select the certificate that is bound to the IIS site we’re installing onto, and let the host name default in. The exception is if it is a wildcard certificate and would be setup for something like *.domainname.com, as the install won’t allow the ‘*’ so we’d have to enter, most commonly, the server name of the IIS/web server we’re installing on, so the host name of the certificate for Runtime Service would be Servername.domainname.com, for example.  

    6. Once the reinstall of Web Client is completed successfully including the creation of the GPCONFIGURATION database again, you can launch Web Client via the https://<certificate host name>/GP URL that your certificate is setup to use, and verify whether users now can get logged into Web Client and have the GP application load in the browser, or it hangs again.

    If it still hangs, let us know....we may need a support case opened as well.

    Thank you

  • Allam2793 Profile Picture
    Allam2793 5 on at
    RE: Error when deploying gp web client from host client

    Thanks dear Dereck, change the name to the server and certificate fqdn in the indicated file and it keeps hanging. attached event viewer logs

    - <Event xmlns="schemas.microsoft.com/.../event">

    - <System>

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

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

     <Level>2</Level>

     <Task>0</Task>

     <Keywords>0x80000000000000</Keywords>

     <TimeCreated SystemTime="2021-05-06T15:02:55.079018400Z" />

     <EventRecordID>80609</EventRecordID>

     <Channel>Dynamics</Channel>

     <Computer>mycomputer.login.local</Computer>

     <Security />

     </System>

    - <EventData>

     <Data>Correlation ID: 1a7d45ce-79ef-4a31-a677-591c58582818 System.Web.HttpException (0x80004005): Server cannot set status after HTTP headers have been sent. at System.Web.HttpResponse.set_StatusCode(Int32 value) at System.Web.Mvc.HandleErrorAttribute.OnException(ExceptionContext filterContext) at System.Web.Mvc.ControllerActionInvoker.InvokeExceptionFilters(ControllerContext controllerContext, IList`1 filters, Exception exception) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)</Data>

     </EventData>

     </Event>

  • Suggested answer
    RE: Error when deploying gp web client from host client

    If we’re seeing Web Client hang on ‘Microsoft Dynamics GP’ with the spinner in the left hand corner and nothing really being written to the Event Viewer logs, what this means, and something a bit more commonly seen, is that Web Client using the host name applied to the Runtime Service, cannot find that service and it is the Runtime Service that loads the Dynamics GP application into the browser window.

    This is common when using a external certificate where the host name from the certificate, applied to the Runtime Service, is not the FQDN of the server on which Web Client is installed onto.

    When this is the case, there needs to be something setup with DNS and/or some type of forwarding where, when it sees the host name for the Runtime Service, it knows to forward it to the IP address of the server on which Web Client is installed onto.

    If this is a multi-server configuration for Web Client, it would need to point to the session host servers, where the Runtime Service is installed.

    On the Web Client server, in the C:\Program Files\Microsoft Dynamics\GP Web Components\SessionService\ directory, open the SessionService.config file and verify what the Runtime Service is setup as.

    Thanks

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans