Click here to Skip to main content
15,507,755 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: php 7.4.14 convert smalldatetime to string for html display Pin
Richard Deeming9-Feb-21 23:00
mveRichard Deeming9-Feb-21 23:00 
GeneralRe: php 7.4.14 convert smalldatetime to string for html display Pin
jkirkerx10-Feb-21 6:19
professionaljkirkerx10-Feb-21 6:19 
GeneralRefresh a div with pjax Pin
Member 150664316-Feb-21 10:32
Member 150664316-Feb-21 10:32 
GeneralRe: Refresh a div with pjax Pin
OriginalGriff6-Feb-21 10:45
mveOriginalGriff6-Feb-21 10:45 
Question500 Error Pin
#realJSOP4-Feb-21 6:49
mva#realJSOP4-Feb-21 6:49 
AnswerRe: 500 Error Pin
Richard Deeming4-Feb-21 6:59
mveRichard Deeming4-Feb-21 6:59 
GeneralRe: 500 Error Pin
#realJSOP4-Feb-21 8:33
mva#realJSOP4-Feb-21 8:33 
GeneralRe: 500 Error Pin
Richard Deeming4-Feb-21 22:42
mveRichard Deeming4-Feb-21 22:42 
Assuming this isn't ASP.NET Core, the Windows application event log on the affected server should contain an entry for every unhandled exception thrown by your application.

Eg:
Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          05/02/2021 08:33:24
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      ...
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 05/02/2021 08:33:24 
Event time (UTC): 05/02/2021 08:33:24 
Event ID: 3517ee43b6ef4766b78e33194f895134 
Event sequence: 19833 
Event occurrence: 3 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/2/ROOT-1-132569484930082141 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: ...
    Machine name: ...
 
Process information: 
    Process ID: 4920 
    Process name: w3wp.exe 
    Account name: IIS APPPOOL\.NET v4.5 (64-bit) 
 
Exception information: 
    Exception type: InvalidOperationException 
    Exception message: Request format is unrecognized for URL unexpectedly ending in '/CountProducts'.
   at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
   at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 
 
Request information: 
    Request URL: ...
    Request path: ...
    User host address: ...
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: IIS APPPOOL\.NET v4.5 (64-bit) 
 
Thread information: 
    Thread ID: 89 
    Thread account name: IIS APPPOOL\.NET v4.5 (64-bit) 
    Is impersonating: False 
    Stack trace:    at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
   at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Have you got health monitoring enabled? It works for WebForms and MVC.
ASP.NET Health Monitoring Overview | Microsoft Docs[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: 500 Error Pin
#realJSOP7-Feb-21 10:08
mva#realJSOP7-Feb-21 10:08 
QuestionVS code/Live Server Browser issue Pin
ISHYY4-Feb-21 5:42
ISHYY4-Feb-21 5:42 
Questiondeployment using "FTP Passive" Pin
Super Lloyd4-Feb-21 2:56
Super Lloyd4-Feb-21 2:56 
QuestionPHP 7.4, best practice to establish a database connection Pin
jkirkerx2-Feb-21 9:10
professionaljkirkerx2-Feb-21 9:10 
QuestionWhich will be the best web development course for kids? Pin
Annet Rose14-Jan-21 0:35
Annet Rose14-Jan-21 0:35 
AnswerRe: Which will be the best web development course for kids? Pin
Richard MacCutchan14-Jan-21 1:37
mveRichard MacCutchan14-Jan-21 1:37 
RantHTML Emails - Printing Pin
Gripper 1070963823-Dec-20 7:08
Gripper 1070963823-Dec-20 7:08 
QuestionPHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx19-Dec-20 12:31
professionaljkirkerx19-Dec-20 12:31 
AnswerRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
Peter_in_278019-Dec-20 16:02
professionalPeter_in_278019-Dec-20 16:02 
GeneralRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx20-Dec-20 9:01
professionaljkirkerx20-Dec-20 9:01 
AnswerRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
Graham Breach20-Dec-20 6:02
Graham Breach20-Dec-20 6:02 
GeneralRe: PHP 4.7, JSON and HTTP response header payload, json_encode Pin
jkirkerx20-Dec-20 9:04
professionaljkirkerx20-Dec-20 9:04 
QuestionI might be wrong about Firefox BOOKMARK behavior ... but Pin
RedDk19-Dec-20 9:36
RedDk19-Dec-20 9:36 
QuestionMVC control libraries Pin
#realJSOP18-Dec-20 3:28
mva#realJSOP18-Dec-20 3:28 
AnswerRe: MVC control libraries Pin
Richard Deeming18-Dec-20 4:04
mveRichard Deeming18-Dec-20 4:04 
GeneralRe: MVC control libraries Pin
#realJSOP18-Dec-20 4:46
mva#realJSOP18-Dec-20 4:46 
GeneralRe: MVC control libraries Pin
Richard Deeming18-Dec-20 4:49
mveRichard Deeming18-Dec-20 4:49 

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.