I have ArcGIS Server Object Extension (SOE) written in .NET, C#. Target framework is .NET 4.5.
Extension works OK at many customers but there is an issue at one customer who has class extensions targeting .NET 2.0. Uploading SOE file to ArcGIS Server - OK. Enable our extension for map service and starting it, an error occurs:
Failed to initialize server object 'MapServiceName': 0x80131523: Entry point was not found.
Not much information what went wrong... I tried to turn log level to debug - ArcGIS doesn't show more details.
My question is how to get more information about such error?
Turn on catalina error log for ArcGIS internal web server? Other methods?
The issue is not the mix of .NET 2 and .NET 4 frameworks. The previous SOE version was also targeting .NET 4.5 but it worked side by side with these .NET 2.0 extensions fine.
HRESULT 0x80131523 is COR_E_ENTRYPOINTNOTFOUND - Could not find the specified DllImport entrypoint.
Created REST SOE proxy to invoke AssemblyLoad.Load() inside ArcSOC and tried to load real SOE dlls. All were loaded OK.
Removed 3rd party extensions while found the single extension showing this behavior. It is ArcFM Solution Object Reader 10.2.1c for ArcGIS Server (by Schneider Electric).