Deleting default admin posting in new forums caused error

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/15/2007 11:23:14 AM
Gravatar
Total Posts 21

Deleting default admin posting in new forums caused error

I was deleting the default sample post from the forums which seemed to work fine..

but when I returned to the forum list.. the posting was still in the list.. but now when you click on it it brings up an error.

basicly looks like it's looking for the deleted data..

==============================================================================
Exception Details: System.InvalidCastException: Object cannot be cast from DBNull to other types.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidCastException: Object cannot be cast from DBNull to other types.]
System.DBNull.System.IConvertible.ToDateTime(IFormatProvider provider) +54
System.Convert.ToDateTime(Object value) +29
mojoPortal.Business.ForumThread.GetThread(Int32 threadID) +722
mojoPortal.Business.ForumThread..ctor(Int32 threadID) +168
mojoPortal.Web.ForumUI.ForumThreadView.PopulateControls() +53
mojoPortal.Web.ForumUI.ForumThreadView.Page_Load(Object sender, EventArgs e) +213
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

You must sign in to post in the forums. This thread is closed to new posts.