---
title: "HTTP Status Codes in .Net"  
description: "When users try to access content on a server that is running Internet Information Services (IIS) through HTTP or File Transfer Protocol (FTP), IIS ret"  
author: "Amit Singh"  
published: 2011-03-22  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/134/http-status-codes-in-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# HTTP Status Codes in .Net

When users try to [access content](https://answers.mindstick.com/qa/32313/should-websites-be-more-upfront-about-how-consumer-data-is-used-to-benefit-both-parties-once-they-agree-to-access-content) on a server that is running [Internet](https://www.mindstick.com/articles/44650/what-should-you-do-during-an-internet-outage) Information [Services](https://www.mindstick.com/articles/13111/distinctions-of-iiot-services-how-its-helps-brands) (IIS) through HTTP or [File Transfer](https://answers.mindstick.com/qa/109023/how-to-troubleshoot-a-slow-file-transfer) Protocol (FTP), IIS returns a numeric code that indicates the status of the request. This [status code](https://www.mindstick.com/forum/159703/what-is-the-http-status-code-when-a-resource-is-not-found-how-to-handle-it) is recorded in the IIS log, and it may also be displayed in the [Web browser](https://www.mindstick.com/blog/301688/best-web-browsers-for-2023) or FTP client. The status code can indicate whether a particular request is successful or unsuccessful and can also reveal the [exact reason](https://answers.mindstick.com/qa/95068/how-do-i-know-the-exact-reason-my-pc-can-t-run-windows-11) why a request is unsuccessful. There are 5 groups ranging from 1xx - 5xx of http [status codes](https://www.mindstick.com/forum/160304/importance-of-http-status-codes-in-responses-to-httppost-methods-requests-in-dot-net-core-api) exists.

There are some Http Status Codes in .net and its meaning\

101 - Switching protocols.

200 - OK. The client request has succeeded

302 - Object moved.

400 - Bad request.

403- [Page Not Found](https://www.mindstick.com/articles/1498/custom-error-page-in-asp-dot-net-mvc-4) Exception.

500.13 - [Web server](https://www.mindstick.com/articles/23199/digital-personal-server-the-premium-web-server) is too busy.

---

Original Source: https://www.mindstick.com/blog/134/http-status-codes-in-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
