ycherkes / OrcaSql

A C# parser for MDF files. Allows you to read tables, metadata and indexes from MDF files without it being attached to a running SQL Server instance.
http://improve.dk/archive/2011/05/03/introducing-orcamdf.aspx
GNU General Public License v3.0
17 stars 7 forks source link

Invalid value length: 12 #10

Open RafeeSoft opened 1 year ago

RafeeSoft commented 1 year ago

8/2/2023 6:04:55 PM

System.ArgumentException: Invalid value length: 12 at OrcaSql.Core.Engine.SqlTypes.SqlUniqueIdentifier.GetValue(Byte[] value) in C:\Plays\OrcaSql\src\OrcaSql.Core\Engine\SqlTypes\SqlUniqueIdentifier.cs:line 26 at OrcaSql.Core.Engine.Records.Parsers.PrimaryRecordEntityParser.d5.MoveNext() in C:\Plays\OrcaSql\src\OrcaSql.Core\Engine\Records\Parsers\PrimaryRecordEntityParser.cs:line 96 at OrcaSql.Core.Engine.DataScanner.d5.MoveNext() in C:\Plays\OrcaSql\src\OrcaSql.Core\Engine\DataScanner.cs:line 62 at OrcaSql.Core.Engine.DataScanner.d7.MoveNext() in C:\Plays\OrcaSql\src\OrcaSql.Core\Engine\DataScanner.cs:line 143 at System.Linq.Enumerable.d172.MoveNext() at System.Linq.Enumerable.<TakeIterator>d__251.MoveNext() at OrcaSql.OSMS.Main.ShowRows(IEnumerable1 rows, Row schemaRow, String tableName, Int64 rowCount) in C:\Plays\OrcaSql\src\OrcaSql.OSMS\Main.cs:line 514 at OrcaSql.OSMS.Main.LoadTable(String table, Nullable1 schemaId, Int64 rowCount) in C:\Plays\OrcaSql\src\OrcaSql.OSMS\Main.cs:line 450

RafeeSoft commented 1 year ago

Hi, I found these errors when I try with a highly corrupted database, I would appreciate it if you can fix these errors ErrorLog.txt

Thanks, Shafir