Hi,
When I go onto my website, Im have this error message. I really don't know what I have done wrong. For this website im using access database(dotnetnuke).
Can u pls help.
See error message below:
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 DotNetNuke.PortalSettings.GetPortalSettings(Int32 TabId, Int32 PortalId) +7053 DotNetNuke.PortalSettings..ctor(Int32 tabId, Int32 PortalId) +253 DotNetNuke.Global.Application_BeginRequest(Object sender, EventArgs e) +759 System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
|
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300