Error Occured

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/26/2011 9:34:18 AM
Gravatar
Total Posts 26

Error Occured

I have data's in database,but also this error occured while browse this site,in mojoportal

 

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.ToBoolean(IFormatProvider provider) +56
   System.Convert.ToBoolean(Object value) +28
   mojoPortal.Business.PageSettings.LoadFromReader(IDataReader reader) +1817
   mojoPortal.Business.PageSettings.GetPage(Int32 siteId, Int32 pageId) +56
   mojoPortal.Business.PageSettings..ctor(Int32 siteId, Int32 pageId) +447
   mojoPortal.Business.WebHelpers.CacheHelper.LoadCurrentPage() +190
   mojoPortal.Business.WebHelpers.CacheHelper.GetCurrentPage() +143
   mojoPortal.Web.SiteUtils.GetMasterPage(Page page, SiteSettings siteSettings, Boolean allowOverride) +33
   mojoPortal.Web.UI.CmsPage.SetupMasterPage() +197
   mojoPortal.Web.UI.CmsPage.OnPreInit(EventArgs e) +61
   System.Web.UI.Page.PerformPreInit() +31
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328

 

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