GeeksWithBlogs.net and other SubText Users:
If you are trying to create a new blog post, and you get the following error:
Input string was not in a correct format. at
System.Text.StringBuilder.FormatError()
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider,
String format, Object[] args)
at Subtext.Framework.Util.KeyWords.Scan(String source, String oldValue,
String newValue, Boolean isFormat, Boolean onlyFirstMatch)
at Subtext.Framework.Util.KeyWords.Format(Entry entry)
at Subtext.Framework.Data.DatabaseObjectProvider.FormatEntry(Entry e,
Boolean UseKeyWords)
at Subtext.Framework.Data.DatabaseObjectProvider.Create(Entry entry,
Int32[] categoryIds)
at Subtext.Framework.Entries.Create(Entry entry)
at Subtext.Framework.XmlRpc.MetaWeblog.PostContent(String username,
String password, Post& post, Boolean publish, PostType postType)
The problem has been fixed. It was repoted by Joe Pruitt and fixed by Phil Haack not too long ago. It was happening for Joe (and me) when attempting to submit a post containing curly braces AND having keywords set up in SubText. No doubt both Joe and me had this problem due to posting powershell and C# code snippets.
If you can't get the update yet, you can always just remove your keyword definitions from SubText. Thats what I did. :P