We're sorry FileFormat doesn't work properply without JavaScript enabled.

Free Support Forum - fileformat.com

I cannot read a specific dwg file in c#

Hello ACadSharp Team,

I’m currently experiencing an issue while trying to read a file in C# using your library. The error message I receive is as follows:

System.ArgumentOutOfRangeException: TimeSpan overflowed because the duration is too long.
at ACadSharp.IO.DWG.DwgStreamReaderBase.ReadTimeSpan()
at ACadSharp.IO.DWG.DwgHeaderReader.Read(Int32 acadMaintenanceVersion, DwgHeaderHandlesCollection& objectPointers)
at ACadSharp.IO.DwgReader.ReadHeader()
at ACadSharp.IO.DwgReader.Read()
at ACadSharp.IO.DwgReader.Read(String filename, DwgReaderConfiguration configuration, NotificationEventHandler notification)

I kindly request your assistance in resolving this issue.

Thank you.