Geeks With Blogs

Lance's TextBox 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
   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

Posted on Tuesday, December 29, 2009 4:42 AM | Back to top

Comments on this post: GeeksWithBlogs and SubText Bloggers: Input string was not in a correct format

# re: GeeksWithBlogs and SubText Bloggers: Input string was not in a correct format
Requesting Gravatar...
I will see what it will take to update the GWB codebase for this fix. I may email you if I need more information.
Left by Jeff Julian on Dec 29, 2009 6:06 AM

Your comment:
 (will show your gravatar)

Copyright © Lance Robinson | Powered by: