Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

GP2015 R2 Webclient Central Session Service Starts then stops

Posted on by Microsoft Employee

Hello,

Sorry if this is a duplicate message. I am attempting to install the Web client on a new server. When I restart the server the Central Session Service briefly starts/then stops. If I look at the event log

I get microsoft.dynamics.gp.web.services.sessioncentralservice has an error about not allowing NULL value.

Has anyone seen this before? What additional information is needed.

Any help is appreciated.

Thanks

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP2015 R2 Webclient Central Session Service Starts then stops

    Level Date and Time Source Event ID Task Category

    Information 3/23/2016 12:00:42 PM Microsoft.Dynamics.GP.ServiceHost 0 None Stopping Service

    Error 3/23/2016 12:00:42 PM Microsoft.Dynamics.GP.ServiceHost 0 None "Action:

    Creating Service

    Current User Name:

    Input parameters:

    Exception type:

    System.Reflection.TargetInvocationException

    Exception message:

    Exception has been thrown by the target of an invocation.

    Stack Trace:

      at Microsoft.Dynamics.GP.GPServiceHostContainer.CreateServiceHost(Type serviceType, Uri[] baseAddresses)

      at Microsoft.Dynamics.GP.GPServiceHostContainer.CreateServiceHost(Type serviceType)

      at Microsoft.Dynamics.GP.GPServiceHostAppDomain.CreateServiceHostInAppDomain()

      at Microsoft.Dynamics.GP.GPServiceHostAppDomain..ctor(Type serviceTypes, String appDomainNames, String configFileUri, PermissionSet permissions, Uri[] baseAddresse)

      at Microsoft.Dynamics.GP.NTServiceHost.CreateNewServiceHost(ServiceElement service, Type type)

      at Microsoft.Dynamics.GP.NTServiceHost.OnStart(String[] args)

    Exception type:

    System.ArgumentNullException

    Exception message:

    Value cannot be null.

    Parameter name: collection

    Stack Trace:

      at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralDatabaseHandler.GetServiceSecurityGroups(String serviceName)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.InitializePrincipalManager()

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService..ctor()

    "

    Error 3/23/2016 12:00:42 PM Microsoft.Dynamics.GP.ServiceHost 0 None "Action:

    Service Host Construction

    Current User Name:

    Input parameters:

    Unable to serialize the input parameters.

    Exception type:

    System.Reflection.TargetInvocationException

    Exception message:

    Exception has been thrown by the target of an invocation.

    Stack Trace:

      at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

      at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

      at System.ServiceModel.Description.ServiceDescription.CreateImplementation(Type serviceType)

      at System.ServiceModel.Description.ServiceDescription.GetService(Type serviceType)

      at System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts)

      at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)

      at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)

      at Microsoft.Dynamics.GP.GPServiceHostContainer.CreateServiceHost(Type serviceType, Uri[] baseAddresses)

    Exception type:

    System.ArgumentNullException

    Exception message:

    Value cannot be null.

    Parameter name: collection

    Stack Trace:

      at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralDatabaseHandler.GetServiceSecurityGroups(String serviceName)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.InitializePrincipalManager()

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService..ctor()

    "

    Error 3/23/2016 12:00:42 PM Microsoft.Dynamics.GP.Web.Services.SessionCentralService 0 None "An error occurred during session central service initialization: 'System.ArgumentNullException: Value cannot be null.

    Parameter name: collection

      at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralDatabaseHandler.GetServiceSecurityGroups(String serviceName)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.InitializePrincipalManager()

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService..ctor()'."

    Error 3/23/2016 12:00:42 PM Microsoft.Dynamics.GP.Web.Services.SessionCentralService 0 None "System.ArgumentNullException: Value cannot be null.

    Parameter name: collection

      at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralDatabaseHandler.GetServiceSecurityGroups(String serviceName)

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCentralService.InitializePrincipalManager()"

    Information 3/23/2016 12:00:37 PM Microsoft.Dynamics.GP.ServiceHost 0 None The Configuration File Section gp.services was successfully loaded.

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

Featured topics

Product updates

Dynamics 365 release plans