...try to edit a SDL user on the SDL Trados GroupShare web interface or
...try to check in a new file to an existing GroupShare project.
You receive following error:
The type initializer for 'ExtentPlaceholderCreator' threw an exception.
The full error can be found in the GS application logs and is attached:
Sdl.StudioServer.Services.Core.Hosting.HostedServiceErrorHandler#The type initializer for 'ExtentPlaceholderCreator' threw an exception.
System.TypeInitializationException: The type initializer for 'ExtentPlaceholderCreator' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.EntryPointNotFoundException: Unable to find an entry point named 'SetClrFeatureSwitchMap' in DLL 'SqlServerSpatial110.dll'.
Note: The error may not occur for all such actions - but just intermittently.
Install System CLR Types for SQL Server delivered with GroupShare
On the SDL Trados GroupShare application server:
Uninstall Microsoft System CLR Types for SQL Server 2012 (32- and also 64-bit version if present)
At C:\Windows\assembly, verify that the assembly Microsoft.SqlServer.Types.dll (assembly version 184.108.40.206) is no longer present on the server and in case it exists uninstall/delete it. Note: If you cannot uninstall it as mentioned, follow the steps below:
Open the Registry Editor
Go to HKLM\SOFTWARE\Classes\Installer\Assemblies\Global
Locate the key: Microsoft.SqlServer.Types,fileVersion="2011.110.3000.0",version="11.0.0.00000000
Delete this key. Note: Preferable make a backup of this registry folder/key before-hand.
Install version of Microsoft System CLR Types for SQL Server 2012 delivered with GroupShare (2012 SP1, e.g. from C:\ProgramData\Package Cache\SDL\Dependencies\SQL11\SQLSysClrTypes.msi)
Note: After applying the steps, the file version in the assembly cache should be 11.1.3000.0 (C:\Windows\assembly > right click Microsoft.SqlServer.Types, Version 220.127.116.11 > Properties > tab Version).