Online Editor only showing title bar or showing 500 (Internal Server Error) The GroupShare logs contain this entry: 2018-03-27 15:44:59.2601|ADR|Error|THREAD_ID:18|TR_ID:5adda5b4-34ad-4c2a-b06b-73796b04889c|8b5182e0-84ae-4966-bce2-c908e7e9f8a6|Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'AppConfig'. ---> StartIndex cannot be less than zero. Parameter name: startIndex (See inner exception for details.) ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.Substring(Int32 startIndex, Int32 length) at Sdl.EditorService.Global.AppConfig.GetNodeKey() at Sdl.EditorService.Global.AppConfig..ctor() at lambda_method(Closure , Object[] ) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) at Autofac.Core.Resolving.InstanceLookup.Execute() at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at Sdl.EditorService.RestApi.Controllers.CacheController.Delete(Guid documentId) System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.Substring(Int32 startIndex, Int32 length) at Sdl.EditorService.Global.AppConfig.GetNodeKey() at Sdl.EditorService.Global.AppConfig..ctor() at lambda_method(Closure , Object[] ) at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() | |
1. Create a backup of and then open this file in a text editor: Sdl.EditorService.Host.exe.config from here: C:\Program Files\SDL\SDL Server\Editor Service 2. Look for the <appSettings> tag and add the following line: <appSettings> <add key="EsNodeKey" value="adr.global.sdl.corp" /> In the value parameter you have to put the fully qualified domain name of the GroupShare machine - the one above is from our test machine. 3. Stop all SDL services 4. Start all SDL services |
Machine name where the GroupShare server is installed is less then 4 characters. This is reported to SDL Development to be better handled. |