System.InvalidCastException

Object cannot be cast from DBNull to other types.

Description: HTTP 500.Error processing request.

Details: Non-web exception. Exception origin (name of application or object): mscorlib.

Exception stack trace:
at System.DBNull.System.IConvertible.ToInt32 (System.IFormatProvider provider) [0x00000] in <3b5f6e848f22446eab5aa2617eccf265>:0 at System.Convert.ToInt32 (System.Object value) [0x00003] in <3b5f6e848f22446eab5aa2617eccf265>:0 at GC.Velocity.WebListTemplate.checkChannel (System.Int32 parentid, System.Int32 cid, GC.Model.Model_Channel DataInfo) [0x00055] in <3b8604c7543943bf961b183130a8c8ae>:0 at HostSend.hmservices.servicetype.Page_Load (System.Object sender, System.EventArgs e) [0x00111] in <6fa95f07a58e4233b2b01a7b4ac3f018>:0 at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00023] in :0 at System.Web.UI.Control.LoadRecursive () [0x00028] in :0 at System.Web.UI.Page.ProcessLoad () [0x0004a] in :0 at System.Web.UI.Page.ProcessPostData () [0x00047] in :0 at System.Web.UI.Page.InternalProcessRequest () [0x001a1] in :0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x0005f] in :0
Baidu
sogou