"Search Category" issue...

Zim Hosein

Super Moderator | Elite Member
Super Moderator
Nov 27, 1999
64,955
382
126
Jason, when I use the "Search Category" box in OT , I receive the following error message:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
_ASP.searchresults_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +2182
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1926
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

Is this due to the search upgrade?
 

allisolm

Elite Member
Administrator
Jan 2, 2001
25,040
4,461
136
Originally posted by: Waterskier1
It isn't working for me....hasn't worked since Saturday.
No problems here. Sorry Zim and Waterskier1.


 

Waterskier1

Member
Feb 13, 2001
107
0
0
Ok, what am I doing wrong then? I did note that if I use the search box in under this forum, I do NOT get the error, but if I use the SEARCH Tab (the one with the eye glasses) after bringing up the Search window, I do get the Error. Also, I get the error using the search box under HOT BUYS and FOR SALE forums. I can copy the error message, if that will help...but casual review shows it to be the same as the OP posted.
 

jalaram

Lifer
Aug 14, 2000
12,920
2
81
Did you try clearing your cache/cookies? Do you have any firewall software installed? Maybe try disabling them?
 

Waterskier1

Member
Feb 13, 2001
107
0
0
Tried that. Note that everything worked fine until Sunday (it was working on Saturday). So, doubt that the firewall had a mind of it's own, and started blocking just the Search Function. Doesn't the error message mean something to you? Also, cashe/cookies on both browsers?
 

Waterskier1

Member
Feb 13, 2001
107
0
0
Ok, I've tried 4 different computers, on 3 different ISP/connections both at home and at work with both Netscape and IE, and ALL have the same results. Is this connected to you "Search Modifications"? I'm really missing the search function!!
 

Waterskier1

Member
Feb 13, 2001
107
0
0
Here is the exact Server Error message, if it might be helpful in troubleshooting:

Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
_ASP.searchresults_ascx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +2182
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1926


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
 

jalaram

Lifer
Aug 14, 2000
12,920
2
81
Originally posted by: Waterskier1
Ok, I've tried 4 different computers, on 3 different ISP/connections both at home and at work with both Netscape and IE, and ALL have the same results. Is this connected to you "Search Modifications"? I'm really missing the search function!!

I'm hoping that the two aren't related, but the timing seems right. Search category and Advanced search works for me except that the former no longer sorts by date.

Another question? When you tried the other computers, did you log in or try to search without a login or both? Can you try it without logging in?

 

Waterskier1

Member
Feb 13, 2001
107
0
0
Ok, I just tried one computer, on Netscape and IE, not logged in and logged in, not difference...same error. FYI, I could search for a user using the bottom portion of the Search Form "Forum User Search". Not sure if that help isolate the cause or not.
 

MrColin

Platinum Member
May 21, 2003
2,403
3
81
I started a thread on this yesterday. I can search messages within threads but I can't search topics. I get the screen posted by OP here.
 

Waterskier1

Member
Feb 13, 2001
107
0
0
I also can search within a thread (I have never used this before) but can not search topics or threads within a topic. Hopefully this info will help someone troubleshoot the problem - somone is trying to fix this, right?
 

Zim Hosein

Super Moderator | Elite Member
Super Moderator
Nov 27, 1999
64,955
382
126
Originally posted by: Waterskier1
I also can search within a thread (I have never used this before) but can not search topics or threads within a topic. Hopefully this info will help someone troubleshoot the problem - somone is trying to fix this, right?

I sure hope so. I've tried using the latest versions of IE, Netscape & Opera and I still see the same error message.
 

zeroidea

Senior member
Jan 1, 2000
643
0
76
I'm getting the same search error with Firefox, too - but search works fine in IE.

platform: WinXP 32-bit SP2 + recent patches
Firefox 1.0.6, IE6

edit: I just gave it a shot on my other computer (WinXP SP1, Firefox 'Deerpark' Alpha 1) - and search works as expected.. I installed Deer Park Alpha 2 on my SP2 system, and search still doesn't work. So the problem is maybe something to do with Firefox/SP2? windows was reinstalled a week ago, there's been no tweaking done. Disabling Windows Firewall had no effect.
 

Waterskier1

Member
Feb 13, 2001
107
0
0
All four of the computers I have are WinXP, SP2, all critical updates. All performed exactly the same, with both IE 6.0 and Netscape 7.2. None of these had any changes since Saturday, when the SEARCH function worked, and Jason modified the SEARCH function. Therefore, since the only identifiable change was the Update to the SEARCH function, I consider that highly suspectable. I am curious why your one computer, with SP1, and IE did work though. I don't have any computers with XP that are not SP2 with all critical updates applied, but I do have a WIN98SE box I'll try tonight. Not sure what versions of IE and Netscape that box has. But, we shouldn't have to migrate backwards to legacy software to get the SEARCH to work, when it did indeed work on the current software until last Saturday.
 

zeroidea

Senior member
Jan 1, 2000
643
0
76
Search also works with Firefox (x64)/WinXP (x64)..

Oddly, the http://techbargains.net searchbox works (or not) on the same sytems the AT search works (or not)..

edit: if I start Firefox with -ProfileManager and choose the default profile (as opposed to my regular one), search works (both here and at techbargains)..

edit, part 2: I went into about:config and reset a bunch of options to default, and now the search function on both sites is working again.. I'm not sure what did it, but if people find that using the default (clean) profile works, this may be a possible solution..
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |