Web application framework developed by Microsoft

learn more… | top users | synonyms

39
votes
5answers
61k 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 ...
36
votes
3answers
26k 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
4k 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 we ...
20
votes
7answers
18k 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 ...
18
votes
2answers
10k 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 ...
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
22k 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
3answers
21k 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 /> </...
15
votes
4answers
21k 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
3k 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 ...
14
votes
2answers
25k 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 ...
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
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?
12
votes
2answers
13k 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, ...
12
votes
2answers
21k 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 ...
12
votes
4answers
693 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
1answer
15k 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 ...
11
votes
5answers
63k 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 ...
10
votes
1answer
24k 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 C:\Windows\Microsoft.NET\Framework64\v4.0.30319>...
10
votes
1answer
3k 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 name="...
9
votes
3answers
15k 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 ...
9
votes
3answers
6k 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') { ...
9
votes
3answers
20k 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 ...
9
votes
1answer
22k 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
2answers
2k 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
7answers
5k 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
764 views

How to redirect users to different servers based on their location?

I have a website which is developed by using ASP.NET and MY DB is MySQL. Currently it hosted in USA Servers. But When I try to access it near India dynamic contents are loading too slowly. It is ...
8
votes
5answers
685 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 ...
8
votes
2answers
945 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
12k 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 ...
8
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 ...
7
votes
4answers
34k 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
23k 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 ...
7
votes
1answer
4k views

Why are 32-bit application pools more efficient in IIS? [closed]

I've been running load tests with two different ASP.NET web applications in IIS. The tests are run with 5,10,25, and 250 user agents. Tested on a box with 8 GB RAM, Windows 7 Ultimate x64. The same ...
7
votes
3answers
698 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 I'...
7
votes
1answer
281 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
2answers
14k 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 ...
7
votes
3answers
859 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
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
6k 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
3k 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
12k 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
930 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
5k 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
6answers
13k views

Javascript Errors only on Production Server?

I am in the process of releasing a couple of asp.net websites from development to production. Everything seems to be working fine in development, but upon the release to production we get a number of ...
6
votes
1answer
5k 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
6k views

SQL Server Connection Timeout after load brought onto IIS web server

We have MSSQL 2008 R2 running on windows 2008 r2 it's being hit by 2 server 2008 r2 webservers running asp.net. Both are joined to an active directory domain and use integrated authentication to ...
6
votes
2answers
4k views

Moving a site from IIs6 to IIS7.5

I need to move a site off of IIS6 (Win Server 2003) and onto IIS7.5 (Win Server 2008) as soon as possible. Preferably tomorrow. The site itself is a delightful mix of classic asp (vbscript) and one-...
6
votes
2answers
4k 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 ...