Geoprocessing tool COMException: Exception from HRESULT: 0x80040304

364
0
09-29-2022 02:48 PM
AGheidian
New Contributor

Hi, I have geoprocessing tool which opens a MXD template file to make PDF out of the map, using Export method.

Intermittently this tool throws error  COMException: Exception from HRESULT: 0x80040304

I am releasing COM objects but still sometimes throws this error. This is snapshot of my code:

 

AGheidian_0-1664488068370.png

Any ideas?

0 Kudos
0 Replies