473,287 Members | 1,564 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

<customErrors mode="Off"/>

I want to use <customErrors mode="Off"/in the web.config file; but I want
to have custom error message for database time out error message. Is it
possible?
Mar 30 '07 #1
3 2126
One way to achieve this would be to handle the database timeout exception in
your code ... maybe at a masterpage or a basepage level, and should a
time-out occur at db level, you can redirect it to the customized error page.

HTH
--
Sashidhar Kokku
ikaSystems Corp
"nkw" wrote:
I want to use <customErrors mode="Off"/in the web.config file; but I want
to have custom error message for database time out error message. Is it
possible?
Mar 30 '07 #2
The code is feeding object data source. how to capture the timeout exeption
raised by object data source?

"Sashidhar Kokku" wrote:
One way to achieve this would be to handle the database timeout exception in
your code ... maybe at a masterpage or a basepage level, and should a
time-out occur at db level, you can redirect it to the customized error page.

HTH
--
Sashidhar Kokku
ikaSystems Corp
"nkw" wrote:
I want to use <customErrors mode="Off"/in the web.config file; but I want
to have custom error message for database time out error message. Is it
possible?
Mar 30 '07 #3
Try the example here
http://msdn2.microsoft.com/en-us/lib...exception.aspx

--
Sashidhar Kokku
ikaSystems Corp
"nkw" wrote:
The code is feeding object data source. how to capture the timeout exeption
raised by object data source?

"Sashidhar Kokku" wrote:
One way to achieve this would be to handle the database timeout exception in
your code ... maybe at a masterpage or a basepage level, and should a
time-out occur at db level, you can redirect it to the customized error page.

HTH
--
Sashidhar Kokku
ikaSystems Corp
"nkw" wrote:
I want to use <customErrors mode="Off"/in the web.config file; but I want
to have custom error message for database time out error message. Is it
possible?
Mar 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Han | last post by:
Has any one ran into this problem? I'm trying to debug an error on a remote ASP.NET server. I've set <customErrors mode = "Off"> in the web.config but it does not give a detailed, non-filtered...
1
by: Menno Abbink | last post by:
Hey All, I'm developing a new website and I want the customer to be able to se my work in progress so I have set up a server behind my ADSL-router. The server is using W2003. I've created a...
1
by: Savas Ates | last post by:
I have a web application It works well in my local fodler.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines, please...
5
by: Savas Ates | last post by:
I have a web application It works well in my local folder.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines,...
2
by: Alan Silver | last post by:
Hello, If I have the following HTML... <input type="image" src="fred.gif"> .... is there a way to specify the image in CSS rather than in the HTML? TIA
1
by: sharmadeep1980 | last post by:
Hi All, I am facing a very unique problem while compling my project in "Release" build. The project is building in DEBUG mode but giving linking error on Release build. Here is the error:...
2
by: Beemer Biker | last post by:
I made the above change to my web.config file so that errors would be reported from a remote site as explained in the Server Error: Details: To enable the details of this specific error message to...
2
by: moondog | last post by:
I have just upgraded from Visual Studio 2003 to 2005 and am now trying to make my web apps work. My web app compiles and works fine in Visual Studio but once I publish it out to my server (which...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.