Re: Using Error Msg box on website

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



A web application is quite a bit different from a Windows app. When the
browser hits the site, the site just respond with some output. You could
just write at a particular place in the current page being build (or use
client side JS to display a message box when this page loads or discard the
output and display a generic error page depending on what exactly you have
caught).

I would start by having a global error handler (see global.asax in the
documentation) that displays a generic message. This handler can mail the
error details to support staff.

--
Patrice

"Makaveli" <Makaveli@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: CA31338A-B589-41B4-AAF5-0E7C43BA4B03@xxxxxxxxxxxxxxxx
I am working on a web project (web-site) in Visual Studio 2005 in the C#
language and want to bring up a sort of error message window as part of my
try and catch blocks on certain parts of my code. At the moment just using
the basic Console.Writeline to output the Exception's message (which as
you
can imagine is not much use on a Website!!). Please can someone show me
the
basic code to output a window or a form with the error message from a try
and
catch statement please..
--
The good die young.....


.



Relevant Pages

  • Re: Upgrade your Eclipse Editor for Unidata/Universe
    ... Today we are announcing an outline feature for your basic code. ... All of your labels in your basic code show up in the outline ... it in the outline window and the editor takes you to the code. ...
    (comp.databases.pick)
  • Re: A Novice Question
    ... Evan Stone wrote: ... >> I created a form with a command button which ... >> from the basic code with status information as it runs through its job? ... >> What do I put in the code to write to this window. ...
    (microsoft.public.vb.general.discussion)
  • Re: A Novice Question
    ... >> I created a form with a command button which ... >> from the basic code with status information as it runs through its ... >> What do I put in the code to write to this window. ... Rick - MVP ...
    (microsoft.public.vb.general.discussion)
  • Re: A Novice Question
    ... > I created a form with a command button which ... > from the basic code with status information as it runs through its job? ... > What do I put in the code to write to this window. ... but with one little correction: ...
    (microsoft.public.vb.general.discussion)