house plans
FREE Shipping on All House Plans!
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
3417 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
The In-Law Suite Revolution
House Plans
European and Luxury House Plans, Large and Small!
House Plans
ARTICLES BY TOPIC
A Frame House Plans A Home Builders Opinion Air Conditioning Tips Architecture Beachfront Houseplans blueprints building log building lots bungalow Bungalow House Plans Cape Cod House Plans Coastal House Plans Color Photos Color Schemes Contemporary Style country house plans craftsman house plans Curb Appeal Custom vs Stock House Plans Customer Service Design design trends Do-It-Yourself Door Hardware
RECENT ARTICLES
Floor Plans: How to Read and Build
House Plans 101
Home Plan Features and Trends That Are Out
House Plans 101
A Craftsman Home: Most Popular House Plan
House Plans 101
Smarter, Efficient, and Trendier Designs for House Plans 2500-3000 Square Feet
House Plans
How to Hire a Contractor to Build Your House Plan
House Plans 101
The Purchasing a Building Lot for Your New Home Plan
House Plans 101
Are You Dreaming of a Beachfront Home?
House Plans 101
Building a Home: Choosing the Right House Plan for Your Lifestyle
House Plans 101
Courtyard Entry House Design: A Style that Offers Intimacy and Serenity
House Plans
How Big or Small Should Your House Plan Be?
House Plans
© 2014 The Plan Collection, LLC