Questions tagged [asp.net]

Web application framework developed by Microsoft

ASP.NET is a web application framework developed by Microsoft that allows web developers to create dynamic web sites and applications.

First released in January 2002 it is the successor to Microsoft's Active Server Pages (ASP) technology.

ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language such as C# or VB.NET.

1234 questions
58
votes
3 answers

Is there any harm in disabling the idle timeout for an application pool?

I'm currently fighting an issue with ASP.Net taking minutes to load a page for the first time. Through playing with settings I've found that disabling "Shutdown worker processes after being idle for (time in minutes)" stops the issue from…
djdd87
  • 693
  • 1
  • 6
  • 9
51
votes
7 answers

How to remove IIS/ASP.NET Response Headers

I have a couple IIS/6.0 servers that security is asking me to remove a couple of response headers that are sent to client browsers on requests. They are concerned about divulging platform information through response headers. I have removed all the…
Astra
  • 683
  • 1
  • 7
  • 9
27
votes
15 answers

HELP! Production DB was SQL INJECTED!

Possible Duplicate: My server's been hacked EMERGENCY Geeze, I'm desperate! A few hours ago our production DB was sql-injected. I know we have some big holes in the system... because we inherited the website from a guy that did it on classic ASP,…
empz
  • 247
  • 1
  • 6
  • 15
25
votes
4 answers

Remove/Modify IIS 10 Server Header which discloses IIS version

I'm trying to remove the Server Header which discloses IIS version but couldn't. I'm using IIS Express 10 with ASP.NET Core 3.0 and have developed a Web API. I've tried below options but still header is present in response and reveals the Version…
RaJ
  • 351
  • 1
  • 3
  • 5
22
votes
1 answer

How to Grant IIS 7.5 access to a certificate in certificate store?

In Windows 2003 it was simple to do and one could use the winhttpcertcfg.exe (download) to give "NETWORK SERVICE" account access to a certificate. I'm now using Windows Server 2008 R2 with IIS 7.5 and I am unable to find where and how to set…
thames
  • 955
  • 3
  • 10
  • 20
20
votes
3 answers

IIS does not load custom HTTP module from web.config

I have a custom HTTP module for an ASP.NET MVC3 website that I'm loading from web.config: The module is…
Mike Chamberlain
  • 595
  • 1
  • 4
  • 12
20
votes
8 answers

After Windows 7 SP1 IIS errors with "Invalid application path"

I'm getting this new, strange error message in IIS after updating Windows 7 (x64) with SP1. Open the IIS Manager Browse to an exisiting Virtual Application (or create a new one) Open its Basic Settings dialog Click Test Settings The error message…
sergiopereira
  • 301
  • 1
  • 2
  • 4
19
votes
2 answers

Where is ASP.NET server log file is located?

My ASP.NET MVC application on my development box is running wild; I can't even connected to localhost. In order to know what is the problem, I want to find the log file and examine it. Where is the location of the ASP.NET Server log file? I couldn't…
Graviton
  • 2,865
  • 12
  • 42
  • 64
19
votes
2 answers

What does the ".NET Framework Version" setting in IIS actually do?

This seems like an obvious question, but I'm trying to determine what the "Change .NET Framework Version" button on the top level IIS configuration panel actually changes. On all of my servers, it has always been left at v2.0. My application pools…
John Hargrove
  • 332
  • 1
  • 2
  • 8
18
votes
4 answers

IIS7 - Lock Violation error, HTTP handlers, modules, and the element

I have an ASP.NET site that uses its own set of HTTP handlers and does not need any modules. So, in IIS6, all I had to do was this in my web.config: However, if I try to do the same in the system.webServer…
Daniel Schaffer
  • 465
  • 1
  • 6
  • 12
18
votes
4 answers

Why does IIS refuse to serve ASP.NET content?

My Windows Server 2003 Std server refuses to server ASP.NET content. It serves regular html just fine but anything .net, even a one line html file with an ASPX extention fails silently. Things I've tried: Nothing in the event log or IIS WWW logs…
Michael Haren
  • 1,301
  • 7
  • 18
  • 31
17
votes
6 answers

IIS 7 + ASP.NET 4

I have an ASP.NET application that I am trying to convert to an ASP.NET 4 application. The application is fairly simple. I have created a new web application in IIS 7.5 pointing to the directory that the ASP.NET application exists in. When I…
user26712
  • 329
  • 1
  • 4
  • 10
17
votes
9 answers

How to Slow Down a Hacker

Some script kiddie in Delhi, India has been trying to hack our site since last night. He wrote a browser script that makes requests of our server in massive nested loops, trying everything under the sun. He's not getting anywhere, and isn't getting…
Flipster
  • 271
  • 1
  • 5
17
votes
2 answers

Zero downtime uploads / Rollback in IIS

I'm not sure if this is the right way to ask this question, but here's basically what i'd like to do: 1.) Push a changeset to a site in IIS. 2.) Don't interrupt the users. 3.) Be able to roll back effortlessly. So, there are a few things that I…
ChickenMilkBomb
  • 419
  • 6
  • 14
15
votes
3 answers

IIS7 returns blank when static content requested

I am trying to configure a demo machine which is EEEPC with Windows 7 Home Premium edition all the drivers properly loaded (don't ask me why it's Home edition) with IIS7 installed. I've deploy the application to be demo-ed on the machine which is an…
chakrit
  • 417
  • 2
  • 6
  • 15
1
2 3
82 83