An error occurred while processing your request Stimulsoft - asp.net-core

When use StiNetCoreReportResponse.ResponseAsPdf in the asp.net core mvc in the devlopmentmode
it's work correctly but. when publish project and run in the iis has
Error.
An error occurred while processing your request.
Request ID: 00-75c9603a89a7c54397aafaca1f7c1fff-f3ad5a6da7a4464b-00
.

Related

ASP.Net Core 7 Error redirecting to Blazor page under Areas section

_Host.cshtml.cs:
return RedirectToPage("/Account/Login/Index", new { area = "Identity" });
Error:
An unhandled exception occurred while processing the request.
AmbiguousMatchException: The request matched multiple endpoints. Matches:
/Account/Login/Index
/Account/Login
/_Host
Microsoft.AspNetCore.Routing.Matching.DefaultEndpointSelector.ReportAmbiguity(CandidateState[] candidateState)
It's because I use ASP.Net Core Identity scaffolded pages which has the Login in Areas/Identity/Pages/Account/<foo>.cshtml. I tried to move them into Areas/Identity/Pages/Account/Login/<foo>.cshtml and ASP.Net Core is confused by that! Duh!

Load Runner => Action.c(1279): Error -26630: HTTP Status-Code=401 (Unauthorized) IIS

I'm receiving this error from load runner
Action.c(1279): Error -26630: HTTP Status-Code=401 (Unauthorized) for
xxxxxxxx
Even when I used browser in same time of using the tool I get 401 error.
ASP.NET Core application
IIS
even I used browser in same time of using the tool I get 401 error
What's your theory of what is happening and what testing have you done to validate your theory?

Unable to validate the 'id_token', no suitable ISecurityTokenValidator was found for: ''."

I am getting this exception in my ASP.NET Core 2.1 app. What does it mean? My request to AAD was for both code and id_token. I successfully completed the OnAuthorizationCodeReceived handler and exchanged the code for an access token but the app throws the exception. Where do I even start debugging this?

Can't run MVC application

when I debug mvc application , its show following error.but application build successfully .
HTTP Error 500.0 - Internal Server Error ASP.NET application
initialization failed.
Detailed Error Information: Module
AspNetAppInitializationFailureModule Notification BeginRequest
Handler ExtensionlessUrlHandler-Integrated-4.0 Error Code
0x00000000

How to get details exception from published Web Api

Is there any way to get detail exception & Stack trace from deployed Web Api?
Even if I deployed in Debug mode, do I get detail error traces?
I got bellow message from server API
"message": "Processing of the HTTP request resulted in an exception.
Please see the HTTP response returned by the 'Response' property of
this exception for details."
This happened only in server, same code running perfectly in local machine.
Did you check the content-type for the request that you are performing?
Sometimes this error comes because you don't specify this value, e.g. "application/json" in the headers of the request.
If your scenario is to have a central place to log any exceptions that happen when requests are being processed, then I would suggest to take a look at 5.1 version of Web API (released couple of days back), specifically the Global Error Handling feature.
http://www.asp.net/web-api/overview/releases/whats-new-in-aspnet-web-api-21#global-error
If you go to the above page,you should notice ExceptionLoggerContext which gives you details of the exception.
About Web API versions 5.0 and before:
In these versions there was no really a central place for catching exceptions. ExceptionFilterAttributes caught exceptions for only certain areas of Web API.