> Yes I know, thats my example but it does not work. I'm simply trying to
> get the line to work and display the dialog box on my local server if the
> assertion failed, but it does naff all and simply goes about its business
> without so much as a sneeze !!!
Debug.Assert doesn't work very well for asp.net applications. You need to
check the VS.Net output window and run the code from VS.Net. Not very
practicaly. Supposedly you can do stuff to fix it, like:
http://www.vbinfozine.com/t_aspnetassert.shtml
but I've never tried.
Karl

Signature
MY ASP.Net tutorials
http://www.openmymind.net/
http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
>> Yes I know, thats my example but it does not work. I'm simply trying to
>> get the line to work and display the dialog box on my local server if the
[quoted text clipped - 3 lines]
> I don't know anything about Debug.Assert, but does it only work in debug
> mode, and you're not debugging?
Mr Newbie - 30 Oct 2005 08:56 GMT
OK, thanks for your help Karl.
Much appreciated.
> Debug.Assert doesn't work very well for asp.net applications. You need to
> check the VS.Net output window and run the code from VS.Net. Not very
[quoted text clipped - 12 lines]
>> I don't know anything about Debug.Assert, but does it only work in debug
>> mode, and you're not debugging?