Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Search "Data Could not be loaded" Or "Object Referenced not set to an instance of an object.
Last Post 04/27/2011 11:12 AM by Peter Donker. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Leslies PoolsMart
New Member
New Member
Posts:7


--
04/22/2011 8:26 PM
Hi Peter,

I'm getting an object referenced not set to an instance of an object error from the search page. When I try to Search in the main interface. I get a "Data Could not be loaded" error. Any Idea what is going on?


dnn 4.9.5
dmx 05.02.01
Leslies PoolsMart
New Member
New Member
Posts:7


--
04/22/2011 8:28 PM
here is the error log
AssemblyVersion: 04.09.05
PortalID: 0
PortalName: Leslies Corporate Intranet
UserID: 80
UserName: Leslies\brecon
ActiveTabID: 37
ActiveTabName: Search Results
RawURL: /dnn/SearchResults/tabid/37/Default.aspx?Search=test
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6.3; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 39d29373-7cb6-4162-ba7f-9b9635a264e9
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Bring2mind.DNN.Modules.DMX.Services.Search.LuceneSearchProvider.SearchResultReader.Read
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Bring2mind.DNN.Modules.DMX.Services.Search.LuceneSearchProvider.SearchResultReader.Read() at System.Data.SqlClient.SqlBulkCopy.ReadFromRowSource() at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternal() at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServer(Int32 columnCount) at System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader) at Bring2mind.DNN.Modules.DMX.Data.SqlDataProvider.BulkCopyReader(String tableName, IDataReader reader, Boolean closeReader, String[] mappings) at Bring2mind.DNN.Modules.DMX.Data.SqlDataProvider.SetSearch(Int32 PortalId, String SearchId, IDataReader SearchResults) at Bring2mind.DNN.Modules.DMX.Services.Search.SearchController.Search(Int32 PortalId, String SearchId, List`1 SearchTerms, Int32 CollectionId, Boolean OnlyLastVersion, Boolean HideDeleted, Boolean OnlyApproved) at Bring2mind.DNN.Modules.DMX.Search.ᜀ() at Bring2mind.DNN.Modules.DMX.Search.ᜀ(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: APPPROD
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/26/2011 2:04 PM
Hi Brent,

This is new to me. Looks like there is an issue reading Lucene or invoking the copying of the results to SQL.

Peter
Leslies PoolsMart
New Member
New Member
Posts:7


--
04/26/2011 3:30 PM
Hi Peter,

So any suggestions on how to correct this? Corrupted dll? Replace the Dll?

Thanks,
Brent
Leslies PoolsMart
New Member
New Member
Posts:7


--
04/26/2011 3:43 PM
Copied the working dlls from dev to prod still same error.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/27/2011 11:12 AM
Have you tried reindexing? It's under Admin > Run Scripts (DMX menu).

Peter
You are not authorized to post a reply.