|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
trap exceptions by ASP pagesHello,
I want that every error in every asp/javascript/ etc... will trappped to a central asp page (not dotnet), which I declare on my site. Also : suppose I have a dotnet site platformed - is the declaration for that may be the same for not dotnet declarations. Thanks :) Each of those is handled differently -
You cannot capture JavaScript errors except on the client-side as this is where it is processed. You can set the default error page for ASP errors (500) in IIS. You can se the error page redirects for ASP.NET using the <customErrors> and <error> elements in web.config. These can redirect to any page you want eg. <customErrors defaultRedirect="somePage.asp mode="RemoteOnly /> -- Show quotePhilip Q Microsoft MVP [ASP.NET] "Eitan" <no_spam_please@nospam_please.com> wrote in message news:OMFEswK%23EHA.1124@TK2MSFTNGP10.phx.gbl... > Hello, > I want that every error in every asp/javascript/ etc... will trappped to a > central asp page (not dotnet), which I declare on my site. > > Also : > suppose I have a dotnet site platformed - is the declaration for that may > be > the same for not dotnet declarations. > > Thanks :) > > > |
|||||||||||||||||||||||