title: This is not a valid location for a breakpoint
body: <p>I am trying to put a breakpoint on below mentioned page in my ASP.Net MVC 2 application's .ascx or .aspx files in Visual Studio 2010. But it won't let me, it shows:</p>
  
  <p><em>"This is not a valid location for a breakpoint"</em>.</p>
  
  <p>Earlier it did work. Why is that? Any help is appreciated.</p>
  
  <p>My .ascx page looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/Ni5la.png" alt="enter image description here"></p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>.cs files it's working.Not working only on .aspx and .ascx files</p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p><strong>None</strong> of the below mentioned links of comment section are giving a solution for the issue.B'cos we cannot add additional code for the code base only for debug.So is there any method to just activate the red mark(debug mark) for my view's c# codes like mentioned on image?</p>
  
  <p><strong>EDIT 3</strong></p>
  
  <p><strong>It's working for inside the javascript tags</strong> on same file but not for the c# code.Any Clue ?</p>
  
  <p><img src="https://i.stack.imgur.com/6tLJS.png" alt="enter image description here"></p>
  
  <p><strong>EDIT 4</strong></p>
  
  <p>Above mentioned issue came after I installed <a href="http://www.microsoft.com/en-us/download/details.aspx?id=35448" rel="nofollow noreferrer"><strong>Windows Azure SDK for .NET - October 2012</strong></a></p>
  
  <p>When I compile the code it gives <strong>Waring message</strong> like below. </p>
  
  <p><img src="https://i.stack.imgur.com/3yGYy.png" alt="enter image description here"></p>