This project is read-only.

Unable to edit story - WeblogTraceTextFormatter Exception

Mar 25, 2009 at 12:22 AM
This is an excelent project, I am learning so much from the work you've done, thanks for all the work.  Managed to start it up, works perfectly with one exception - when trying to edit the story, line 31 of WeblogTraceTextFormatter:
 extraHandlers["namaspace"] = GenericTextFormatter<LogEntry>.CreateSimpleTokenHandler(le => ((WeblogEntry)le).NamespaceName);

Throws an exception - Unable to cast object of type 'Microsoft.Practices.EnterpriseLibrary.Logging.LogEntry' to type 'Kigg.Infrastructure.EnterpriseLibrary.WeblogEntry'.  Any ideas would be greatly appreciated.


Apr 15, 2009 at 3:46 PM
Are you trying to edit the story as admin/moderator?
Apr 15, 2009 at 5:37 PM
I faced this too while creating new user and while submitting spam story.
The exception didn't break the application I cought it while in debug mode stepping through methods.
I e-mailed you this exception Kazi.
Aug 1, 2009 at 12:10 AM

This issue is now resolved, it was a configuration problem.