Support

Kom i kontakt med vår kundtjänst, lär dig allt via vår SDK eller ladda ner den senaste uppdateringen.

Unable to cast object of type 'System.Int32' to type 'System.String'.

2010-10-12 07:59:32 H

Got this when trying to access the editorial interface, all was working untill this morning, leaves me somewhat cluessless since the code hasn't been changed (what I know of ) since I left it yesterday and it was working, tried to reset the admin folder w/o luck.

Stack Trace:

[InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.]
   Mindroute.Lemoon.Helpers.FormHelper.GetLocalizedOptions(PersistedField field) +521
   Mindroute.Lemoon.Helpers.FormHelper.CreateFormControls(List`1 fields, String type, Boolean setDefaultValues) +11648
   Mindroute.Lemoon.Helpers.FormHelper.CreateFormControls(List`1 fields, Boolean setDefaultValues) +45
   Mindroute.Lemoon.Admin._Content._Edit.Default.OnLoad(Content content) +199
   Mindroute.Lemoon.Admin._Content.Edit.OnInit(EventArgs e) +5797
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

Hm?

All replies

  • 2010-10-12 09:32:31 Magnus

    When does this happens? Directly after logon or when you click on the Site icon. Or when you try to click on a specific page in the tree view?

  • 2010-10-12 12:33:06 H

    Thanks for the quick reply, it was a fuction on the page that was unstable just took a while to actually find it since I didn't get any help from the error screen on where it was.

     

    Best regards /H