customErrors working too well on project open

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using VS2002
I have added some customError handling which e-mails me on a problem - this
works fine live but when I open a project in VS - I dont have to run it - I
get a deluge of emails from the error handling code.*
How can I stop this?

* The errors seem to come from a page that would be called by a DataGrid
template
 
On further investigation it turns our that on opening the project something
is 'running' the main page whch is a form containing a datagrid that has a
template.
The Template calls another page to load images and this is called for every
occurence of the template - ie if the paging is set to 10 then it gets
called 10 times
and I get 10 errors as instead of useful values passed in the querystring it
passes
'dataBound'!
I can trap this but its not ideal os does anyone have any ideas?
 
Back
Top