Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Web Client Session Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to setup the GP2016 web client. It's installed and all of the services are running. I'm using normal windows auth. When I try to login I've verified that it creates a session on the backend. I can follow it in the IIS trace as it does that. Then when it sends me back to GP I get the following error:

System.Web.HttpException (0x80004005): The application source for the session was not found. If this issues persists, change the website logging verbosity to Information to see any additional information that occurred when handling the application sources.
at Microsoft.Dynamics.GP.Web.Website.Controllers.GPWebController.Index()
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
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.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

There are no errors on the backend other then the same error in the Event log. I'm at a loss here. I've checked to make sure all of the ports are open, run database profiles to make sure that looks good, I'm not finding anything. Anyone have an idea?

*This post is locked for comments

  • Don Schaefer Profile Picture
    Don Schaefer on at
    RE: Web Client Session Error

    Q1Tech, I tried a lot of things that did not work, but this order of events did work for me.  THANKS!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Web Client Session Error

    Finally I was able to resolve this by doing the following:

    Repair GP Client on Web Server

    Re-import Customized Reports

    Re run GP Utilities to set SQL Server login

    Repair GP Web Client

    Reset IIS

    Everything started working normal.

  • Suggested answer
    CHowell Profile Picture
    CHowell 40 on at
    RE: Web Client Session Error

    I was able to correct this.  We were using a VM in a Data Center, so for the name of the computer, I was initially setting it up as MachineName, but I had to change it from MachineName to MachineName.domain.local.  I can't remember if I did this in the setup and then adjusted it in the config files or if in the setup I was able to make the adjustment (it may have been config files).
    Also, when installing, we were using a 3rd party cert and in our case, I had everything pointed to the 3rd party cert except the Session Central and Session services, these were pointed to a newly created self cert.  Then I tried to point the 2 session services to the self cert, I was getting issues that it couldn't find the endpoint.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Web Client Session Error

    I am facing the same issue. Were you find any resolution to this? Please let us know.

  • CHowell Profile Picture
    CHowell 40 on at
    RE: Web Client Session Error

    I am getting the same error/issue.  Were you able to find a solution? 

  • Peter J Kwasnicki Profile Picture
    Peter J Kwasnicki 100 on at
    RE: Web Client Session Error

    I seem to be getting the same issue in my test environment for GP 2016. If you happen to find a resolution, please post it here.

    Thanks,
    Peter

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans