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:
Anyone has any ideas?
This error maps to one of the following:
FDO_E_DATASET_CANNOT_RENAME | "Cannot rename the dataset with objects already open." |
CADASTRAL_E_CONTAINS_COMPRESSEDDATA | "No license available." |
WMSCONN_E_MISSING_URL | "URL is missing." |
NETWORKLOADER_E_INVALID_FIELD_NAME | "An invalid field name was specified." |
E_TEMPMETAFILE | "Cannot create temporary metafile." |
Hope this helps.