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't figure out what to TRY when the error doesn't occur at a specific point. I've thought about doing some sort of wrapper TRY...CATCH...END TRY on the complete code, but I don't know about this. It's rathar hard to catch since it doesn't occur very often.<BR><BR>Any suggestions. TIA