I should clarify that I have already tried the following:
A) Reinstalling ARCMap several times, and in several versions that we have licensed: 10.5, 10.7, and 10.8, it happens in all of them. I also always make sure that the files for each version are deleted so that there is no residue.
B) The files are not corrupt and have worked previously. They also comply with everything related to shared projection, etc.
C) Of course, reinstalling SWAT several times...
The error persists. A colleague told me that it may be that our license is not working properly or something similar, but having tried everything, I don't know what to do, so I am asking for help.
Here is the environment in which I reproduced the error:
Operating System: Windows 10
ArcGIS / ArcMap: 32-bit version (with valid licensing)
ArcSWAT version: (the version I used, e.g. ArcSWAT 2012.10.x)
Installation path: under user directory (e.g. C:\Users\Planificación\…)
Presence of special characters (acentos) in user path (“Planificación”)
Lookup tables: I have used both raster-based and shapefile-based lookups
Watershed raster: I found negative or zero values in the watershed grid (which I subsequently cleaned)
Attempted workaround:
Reinstalled ArcSWAT and ArcGIS multiple times
Used clean folders without spaces or accents (e.g. C:\SWATPROJ)
Verified all drivers (ODB/OLEDB for Access) in 32 bits
Verified no mix of 32/64 bits
Tried multiple dataset combinations
Tried QSWAT (but got separate error about inability to connect to .mdb)
Despite all these, the same InvalidComObjectException always appears upon closing the interface.
Please, I need help, this is urgent
All the best,
Antonio