house plans
FREE Shipping on All House Plans!
Question or to order
Home >> Technology >> Article
Search entire site
DREAM. LEARN. DISCOVER... GET STARTED.
Technology
Technology

Be Careful With Page.PreviousPage

Tags : ,
Published On : 03-04-2008
Author : Steve Donegan
3468 Views
ShareThis

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.

COMMENTS
RELATED ARTICLES
Be Careful With Page.PreviousPage
Technology
The Forums are Broken
Technology
New Technology Section
Technology
Apologies in advance
Technology
Thanks for coming
Technology
About a blog
Technology
Search Using ASP.Net and Lucene
Technology

Search House Plans

Bedrooms
 1  2  3  4  5+
Bathrooms
 1  1½  2  2½  3  3½  4+
Stories Garage Bays
 1  1½  2  1  2  3+
Square Feet
to
View Results
Enter Plan #:
HOUSE PLANS 101
FAQ
Glossary of Terms
Understanding Blueprints
Understanding Copyright
What's included in a set of house plans?
Why pre-drawn house plans?
MOST POPULAR ARTICLES
Plans with Indoor Basketball Courts
House Plans
1. Building on slab vs. crawl space vs. basement? Advantages / disadvantage
House Plans
Building a home plan with an indoor basketball court
House Plans
Garage Plans with Shops, Mother In-Law Suites, Apartments and Bonus Square Footage
House Plans
Luxurious Mountain Craftsman House Plans
House Plans
XML Encoding Problems - Hexadecimal Value 0x1A, is an Invalid Character
Technology
Beachfront, Coastal and Key West Home Plans
House Plans
The Finest Duplex, Town House, and Multi Unit Home Plans
House Plans
European and Luxury House Plans, Large and Small!
House Plans
The In-Law Suite Revolution
House Plans
ARTICLES BY TOPIC
A Frame House Plans A Home Builders Opinion Air Conditioning Tips Architecture Beachfront Houseplans blueprints building log building lots building mistakes bungalow Bungalow House Plans Cape Cod House Plans celebrity home designs Coastal House Plans Color Photos Color Schemes Considerations for Building Foundations in a New House Plan Contemporary Style country house plans craftsman house plans Curb Appeal Custom vs Stock House Plans Customer Service Design
RECENT ARTICLES
Installing the Proper Insulation
House Plans 101
Considerations for Building Foundations in a New House Plan
House Plans 101
Award-Winning TV Celebrity Home Designs
House Plans
Avoid Costly Home Building Mistakes
House Plans 101
Single Level House Plans for Now and Your Future
House Plans 101
Country House Design: An Expression of Picturesque and Rustic Simplicity
House Plans
Incorporating a Smart Home in your New Home Plan
House Plans 101
Knowing Heating and Cooling Dos and Dont's in Your House Plan
House Plans 101
How to Make Modifications to a House Plan
House Plans 101
Floor Plans: How to Read and Build
House Plans 101
© 2014 The Plan Collection, LLC