Exception: 'System.String[]' to type 'System.String'.

Sep 3, 2009 at 7:04 PM

Scenario: Go to blog post editing and try saving the entry.
Expected result: Post saved.
Actual result: Exception.
Exception: Unable to cast object of type 'System.String[]' to type 'System.String'.
File: PostModelBinder
Line: 22

I've seen this kind of exception not only here, but while trying to edit site settings as well.

Sep 3, 2009 at 11:59 PM

Yah, we've seen that problem too.  I thought I fixed it, but I may have fixed one of the other occurrances and hadn't noticed that one.  Not sure what changed to make the type come in wrong, but we'll look into it.  Thanks!