When I try to edit a Links module the following error is shown. Database is MySQL, mojoPortal is 20050710 and .NET Framework is MS 1.1.4322.2300. Thanks!
Server Error in '/' Application.
Object cannot be cast from DBNull to other types.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
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.ToInt32(IFormatProvider provider) +48
System.Convert.ToInt32(Object value) +36
mojoPortal.Business.Module.GetModule(Int32 ModuleID) +372
mojoPortal.Business.Module..ctor(Int32 ModuleID) +72
mojoPortal.Web.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) +577
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750