On occasion while testing a new .net website I will get a invalidoperationexception error. Generally it will occur while refreshing a page that I coding and re-coding. Does anyone know how to catch this error? Using TRY..CATCH..END TRY<BR><BR>I can&#039;t figure out what to TRY when the error doesn&#039;t occur at a specific point. I&#039;ve thought about doing some sort of wrapper TRY...CATCH...END TRY on the complete code, but I don&#039;t know about this. It&#039;s rathar hard to catch since it doesn&#039;t occur very often.<BR><BR>Any suggestions. TIA