Questions? Give us a call 1-866-787-2023
Follow us on Twitter! Facebook Page
I found something interesting while testing the website tonight. The new search we implemented was not working on the pages that display house plans. I thought that it was some kind of routing error that could be attributed to the url rewriting. However, closer examination showed that this is the error:
'Page.PreviousPage' threw an exception of type 'System.Threading.ThreadAbortException'
For some reason ASP.Net doesn't like certain nested master pages and will throw this error. My solution was to remove the Page.PreviousPage reference and key off of a parameter value - in this case the value contained in the search box. All that I can figure is that the PreviousPage reference attempts to actually load the page which can result in errors and thus the exception. I haven't had this problem with any of the other pages on the site.
My fix may not be the one I want, but it is fixed.
You must be signed in to add a comment