title: My asp.net site has stopped giving me control not found error
body: <p>I work in an asp.net website, Earlier if I remove any control from my page and it has references in javascript something like this</p>
  
  <pre><code>$('#&lt;%= txtName.ClientID %&gt;') // just an example of use
  </code></pre>
  
  <p>it used to give me the error saying something like "txtName does not exist", showing the exact line where the problem is, which helps me figure out the cause and rectify it easily.</p>
  
  <p>But from last many days it has stopped giving me above type of error but it just shows </p>
  
  <pre><code>XML parsing error: no element found
  Location: 
  Line number 1: ...
  </code></pre>
  
  <p>That's make it hard to find the problem. Any idea why it has stopped this behavior?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Today I just added two Title elements by mistake in &lt;%@ Page directive and it started giving me the XML parsing error, earlier it used to give me error something like "Title cannot be defined multiple times" !!!</p>