Note that there are some explanatory texts on larger screens.

plurals
  1. POSystem.IndexOutOfRangeException while opening a Perst database
    primarykey
    data
    text
    <p>We are using Perst for Silverlight for a while, with good results, but recently we are receiving the following error when the database is opened: </p> <pre><code>System.IndexOutOfRangeException: [Arg_IndexOutOfRangeException] Argumente: Debuggingressourcen-Zeichenfolgen sind nicht verfügbar. Oft enthalten der Schlüssel und die Argumente genügend Informationen zur Diagnose des Problems. Weitere Informationen erhalten Sie unterhttp://go.microsoft.com/fwlink/?linkid=106663&amp;Version=5.0.61118.00&amp;File=mscorlib.dll&amp;Key=Arg_IndexOutOfRangeException bei Perst.Impl.Bytes.unpack4(Byte[] arr, Int32 offs) bei Perst.Impl.StorageImpl.loadStub(Int32 oid, Object obj, Type cls) bei Perst.Impl.StorageImpl.loadObject(Object obj) bei Perst.Persistent.Load() bei Perst.Impl.ClassDescriptor.OnLoad() bei Perst.Impl.StorageImpl.loadStub(Int32 oid, Object obj, Type cls) bei Perst.Impl.StorageImpl.loadObject(Object obj) bei Perst.Persistent.Load() bei Perst.Impl.StorageImpl.reloadScheme() bei Perst.Impl.StorageImpl.Open(IFile file, Int64 pagePoolSize) bei Perst.Impl.StorageImpl.Open(String filePath, Int64 pagePoolSize) bei Perst.Impl.StorageImpl.Open(String filePath) </code></pre> <p>This problem seems to appear while loading the schema for the following class:</p> <pre><code>public class CompanyInfo : DomainEntity { public string Iban { get; set; } public string Swift { get; set; } public string Vat { get; set; } public string AccountNumber { get; set; } public string ActiveManager { get; set; } public long? AttachmentMaxSize { get; set; } public string BackOfficeEmailAddress { get; set; } public string BankAddress { get; set; } public string BankCountry { get; set; } public string BankName { get; set; } public string City { get; set; } [Blob] public byte[] CompanyLogo { get; set; } public string CompanyLogoType { get; set; } public string Country { get; set; } public string County { get; set; } public Locale DefaultLocale { get; set; } public Guid? DefaultPaymentTermCustomer { get; set; } public short DefaultPriceAccuracy { get; set; } public Guid? DefaultPriceListGuid { get; set; } public string DistanceMetric { get; set; } public string EmailAddress { get; set; } public string EmailText { get; set; } public Dictionary&lt;Locale, string&gt; EmailTextTranslations { get; set; } public string Fax { get; set; } public string GeneralManager { get; set; } public string LocalCurrency { get; set; } public string Name { get; set; } public string PdfSmallText1 { get; set; } public Dictionary&lt;Locale, string&gt; PdfSmallText1Translations { get; set; } public string PdfSmallText2 { get; set; } public Dictionary&lt;Locale, string&gt; PdfSmallText2Translations { get; set; } public string Phone { get; set; } public string Phone2 { get; set; } public string PrintingHeader { get; set; } public string State { get; set; } public string Street { get; set; } public int? TotalAccuracy { get; set; } public string Website { get; set; } public string ZipCode { get; set; } } </code></pre> <p>The problem appears after loading the property:</p> <pre><code>[Blob] public byte[] CompanyLogo { get; set; } </code></pre> <p>Do you know what may be the problem? Unfortunately I can’t attach the database but if you need more details, please let me know.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload