Saving drawing with 'SaveToStream' creates broken file
Posted: 22 Oct 2018, 10:39
Hello Support,
I am using the SaveToStream function to write a drawing into a stream, which is stored in a database. It is also possible to create a DWG file with this data. Sometimes the exported file seems to be corrupt, at least TrueView shows a message when opening those files:
"Errors were detected in the drawing. The file cannot be opened without being recovered."
Is there a way to check what is causing those issues?
I am sorry that I cannot attach the generated file to this thread but I could mail it to you if this would help you.
Thank you,
Stefan
I am using the SaveToStream function to write a drawing into a stream, which is stored in a database. It is also possible to create a DWG file with this data. Sometimes the exported file seems to be corrupt, at least TrueView shows a message when opening those files:
"Errors were detected in the drawing. The file cannot be opened without being recovered."
Is there a way to check what is causing those issues?
I am sorry that I cannot attach the generated file to this thread but I could mail it to you if this would help you.
Thank you,
Stefan