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