Skip to content

Infinite loop while handling error in MasterPage

Vishwas Kadamannaya

Asked Jan 30, 2014, 10:38 PM EST1 answer
Share
LinkedInX
Hello All,
               I have a masterPage(Main.Master) and errorPage(error.aspx which has masterPage Main.Master) . I am handing some exception in MasetrPage and if caught i redirect to errorPage, which brings to an infinite LOOP. How to overcome this 
 
Any Ideas !!! 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    what is the error you are getting? if the error is specific to the functionality of a particular page then you can redirect to error.aspx else create the error.aspx without using the master page.
    0