COMException: Exception from HRESULT: 0x80040304

159
0
09-29-2022 01:32 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_1-1664483488904.png

 

 

Anyone has any ideas?

 

0 Replies