Hello, I had the same problem and error message. Oddly this happened only with a few layouts (with interior elevations on it) . that i could'nt publish id dwg. file format to a network server.
Changing the publishing path to a local PC folder instead of a folder in the network server solved it.
Thank you!