title: On Error Goto throws error
body: <p>There are similar questions about <code>On Error Goto x</code> not catching all errors etc, but I've encountered a different problem.</p>
  
  <p>My (Classic ASP) page works fine, most of the time. Some users complain of an error on the page, couldn't duplicate yet.</p>
  
  <p>I tried error handling but <code>On Error Resume Next</code> does not help me with this situation and <code>On Error Goto</code> causes the page not to work and constantly throw an error (which looks like a 500, but that might be because of handling IIS is doing in background). It happens whether I write <code>Goto 0</code> or <code>Goto [label]</code> without a difference if the label exists or not.</p>
  
  <p>What might be causing this?</p>