vijayamadhavareddy / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Log to WebService #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if elmah could log errors to another instance of elmah on 
another server via a Web Service. The web service client could be configured 
with just the Web Service url. The other elmah instance, providing the web 
service, could then be configured use a traditional backing store.

This would support logging errors for multiple sites to a single location, 
regardless of firewalls. 

Original issue reported on code.google.com by adamband...@gmail.com on 10 Jul 2009 at 9:34

GoogleCodeExporter commented 9 years ago
 hello,  work the elamh with webservice?. i am trying to register de uncontrolle 
excepction in a webserver, and he show me  an error. you can see the error and 
the 
trace.

System.InvalidOperationException
: 
Formato de solicitud no reconocido para la dirección URL, finaliza de manera 
inesperada en '/WS_Error1'.

System.InvalidOperationException: Formato de solicitud no reconocido para la 
dirección URL, finaliza de manera inesperada en '/WS_Error1'.
   en System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type 
type, HttpContext context, HttpRequest request, HttpResponse response)
   en System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext 
context, String verb, String url, String filePath)
   en System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext 
context, String requestType, String url, String pathTranslated)
   en System.Web.HttpApplication.MapHttpHandler(HttpContext context, String 
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   en 
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IE
xecut
ionStep.Execute()
   en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& 
completedSynchronously)

can you helpme please? 

Original comment by EGADUV...@gmail.com on 22 Dec 2009 at 8:48

GoogleCodeExporter commented 9 years ago
I did something similar by creating my own ServiceErrorLog subclass of 
Elmah.ErrorLog.
I have blogged my solution:
http://filteroutput.blogspot.com/2010/04/serviceerrorlog-provider-for-elmah-part
.html

Original comment by stew.rit...@gmail.com on 13 May 2010 at 3:56