One of the following error messages appears when opening an existing model in the AutoCAD integrated platform:
"INTERNAL ERROR: !dbobji.cpp@8749: eNotOpenForWrite"
"INTERNAL ERROR: !dbobji.cpp@8673: eNotOpenForWrite"
With AutoCAD 2022 integration in version 10.03.04.XX and higher (and later with AutoCAD 2023 integration that will be available in future versions), there is a known issue (reference # 708152) that can cause this error to occur when opening existing DWGs that had been previously saved using AutoCAD 2010 or older. After you dismiss the message AutoCAD offers to save the model:
"AutoCAD Alert ... AutoCAD cannot continue. You can attempt to save changes into the following file... After you save your changes, you can open or recover the file. Should AutoCAD try to save your changes?"
Clicking Yes or No redisplays the message and a few seconds after that AutoCAD crashes, disappears and displays the AutoCAD Error Report dialog.
This is an issue with AutoCAD/Autodesk and Autodesk does not yet have a solution (as of April, 2022), but the following workarounds can be used:
Note that this issue is also known to occur (in 2022 and 2023) when an older DWG file (again, 2010 and earlier) is added as an XREF. Here are two potential solutions:
See Also: (external link) "INTERNAL ERROR:!dbobji.cpp@XXXX: eNotOpenForWrite" displays when opening a drawing in AutoCAD
This can also happen when opening certain existing model files from the AutoCAD Start screen. In this case, try starting a new drawing. Once this is done, open the file by going to the "A" menu at the top or the File pulldown menu, and choosing Open.
This issue has been known to occur for some models when using V8i SELECTseries 4. However, testing has indicated that after upgrading to a later release, the error will no longer occur. Be sure to check the Compatibility Chart to assure that the version of WaterGEMS or WaterCAD you are using will integrate with your AutoCAD version.
As of 2021-Sep-16 this error is known to occur with some DWG files where the only known solution is to import the model into a blank DWG. To do this, start a new project in the AutoCAD integrated version, go to the product menu item (for example "WaterGEMS", choose the "import" option, then select the model's associated .SQLITE file. This will import the model into the blank drawing. Then, save the .DWG somewhere else with a new file name, close and reopen to confirm that the error does not occur. If you add XREFs and the problem starts happening again after reopening, you may have encountered a known issue with Autodesk and the DWG file may be corrupt. See this article for more. Another potential solution is to use the Standalone version of the OpenFlows product with appropriate background layers attached. If a model file associated with a .DWG is edited in the Standalone version and later reopened in the AutoCAD integrated version and the changes will synchronize. See: CAD Functionality in Standalone as an Alternative to AutoCAD or MicroStation Integration