On a Win2K8 server, I'm getting an error message when trying to start eConnect:
The eConnect for Microsoft Dynamics GP2010 Integration Service service on <machine name> started and then stopped.
The error message is below.
Action:
Service Startup and Construction of Service Host
Current User Name:
Input parameters:
Exception type:
System.TypeInitializationException
Exception message:
The type initializer for 'System.ServiceModel.DiagnosticUtility' threw an exception.
Stack Trace:
at System.ServiceModel.ServiceHostBase..ctor()
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at Microsoft.Dynamics.GP.eConnect.WindowsService.CreateServiceHost()
Exception type:
System.Configuration.ConfigurationErrorsException
Exception message:
Configuration system failed to initialize
Stack Trace:
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_Sources()
at System.Diagnostics.TraceSource.Initialize()
at System.Diagnostics.TraceSource.get_Listeners()
at System.ServiceModel.Diagnostics.DiagnosticTrace.UnsafeRemoveDefaultTraceListener(PiiTraceSource piiTraceSource)
at System.ServiceModel.Diagnostics.DiagnosticTrace.CreateTraceSource()
at System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(TraceSourceKind sourceType, String traceSourceName, String eventSourceName)
at System.ServiceModel.DiagnosticUtility.InitDiagnosticTraceImpl(TraceSourceKind sourceType, String traceSourceName)
at System.ServiceModel.DiagnosticUtility.InitializeTracing()
at System.ServiceModel.DiagnosticUtility..cctor()
Exception type:
System.Configuration.ConfigurationErrorsException
Exception message:
Unrecognized configuration section system.diagnostics. (C:\Program Files (x86)\Microsoft Dynamics\eConnect 11.0\Service\Microsoft.Dynamics.GP.eConnect.Service.exe.Config line 3)
Stack Trace:
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)