New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the Community Exchange, where community members ask and answer questions about DNN. To get started, just start typing your question below and either select one of the suggested questions or ask a new question of your own.

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

Return to previous page

  • 10/31/2014
  • 11085 Views

Question:

L P long time ago

Hello, 

I am experiencing a ton of these errors. I recently upgraded to DNN 7.3.3 to see if it helped, but it has not. I get 1 every minute and my Event Viewer is full of them. 

AssemblyVersion:7.3.3

PortalID:-1

PortalName:

UserID:-1

UserName:

ActiveTabID:-1

ActiveTabName:

RawURL:

AbsoluteURL:

AbsoluteURLReferrer:

UserAgent:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:a2c0cd35-3d26-4031-b69c-0c6a252558b7

InnerException:Object cannot be cast from DBNull to other types.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.DBNull.System.IConvertible.ToDateTime

StackTrace:

Message:

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

at System.DBNull.System.IConvertible.ToDateTime(IFormatProvider provider)

at DotNetNuke.Services.Search.UserIndexer.GetSearchDocuments(Int32 portalId, DateTime startDate)

Source:

Server Name:

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

L P
L P long time ago
Add an Answer

Answers

Sign In to Participate
Or register to become a member