Login Register
Code2night
  • Home
  • Blog Archive
  • Learn
    • Tutorials
    • Videos
  • Interview Q&A
  • Languages
    • Angular Angular js Asp.net Core C C#
      DotNet HTML/CSS Java JavaScript Node.js
      Python React Security SQL Server TypeScript
  • Post Blog
  • Tools
    • Beautifiers
      JSON Beautifier HTML Beautifier XML Beautifier CSS Beautifier JS Beautifier SQL Formatter
      Dev Utilities
      JWT Decoder Regex Tester Diff Checker Cron Explainer String Escape Hash Generator Password Generator
      Converters
      Base64 Encode/Decode URL Encoder/Decoder JSON to CSV CSV to JSON JSON to TypeScript Markdown to HTML Number Base Converter Timestamp Converter Case Converter
      Generators
      UUID / GUID Generator Lorem Ipsum QR Code Generator Meta Tag Generator
      Image Tools
      Image Converter Image Resizer Image Compressor Image to Base64 PNG to ICO Background Remover Color Picker
      Text & Content
      Word Counter PDF Editor
      SEO & Web
      SEO Analyzer URL Checker World Clock
  1. Home
  2. Blog
  3. ASP.NET Core
  4. Error-An error occurred while processing your request in .Net core IIS

Error-An error occurred while processing your request in .Net core IIS

Date- Nov 29,2023

Updated Feb 2026

11044

Free Download Pay & Download
Asp net Core IIS

Error. An error occurred while processing your request.

Hello guys sometimes when we publish out asp.net core application on IIS and if there is some error in the application code then it often redirect to Error screen having following message displayed in the screenshot below.

Error.

An error occurred while processing your request.

Request ID: 00-f00f219e17c51e6043908d6ae59e7c64-b20328e5bb969dbb-00

Development Mode

Swapping to Development environment will display more detailed information about the error that occurred.

The Development environment shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development and restarting the app.


So we will see how to fix following error in Asp.Net Core on IIS to display the exact error messageError-An error occurred while processing your request in Net core IIS

So this error generally shows up because of web config settings of our asp.net core application . To fix this you have to go to the webconfig of your application and edit that with notepad

Find following line in the web.config file

 <aspNetCore processPath="dotnet" arguments=".\Yourapplication.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />

Replace that with following line, here change the name of application.exe file with your own application.exe file and then save it and restart the application.

<aspNetCore processPath=".\Yourapplication.exe" arguments="" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false">
<environmentVariables> <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" /> </environmentVariables> </aspNetCore>

Now just reload the application and it must show the exact error message faced by your application and you can fix that error.

Error-An error occurred while processing your request in Net core IIS 2So this is how we can find the exact error message in the asp.net core application on IIS and fix Error-An error occurred while processing your request in .Net core IIS.

S
Shubham Saini
Programming author at Code2Night — sharing tutorials on ASP.NET, C#, and more.
View all posts →

Related Articles

HTTP Error 500.32 Failed to load ASP NET Core runtime
Dec 06, 2023
Status Code 413 Request Entity Too Large
Jul 02, 2023
Get Mime Type for any extension in Asp.Net
May 15, 2023
The underlying connection was closed: An unexpected error occurred on a send.
Apr 28, 2023
Previous in ASP.NET Core
How to implement Paypal in Asp.Net Core 8.0
Next in ASP.NET Core
Integrate Razorpay Payment Gateway in ASP.NET Core 8.0

Comments

On this page

🎯

Interview Prep

Ace your ASP.NET Core interview with curated Q&As for all levels.

View ASP.NET Core Interview Q&As

More in ASP.NET Core

  • How to Encrypt and Decrypt Password in Asp.Net 25972 views
  • Exception Handling Asp.Net Core 20738 views
  • HTTP Error 500.31 Failed to load ASP NET Core runtime 20213 views
  • How to implement Paypal in Asp.Net Core 19626 views
  • Task Scheduler in Asp.Net core 17520 views
View all ASP.NET Core posts →

Tags

AspNet C# programming AspNet MVC c programming AspNet Core C software development tutorial MVC memory management Paypal coding coding best practices data structures programming tutorial tutorials object oriented programming Slick Slider StripeNet
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, Haryana, India
info@code2night.com
Quick Links
  • Home
  • Blog Archive
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
  • SEO Analyzer
Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • SQL Formatter
  • Diff Checker
  • Regex Tester
  • Markdown to HTML
  • Word Counter
More Tools
  • Password Generator
  • QR Code Generator
  • Hash Generator
  • Base64 Encoder
  • JWT Decoder
  • UUID Generator
  • Image Converter
  • PNG to ICO
  • SEO Analyzer
By Language
  • Angular
  • Angular js
  • Asp.net Core
  • C
  • C#
  • DotNet
  • HTML/CSS
  • Java
  • JavaScript
  • Node.js
  • Python
  • React
  • Security
  • SQL Server
  • TypeScript
© 2026 Code2Night. All Rights Reserved.
Made with for developers  |  Privacy  ·  Terms
Translate Page
We use cookies to improve your experience and analyze site traffic. By clicking Accept, you consent to our use of cookies. Privacy Policy
Accessibility
Text size
High contrast
Grayscale
Dyslexia font
Highlight links
Pause animations
Large cursor