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.
106
votes
8answers
48k 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!
71
votes
6answers
20k 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 ...
21
votes
7answers
18k views
Mixing Forms authentication with Windows authentication
I have an (ASP.NET 3.5) intranet application which has been designed to use forms authentication (along with the default aspnet membership system). I also store additional information about users in ...
44
votes
8answers
28k views
How can I get gzip compression in IIS7 working?
I have installed Static and dynamic compression for IIS7, as well as setting the two web.config values at my application ( Virtual Folder ) level. As I understand it, I don't need to enable ...
39
votes
5answers
23k views
IIS7 Cache-Control
I'm trying to do something which I thought would be fairly simple. Get IIS 7 to tell clients they can cache all images on my site for a certain amount of time, let's say 24 hours.
I have tried the ...
22
votes
2answers
19k views
IIS7 Permissions Overview - ApplicationPoolIdentity
We have recently upgraded to IIS7 as a core web server and I need an overview in terms of the permissions. Previously, when needing to write to the file system I would have give the AppPool user ...
25
votes
4answers
25k views
Is there a practical HTTP Header length limit?
I have a web application that adds contextual information to XmlHttpRequest objects using the setRequestHeader API. I am using a custom header name (e.g. X-Foo) and a JSON structured value. It isn't ...
48
votes
2answers
19k 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:
...
29
votes
5answers
20k views
Request is not available in this context
I'm running IIS 7 Integrated mode and I'm getting
Request is not available in this context
when I try to access it in a Log4Net related function that is called from Application_Start. This is the ...
6
votes
5answers
10k views
Global ASAX - get the server name
Can anybody tell me if there is a way for me to get the domain name of my site in the Application_Start event in the global.asax?
Normally I'd just get it from ...
98
votes
3answers
32k 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 ...
19
votes
13answers
95k views
How do I resolve “HTTP Error 500.19 - Internal Server Error” on IIS7.0
What causes this error, how can I fix it?
Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x8007052e
Config Error Can not log on ...
55
votes
5answers
19k 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 ...
44
votes
4answers
17k views
IIS7 Overrides customErrors when setting Response.StatusCode?
Having a weird problem here. Everybody knows that if you use web.config's customErrors section to make a custom error page, that you should set your Response.StatusCode to whatever is appropriate. For ...
27
votes
2answers
23k views
Classic ASP on IIS7: refusing to send errors to browser on 500 Internal Server Error
I have classic ASP running on IIS 7.
Even though I configured the ASP "Debugging Properties" to "Send Errors to Browser = True", the web app REFUSES to send errors to the browser and continues to ...