No announcements
Found 3800699 threads
-
0 Votes
Problem with folders using a catch-all httphandler
User-1128085056 posted Assuming that you are using ASP.NET 2.0 you can solve your problem in a fairly straight forward way.Unanswered | 1 Replies | 74 Views | Created by Anonymous - Thursday, December 15, 2005 4:22 AM | Last reply by Anonymous - Thursday, December 15, 2005 11:25 PM -
0 Votes
Azure and HttpHandlers
Just to try, why don't you remove the httpHandlers section under system.web and leave only that in the system.webServer.Answered | 1 Replies | 7270 Views | Created by Ollie Riches - Sunday, December 18, 2011 7:42 PM | Last reply by Anton Staykov - Monday, December 19, 2011 6:03 AM -
6 Votes
Problem using nested try... catch
It's all because of this :( http://msdn.microsoft.com/en-us/library/ms182137(v=VS.100).aspx Before, I never used throw exceptions.Answered | 17 Replies | 6895 Views | Created by Jebasingh - Saturday, January 14, 2012 7:04 PM | Last reply by Patrice Scribe - Tuesday, January 17, 2012 9:01 AM -
2 Votes
Catching all possible Errors
Hello there, I've been working with several platforms that offered a way to catch all possible methods in one place.Answered | 3 Replies | 1048 Views | Created by iscitizen - Wednesday, February 6, 2013 6:35 PM | Last reply by Imb-hb - Wednesday, February 6, 2013 7:20 PM -
0 Votes
Is there any problem in using nested try catch
Hello Luckyforu2006, There is no problem in using the nested try catch in C# but thing need to remember is the order of the ...Answered | 2 Replies | 29152 Views | Created by luckyforu2006 - Monday, August 16, 2010 5:00 AM | Last reply by Paras Sanghani - Monday, August 16, 2010 5:31 AM -
0 Votes
Catch all exception
"To catch exceptions that occur in threads not created and owned by Windows Forms, use the UnhandledException event handler.Answered | 1 Replies | 3741 Views | Created by nTony Ho - Wednesday, June 11, 2008 2:35 AM | Last reply by Blair McG - Wednesday, June 11, 2008 9:24 AM -
5 Votes
Problem using 'If-else' block inside 'catch' block.
Again, why are you using array of String when you should be using String?Answered | 9 Replies | 776 Views | Created by Humaira Syed - Tuesday, December 1, 2015 12:07 PM | Last reply by Humaira Syed - Thursday, December 3, 2015 4:55 AM -
4 Votes
Try catch not catching problem with AD search
So to trap divide by zero errors you need to catch either catch DivideByZeroException explicitly or catch System.SystemException (or plain System.Exception since this is ...Answered | 6 Replies | 2344 Views | Created by CountryStyle - Thursday, August 6, 2009 2:21 AM | Last reply by Waleed El-Badry - Thursday, August 6, 2009 9:58 AM -
3 Votes
Correct use of Try Catch
In the second example, you will catch all errors that occur.Answered | 12 Replies | 3708 Views | Created by Gene Magerr - Friday, April 10, 2009 1:12 PM | Last reply by Gene Magerr - Saturday, April 11, 2009 12:18 AM -
1 Votes
Search all folders and sub-folders in a directory
I think the problem is simple.Answered | 6 Replies | 1438 Views | Created by Mr Paul Johnson - Monday, December 3, 2012 9:43 AM | Last reply by Pieter Geerkens - Monday, December 3, 2012 3:31 PM -
2 Votes
Should I catch all the exceptions that the method I used might throw?
So use exception handling with caution.Answered | 4 Replies | 3154 Views | Created by 0x409 - Thursday, October 21, 2010 6:14 AM | Last reply by Mike_999 - Thursday, October 21, 2010 7:34 AM -
1 Votes
TRY CATCH PROBLEM
There is a technique to catch these knid of errors..Answered | 5 Replies | 6276 Views | Created by Rajendra Kumbar - Wednesday, December 16, 2009 11:01 AM | Last reply by sanoj av - Wednesday, December 16, 2009 11:34 AM -
0 Votes
include all files in a folder
e As System.Exception outputWindowPane = outputWindow.OutputWindowPanes.Add(Name) End Try outputWindowPane.Activate() Return ...Answered | 2 Replies | 5845 Views | Created by Skyaddict - Friday, May 8, 2009 7:53 PM | Last reply by Gert Drapers (MSFT) - Monday, May 11, 2009 3:34 PM -
0 Votes
how to add try catch for all method automatically
One try/catch at the highest point in the code is going to catch all execeptions thrown in all methods below the highest point.Answered | 8 Replies | 10456 Views | Created by Awen Hu - Wednesday, March 4, 2015 11:51 AM | Last reply by Rajesh Kumar Shanmugam - Thursday, July 26, 2018 4:44 AM -
4 Votes
Catch-All Else Statment
Your use case specifies that a string is used to represent a command The command string consists of a command name followed by command ...Answered | 24 Replies | 3219 Views | Created by petersmcintyre - Saturday, September 22, 2012 2:32 AM | Last reply by Blair Allen Stark - Sunday, September 30, 2012 3:39 AM -
0 Votes
Strange Behavior for httphandler
Maybe your handler is incorrect.Answered | 3 Replies | 215 Views | Created by Miaomiao Lee - Monday, July 17, 2017 2:24 PM | Last reply by Miaomiao Lee - Tuesday, July 18, 2017 1:17 PM -
0 Votes
Problem catching an exception in Async function
Thanks you pointed me in the right direction...I changed the below to 'await UploadProcess1' and the catch now works.Answered | 2 Replies | 719 Views | Created by Ireland75 - Friday, October 24, 2014 1:35 PM | Last reply by Ireland75 - Friday, October 24, 2014 10:57 PM -
5 Votes
The catch does NOT catch
Will all these errors be caught by catch-block in outer procedure?Answered | 20 Replies | 6341 Views | Created by Andrew Goodnight - Friday, November 20, 2009 3:55 PM | Last reply by Plamen Ratchev - Tuesday, November 24, 2009 5:49 AM -
0 Votes
Use of Try Catch block
-- jump to the CATCH block.Answered | 3 Replies | 4036 Views | Created by NSG12 - Tuesday, January 5, 2010 8:36 PM | Last reply by Chirag Shah - Tuesday, January 5, 2010 8:51 PM -
1 Votes
Where to use the try/catch block in a using to catch exceptions?
In this case the inner try–catch will be able to catch the concurrency exception.Answered | 3 Replies | 6363 Views | Created by ComptonAlvaro - Wednesday, December 31, 2014 7:49 PM | Last reply by Viorel_ - Thursday, January 1, 2015 10:47 AM - Items 1 to 20 of 3800699 Next ›
No announcements