Questions tagged [httpexception]

HttpException or HTTPException are exception classes defined by various object oriented libraries that signal a problem during processing of a http request.

There is a HttpException in the System.Web namespace of .Net, another one in Apache Commons and a HTTPException in JAX-WS

160 questions
0
votes
1 answer

Error HttpException: 502 when I do query SPARQL on DBPedia

I have a problem with SPARQL when I execute a query on DBPedia. I have this Java class: public class example { public static void main(String[] args) { String value = "http://dbpedia.org/resource/McLeod's_Daughters_(season_8)"; …
Musich87
  • 562
  • 1
  • 12
  • 31
0
votes
1 answer

Http response exceptions format

Does anyone know what is the best format to return an HTTP response error to the client when facing an exception? A format to handle the error in a dynamic way and the easiest way to catch the exception between server and client i suggested the…
User7291
  • 1,095
  • 3
  • 29
  • 71
0
votes
1 answer

Webresource.axd : unable to validate data

Since few days we have an error that occurs many times on our server. It starts throwing this error after we installed .net Framework 4.5. The exact error is (french server) : Code de l'événement : 3012 Message d'événement : Une erreur s'est…
0
votes
1 answer

Flaw in checking HTTP 500 error HttpUrlConnection Java

My issue is with status != 200 , when I run this script (3) different times, it'll print out the value for if{} (1) times, the else{} (1) time, and the catch{} another. I am simply trying to just print out in the if(status != 200 || showTitleAttr ==…
CodeTalk
  • 3,571
  • 16
  • 57
  • 92
0
votes
1 answer

Httpexception The Controls collection cannot be modified because the control contains code blocks

I try to add a user control by ajax but I have The same problem of This One, and the suggested solution is Remove <%= From head of page, but my master page is: As you see there is not any <%= character in head of page, So where is the problem? why…
Saeid
  • 13,224
  • 32
  • 107
  • 173
0
votes
1 answer

How to not send headers to the browser for application errors before handling errors

Right now i am able to generate custom errors page with the code below at web config This…
0
votes
2 answers

Respone.Redirect causes error once in a while, but i can't reproduce it

I have a website that will log the user out after a while of inactivity. This is done by the following code: window.location = "./logout.aspx?timeout=true"; But three times in the last couple of days I have received the following…
erikric
  • 4,049
  • 8
  • 32
  • 44
0
votes
1 answer

Forcing a custom HTTP 401 unauthorized page in ASP.NET

I've written a web application for internal use at work (not for the wider internet) that makes use of Windows authentication - ASP.NET interrogating Windows for the current set of credentials. An authentication method called from the Page_PreInit…
Chris B
  • 709
  • 2
  • 14
  • 32
-1
votes
0 answers

How to handle Errors While using Python FastApi as backend and Angular Observables as Front-end?

I am trying to build an application using the, Fastapi - Python as backend which exposes the API's. Angular - frontend and rxjs/Observables for subscribing to the API's using httpClient. It works well if the response is success as expected. But,…
vijay s
  • 147
  • 1
  • 4
  • 15
-1
votes
1 answer

HttpException error when I call SPARQL query (on DBPedia) in Java Code

I have a problem with SPARQL endpoint using Java Code. In particular, I have this Java Class: public class example { public static void main(String[] args) { String value = "http://dbpedia.org/resource/Fred_Guy"; example exam…
Musich87
  • 562
  • 1
  • 12
  • 31
1 2 3
10
11