title: Error on commented-out code
body: <p>wonderful coders. I'm getting an error on commented-out code. The error is as below:</p>
  
  <p><a href="https://i.stack.imgur.com/s93rj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/s93rj.png" alt="enter image description here"></a></p>
  
  <p>Previously I had controls with IDs #datepicker1 and #datepicker2, then I decided to no longer need them, so I removed them in code, and removed the Javascript that manipulated them.</p>
  
  <p>The odd thing is that this code works in Debug, but throws the exception when deployed and run from a server.</p>
  
  <p>Thanks</p>