Web application framework developed by Microsoft

learn more… | top users | synonyms

35
votes
5answers
47k views

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 ...
31
votes
3answers
19k views

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 ...
22
votes
15answers
3k views

HELP! Production DB was SQL INJECTED! [duplicate]

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 ...
20
votes
7answers
15k views

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 ...
17
votes
10answers
2k views

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 ...
17
votes
6answers
21k views

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 ...
17
votes
2answers
8k views

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 ...
15
votes
4answers
20k views

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 ...
14
votes
2answers
20k views

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 ...
14
votes
3answers
18k views

IIS7 - Lock Violation error, HTTP handlers, modules, and the <clear /> 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: <httpModules> <clear /> ...
13
votes
11answers
4k views

Chinese Hacker-Bots attempting to exploit our systems 24/7

Our sites our constantly under attack from bots with IP addresses resolving to China, attempting to exploit our systems. While their attacks are proving unsuccessful, they are a constant drain on our ...
12
votes
2answers
2k views

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 ...
12
votes
4answers
625 views

IIS7 ASP.NET application - 2 identical apps in 2 identical app pools, 1 is responsive and 1 is not

I have an ASP.NET (v4.0) web app that is installed in a virtual directory (as an application) and is hosted in it's own app pool. This is repeated for each instance of the app (i.e. per customer). ...
11
votes
3answers
6k views

Do you use performance counters on production IIS web sites?

Do you keep the counter ON during heavy production loads Which performance counters do you find useful for ASP.Net/IIS 6.0 websites?
10
votes
2answers
10k views

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: <system.web> <httpModules> <add name="MyModule" type="MySolution.Web.MyHttpModule, ...
10
votes
1answer
12k views

Load-Balanced IIS 7.5 Web Server ASP.NET Session State problem

we have a problem with an ASP.NET website where the users' sessions are behaving oddly - session data appearing, disappearing and re-appearing. I think I know what the problem is: Our setup is 2 x ...
10
votes
5answers
50k views

Windows Authentication kept asking for username/password

I am deploying my web application on iis6. I kept receive this "windows security" pop up to enter user name and password.. I have already disabled anonymous user, and checked integrated windows ...
9
votes
2answers
16k views

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 ...
9
votes
1answer
21k views

IIS 7 Application Pool Identity permissions

In the vein of this question. Other questions have touched on this, but let's get a complete answer down: What specific permissions are necessary for a generic IIS 7 site with a domain user as the ...
9
votes
1answer
2k views

Is the serviceAutoStartProvider attribute required to auto-start an ASP.NET application?

I've been reading Scott Guthrie's post on Auto-Start ASP.NET Applications, which provides examples on how to setup an ASP.NET 4.0 application to auto-start. <applicationPools> <add ...
8
votes
7answers
4k views

What are the main benefits of Windows 64-bit over 32-bit for ASP.Net apps?

Besides the advantages of 64-bit memory allocation (> 4 GB - see this question on StackOverflow for why 32-bit +4 GB solutions won't work for me), what other reasons do I have for recommending that we ...
8
votes
3answers
10k views

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 ...
8
votes
3answers
5k views

How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?

I want to be able to set the IIS account for new websites to have modify permissions. I have the following script: function Set-ModifyPermission ($directory, $username, $domain = 'IIS APPPOOL') { ...
8
votes
3answers
13k views

Asp.net 4.0 Handler Mappings Missing in IIS7

I have two Windows 2008 R2 Servers running an asp.net 4.0 app. The server that is having problems actually loads asp.net pages just fine, but if there are any ajax calls they don't work. I noticed ...
8
votes
2answers
1k views

ASP.NET performance decrease between 32bit/64bit server

We are currently in the process of upgrading our 32bit production server to a more powerful 64bit server whilst upgrading to ASP.NET 4. However, upon doing some light load testing we seem to be having ...
8
votes
2answers
848 views

How to install mono in Linux server?

I would like to install mono in Linux server.I don't know Linux.I have to work in .net application which will run in Linux server.I would also like to know how can i run my first asp.net application ...
8
votes
3answers
9k views

Setting up Mono/ASP.NET 4.0 on Apache2/Ubuntu: Virtual hosts?

I'm attempting to setup Mono/ASP.NET 4.0 on my Apache server (which is running on Ubuntu). Thus far, I've been following a few tutorials/scripts supplied here, and here. As of now: Apache 2.2 is ...
7
votes
4answers
26k views

w3wp.exe hogs memory

On a Small Business Server 2011 installation a whole number of w3wp.exe processes appear to be using a disproportional lot of memory. The SBS out-of-the-box installations comes with a total of 7 sites ...
7
votes
3answers
649 views

Record load time of web pages

I have been asked to investigate a way of record how long it a full page request is on our website. i.e. how long it takes from when a user clicks on a link till the page has finished loading. Now ...
7
votes
5answers
591 views

ASP.NET High CPU Bringing Servers to their Knees

Ok, our new build is having 100% cpu spikes on each server at random intervals. For long durations it make the site totally unresponsive - this will be at peak times as people in different countries ...
7
votes
1answer
273 views

Scaling out within a VMware host - add vCPUs or VMs?

We have an ASP.NET MVC site hosted on two VMware ESX hosts. Each host has two sockets with quad core CPUs (8 logical cores per host). We have two VMs on each host. Initially, only one vCPU was ...
7
votes
3answers
837 views

Creating cookieless application on development machine with asp.net

I am thinking about setting up a new domain to host static content on my website and have it cookieless just like Stackoverflow with their static domain. So before going ahead and buying the domain ...
7
votes
1answer
180 views

How to virtualise a SharePoint ASP application

I have noticed the occasional article that mentions virtualising a site on sharepoint so that the site appears as if it is replicated among several site collections. I have a requirement to deploy a ...
6
votes
1answer
17k views

Unable to get anything except 403 from a .Net 4.5 website

Scenario: Clean Server 2008 R2 Install with IIS Role. Installed Framework 3.5 (Server Features) Installed Framework 4.5 RC (MS Download) executed ...
6
votes
5answers
14k views

404 when page exists - IIS 5, ASP.NET 4.0

I have a webserver running Server 2003 Datacenter and IIS 5 which is hosting a variety of ASP.NET 2.0 websites. I'm attempting to add an ASP.NET 4.0 website which I wrote via the VS2010 Beta, and I ...
6
votes
3answers
5k views

Block access to subdirectory using Web.config

I have a subdirectory in my ASP.NET project that contains utility files. They're needed by the code at run time, but I don't want them to be visible over the web. What is the syntax in a Web.config ...
6
votes
1answer
2k views

Date header returned by IIS7 is wrong

I am serving an ASP.NET application from IIS 7 but we are experiencing some weird cookie issues. The code works fine in other environments so we are assuming this is specific to this server (related ...
6
votes
2answers
11k views

Login failed for “IIS AppPool\ASP.NET v4.0” - SQL Server Web

I'm trying to migrate a website from SQL Server 2008 Express to SQL Server Web, and the website is having trouble accessing the database. In truth, Express was only ever used by running the website ...
6
votes
3answers
873 views

Vanilla Windows vs Windows Server

I probably should have asked this question a LONG time ago and I expect to be laughed out of this forum, but I NEED find the answer to this seemingly rudimentary question... If I intend to host a ...
6
votes
1answer
4k views

What are the key performance metrics to monitor for a deployed ASP.NET web application?

I have full logging ( using log4net) throughout the application. What are the key WMI variables etc that should be monitored. If you had to pick 10 things that you would look at everyday what would ...
6
votes
1answer
4k views

Why do web sites in IIS7/7.5 have ASP.NET ISAPI filters enabled by default?

EDIT: Due to the potentially critical nature of the answers to some of my questions below, I am adding this strong warning: Do not remove the filters I speak of here unless you know exactly what it is ...
6
votes
2answers
10k views

IIS 7 returns 304 instead of 200

I have a strange issue with IIS 7. Sometimes it seems to return a 304 instead of a 200. Here is a sample request captured with Fiddler: (Note that the file requested is not located in my browsers ...
6
votes
1answer
1k views

Is it safe to set validateIntegratedModeConfiguration=false in order to continue using identity impersonate=true?

We have upgraded an ASP.NET web application from IIS6 to IIS7 integrated mode. Our application uses: <identity impersonate="true"/> and therefore we have had to set: <validation ...
6
votes
2answers
3k views

IIS aborts request thread with status 995

We have a site where we have trouble on our production server, but not on my dev machine with request beeing aborted (hence, zero response). It fails after exactly 1:19 minutes each time, and the ...
5
votes
3answers
3k views

How many domains can be bound with one SSL certificate?

Let say I have an ASP.NEt application which is bound with more than 10 domains using host headers. Is one certificate is enough for me? or I need more than 1 certificate for each domain? If I need 1 ...
5
votes
7answers
24k views

Performance of IIS+ASP.NET vs (NGINX + FastCGI + Mono or XSP)? [closed]

How much requests each can handle? How many RAM needed? As I remember FastCGI are opened initialized processes, each can handle one request. What about multithreading?
5
votes
3answers
15k views

IIS 7.5 doesn't load static html pages

There is an IIS 7.5 freshly installed on a dedicated server. ASP.NET 4.0 Web app copied to its folder, new website is created on its own IP on post 80, IIS_IUSR and IUSR accounts have read/execute ...
5
votes
3answers
7k views

Intermittent high CPU (100%) on production webserver

X-Post from StackOverflow: http://stackoverflow.com/questions/9465123/intermittent-high-cpu-100-on-production-webserver We have a web cluster with 3 web-servers, each with 24 cores & 24GB mem. ...
5
votes
3answers
10k views

Will an IIS reset force cached items to be resent?

I'm trying to develop a strategy to handle cached javascript files, css, images, etc when we release an update to our site. Before I get into implementing version numbers on the javascript files I was ...
5
votes
1answer
3k views

How to configure IIS Express to ask for client certificate

Does anybody know how to configure IIS Express to require client certificate for access? I'm trying to debug a problematic ASP.NET application which uses client certificates for authentication.