Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to prevent remote log off Pin
turbosupramk321-Dec-11 10:45
turbosupramk321-Dec-11 10:45 
AnswerRe: How to prevent remote log off Pin
jschell22-Dec-11 8:15
jschell22-Dec-11 8:15 
QuestionXML from URL Causes Internal Server Error (500) Pin
Enochs21-Dec-11 5:41
Enochs21-Dec-11 5:41 
AnswerRe: XML from URL Causes Internal Server Error (500) Pin
fjdiewornncalwe21-Dec-11 7:10
professionalfjdiewornncalwe21-Dec-11 7:10 
GeneralRe: XML from URL Causes Internal Server Error (500) Pin
Enochs21-Dec-11 9:02
Enochs21-Dec-11 9:02 
GeneralRe: XML from URL Causes Internal Server Error (500) Pin
fjdiewornncalwe21-Dec-11 9:08
professionalfjdiewornncalwe21-Dec-11 9:08 
GeneralRe: XML from URL Causes Internal Server Error (500) Pin
Enochs21-Dec-11 12:07
Enochs21-Dec-11 12:07 
AnswerRe: XML from URL Causes Internal Server Error (500) Pin
jschell22-Dec-11 8:20
jschell22-Dec-11 8:20 
Enochs wrote:
catch (XmlException ex)


What makes you think that that is the only possible exception that can be thrown? If another exception is thrown then it is going to result in some error response to the client (which is what you are seeing.)

Also maybe your url in the catch is failing.

Also shouldn't you log something if it fails?

modified 23-Dec-11 15:55pm.

QuestionIssues of Making MS-Access Schema Pin
Rajesh Singh00721-Dec-11 3:19
Rajesh Singh00721-Dec-11 3:19 
AnswerRe: Issues of Making MS-Access Schema Pin
Luc Pattyn21-Dec-11 3:47
sitebuilderLuc Pattyn21-Dec-11 3:47 
GeneralRe: Issues of Making MS-Access Schema Pin
Rajesh Singh00721-Dec-11 4:06
Rajesh Singh00721-Dec-11 4:06 
AnswerRe: Issues of Making MS-Access Schema Pin
Luc Pattyn21-Dec-11 4:21
sitebuilderLuc Pattyn21-Dec-11 4:21 
AnswerRe: Issues of Making MS-Access Schema Pin
riced21-Dec-11 11:31
riced21-Dec-11 11:31 
AnswerRe: Issues of Making MS-Access Schema Pin
SilimSayo22-Dec-11 13:09
SilimSayo22-Dec-11 13:09 
QuestionWrong Target set in Desktop shortcut Pin
iamdking21-Dec-11 0:57
iamdking21-Dec-11 0:57 
AnswerRe: Wrong Target set in Desktop shortcut Pin
Richard MacCutchan21-Dec-11 3:06
mveRichard MacCutchan21-Dec-11 3:06 
GeneralRe: Wrong Target set in Desktop shortcut Pin
iamdking21-Dec-11 19:24
iamdking21-Dec-11 19:24 
GeneralRe: Wrong Target set in Desktop shortcut Pin
Richard MacCutchan21-Dec-11 21:56
mveRichard MacCutchan21-Dec-11 21:56 
GeneralRe: Wrong Target set in Desktop shortcut Pin
iamdking21-Dec-11 23:56
iamdking21-Dec-11 23:56 
GeneralRe: Wrong Target set in Desktop shortcut Pin
Richard MacCutchan22-Dec-11 0:55
mveRichard MacCutchan22-Dec-11 0:55 
GeneralRe: Wrong Target set in Desktop shortcut Pin
iamdking22-Dec-11 3:09
iamdking22-Dec-11 3:09 
NewsDirectX.Capture save wmv Pin
is90057james21-Dec-11 0:08
is90057james21-Dec-11 0:08 
Questionobject to intialize and some function call question Pin
Blubbo20-Dec-11 10:04
Blubbo20-Dec-11 10:04 
AnswerRe: object to intialize and some function call question Pin
Luc Pattyn20-Dec-11 10:19
sitebuilderLuc Pattyn20-Dec-11 10:19 
GeneralRe: object to intialize and some function call question Pin
Blubbo21-Dec-11 2:30
Blubbo21-Dec-11 2:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.