IIS (Internet Information Services) Version 7 ā is a web server application and a set of feature extension modules created by Microsoft for use with Microsoft Windows. Released with Window Server 2008 and Windows Vista.
163
votes
7answers
63k views
How to fix: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list
I am configuring an MVC 3 project to work on a local install of IIS and came across the following 500 error:
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its ...
109
votes
8answers
50k views
Enable IIS7 gzip
How can I enable IIS7 to gzip static files like js and css and how can I test if IIS7 is really gziping them before sending to the client?
Thanks!
100
votes
3answers
35k views
What is the difference between 'classic' and 'integrated' pipeline mode in IIS7?
I was deploying an ASP.NET MVC application last night, and found out that it is less work to deploy with IIS7 set to integrated mode. My question is what is the difference? And what are the ...
78
votes
5answers
29k views
Asp.net 4.0 has not been registered
When I try to open visual studio project I get following error.
Asp.Net has not been registered on the webserver you need to manually configure your webserver for Asp.net 4.0.
Update:
Never mind I ...
75
votes
6answers
22k views
Using Custom Domains With IIS Express
Traditionally I use custom domains with my localhost development server. Something along the lines of:
dev.example.com
dev.api.example.com
This has provided me a ton of flexibility when working ...
71
votes
8answers
42k views
Login failed for user 'IIS APPPOOL\ASP.NET v4.0'
I have a web project (c# asp.net, EF 4 and MS SQL 2008 & IIS 7)
I need to move my website (that was working with no problem in CASSINI) to IIS 7 locally.
So locally in IIS I have my Default Web ...
68
votes
16answers
87k views
System.Security.SecurityException when writing to Event Log
Iām working on trying to port an ASP.NET app from Server 2003 (and IIS6) to Server 2008 (IIS7).
When I try and visit the page on the browser I get this:
Server Error in ā/ā Application.
...
67
votes
10answers
20k views
How do I remove eTag headers from IIS7?
Per Yahoo's best practices for high performance web sites, I'd like to remove Etags from my headers (I'm manually managing all my caching and have no need for Etags... and when/if I need to scale to a ...
66
votes
6answers
35k views
IIS - this configuration section cannot be used at this path (configuration locking?)
I've encountered an error deploying a site to a server. When trying to load the home page, or access authentication on the new site in IIS, I get the error:
Config Error: This configuration section ...
57
votes
5answers
21k views
Add IIS 7 AppPool Identities as SQL Server Logons
I'm running an IIS 7 Website with an AppPool of Integrated Pipeline Mode.
The AppPools does NOT run under NetworkService, etc.. identity (by purpose), but uses it's own AppPool Identitiy (IIS ...
57
votes
1answer
21k views
How to disable the application pool idle time-out in IIS7?
Will it be disabled if I set the idle time-out to 0?
53
votes
4answers
15k views
Is Enabling Double Escaping Dangerous?
I have an ASP.NET MVC application with a route that allows searching for stuff via /search/<searchterm>.
When I supply "search/abc" it works well, but when I supply "/search/a+b+c" (correctly url ...
49
votes
2answers
20k views
How to configure static content cache per folder and extension in IIS7?
I would like to set up rules in IIS7 for static content caching in my ASP.NET website.
I have seen these articles, which details how to do it using the <clientCache /> element in web.config:
...
48
votes
6answers
35k views
IIS7 deployment - duplicate 'system.web.extensions/scripting/scriptResourceHandler' section
On attempting to deploy a .net 3.5 website on the default app pool in IIS7 having the framework section set to 4.0, I get the following error.
There is a duplicate
...
47
votes
7answers
64k views
Cannot read configuration file due to insufficient permissions
I've recently encountered an error trying to host my asp.net site with IIS. I have found a solution that many swear by.
Solution:
1. Add IIS_IUSRS with Read permission on files in the folder
...