Hello,
We have an ArcGIS SOE written in C# that opens an MXD and adds .lyr files to it. It then creates a PDF file for the user. Occasionally the SOE fails and I get this message in a try/catch:
There are insufficient resources to open another file. (Exception from HRESULT: 0x80030004 (STG_E_TOOMANYOPENFILES)) at ESRI.ArcGIS.Carto.MapDocumentClass.Open(String sDocument, String bsPassword)
There is some documentation on the internet for STG_E_TOOMANYOPENFILES, but nothing of use that I have found yet.
Has anyone encounter this error and know how I can change the code I have or is this a server issue that code changes won't help resolve?
Thanks,
Mele