AnsweredAssumed Answered

CreateSwatchAsync - COMException (0x88980003)

Question asked by jonathandicken on Oct 27, 2014
Latest reply on Oct 28, 2014 by MBranscomb-esristaff



We are seeing a problem in our application which is caused by calls to Symbol.CreateSwatchAsync. The exception we are getting is a COMException (0x88980003) which is thrown while we create the images for our legend controls.


This doesn't happen with a single map window being opened. But if we start to open more maps at the same time then it starts to appear. We have a large number of layers being loaded in each map (~50) and some of the layers can have large numbers of symbols (unique value renderers etc...).


We loop through the layer infos and create the swatches we need to display in our application. It could suggest that something is therefore not being released correctly by the API?


I have attached the full stack trace for you, and it's also worth mentioning that our 'googling' bought up this very similar issue raised earlier in the year -