Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Another Object reference not set to an instance of an object with searchesAnother Object reference not set to an instance of an object with searches
Previous
 
Next
New Post
11/21/2006 10:46 AM
 

Hi

I've got a very odd DNN 4.3.5 (clean build) search issue. I've searched around the forums but I can't quite see a solution to this.

Before I explain, let me say my local (development) installation seaches great, no problem. It's when I upload the DNN application onto the live web server that I have issues.

When I do a search with my live installation I get the below error message. Note that this error is being displayed on the search results page, where a search results module is installed.

What I find more odd is that the filename's path (see below) for SearchDataStore.vb is actually the file path of my local installation, not my live installation. I don't know if that's a red herring or not or how to fix this.

Can anybody help me fix this?

Cheers

Alex

--->

AssemblyVersion: 04.03.05
PortalID: 1
PortalName: Myportal
UserID: -1
UserName:
ActiveTabID: 54
ActiveTabName: Search Results
RawURL: /SearchResults/tabid/54/Default.aspx?Search=building
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
http://www.[removed].com/Home/tabid/53/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: da83d07b-4b83-4214-897d-90b3605bbf77
InnerException: Object reference not set to an instance of an object.
FileName: C:\Websites\neweb\Library\Providers\SearchProviders\SearchDataStore\SearchDataStore.vb
FileLineNumber: 298
FileColumnNumber: 17
Method: DotNetNuke.Services.Search.SearchDataStore.GetSetting
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 DotNetNuke.Services.Search.SearchDataStore.GetSetting(String txtName) in C:\Websites\neweb\Library\Providers\SearchProviders\SearchDataStore\SearchDataStore.vb:line 298 at DotNetNuke.Services.Search.SearchDataStore.GetSearchResults(Int32 PortalID, String Criteria) in C:\Websites\neweb\Library\Providers\SearchProviders\SearchDataStore\SearchDataStore.vb:line 359 at DotNetNuke.Modules.SearchResults.SearchResults.BindData() at DotNetNuke.Modules.SearchResults.SearchResults.Page_Load(Object sender, EventArgs e) 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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: MyServer



Alex Shirley


 
New Post
11/21/2006 12:35 PM
 

Hi

I have more information to add to this. The behaviour appears to be intermittent. Currently there are little or no users of this site as it has only recently been made live. So if I leave it for 30 minutes or so the search will work, once. Then it will carry on working.

I tried forcing an app restart by editing web.config and trying a search again. Occasionally I got it to work, but more than often it wouldn't.

Note:

Only two scheduled tasks running:
DotNetNuke.Services.Search.SearchEngineScheduler is set to run every 30 mins.
DotNetNuke.Services.Scheduling.PurgeScheduleHistory is set to run every day.

I've also tried reindexing content, and there are only about 20 pages in total on the whole site.
Finally I disabled the cache for the entire portal app to see if this would make a change, and it didn't.

Your help here on how I can deal with this would be very much appreciated...

Cheers

Alex



Alex Shirley


 
New Post
11/27/2006 4:36 PM
 

No ideas at all here?? I'm totally stuck on how I diagnose this problem.

nb I've now set DotNetNuke.Services.Search.SearchEngineScheduler to run once a day, makes no difference.

Many thanks

Alex



Alex Shirley


 
New Post
11/28/2006 5:33 AM
 

Looks like these guys have the same issue, see here.

 



Alex Shirley


 
New Post
1/19/2007 7:21 PM
 
This appears to be the resolution:
http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=4113


Alex Shirley


 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Another Object reference not set to an instance of an object with searchesAnother Object reference not set to an instance of an object with searches


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out