Error:-
the page has one or more <asp:content> that do not correspond with <asp:ContentPlaceHolder> controls in masterpage
sometimes working on the large project suddenly you will get this error and you will struct there...
B'coz this is a unusual error and Error itself is not explaining the problem. and other thing you will not get this error while debugging the project or running the project. your project will run smoothly without any problem.
you will get this error when you will try to open your page in design view from microsoft visual studio.
you will unable to view the design layout of the pages of your projects. its quite uncomfortable to work without checking design layout. so finally you will search and try to solve this problem.
for coders, it's very difficult to solve the error which is very tough to understand after reading it many times.
for solution you will definitely check the master page and also contentplaceholder. you will also check all the server tag and name of contentplaceholder of the master page and child page. you will fill very complex as all the contentplaceholder have the proper names.
Soooooooo.. here the solutions is.
1) Open your master page file.
2) check for the all the tags. start with <link> <title> <head> <style> <script>
you will surely forget to close one of this tag.
keep in mind that <title> tag should be closed with </title> not with <title / >
still if you are getting the same error then close all the tag same as <title></title>
now check the design layout of the pages. it will load the layout properly from now.
Try this!!!!!!!!!! :)