IIS7 is the version of Microsoft's web server software released with Windows Server 2008.

learn more… | top users | synonyms (1)

120
votes
5answers
89k views

How to assign permissions to ApplicationPoolIdentity account

In IIS 7 on Windows Server 2008, application pools can be run as the "ApplicationPoolIdentity" account instead of the NetworkService account. How do I assign permissions to this ...
23
votes
2answers
12k views

IIS6 vs. IIS7 and IIS7.5: handling URLs with plus sign (+) in base (not querystring)

For any URL with a plus sign (+) in the base URL (not the querystring), IIS7 and IIS7.5 (Windows Server 2008 and 2008 R2) do not appear to forward the URL to the default handler on an ASP.NET ...
22
votes
6answers
7k views

IIS Manager - Connect to Another Server (Win7 to Win2008 server)

I am running Windows 7 Ultimate. If I open up IIS Manager, I see a list of "connections" on the left hand side. In previous versions, I would be able to select an option to "connect to another ...
18
votes
3answers
22k views

How do I block specific IPs and IP ranges in IIS7?

I'm trying to block various IP addresses from every site that I have hosted from an server running Windows 2008 and IIS7. I've found various information about how to do this using Deny rules from ...
18
votes
2answers
22k views

IIS 7.x Application Pool Best Practices

We are about to deploy a bunch of sites to some new servers. I have the following questions about application pools: 1) It seems advisable to have an application pool per website. Are there any ...
17
votes
5answers
4k views

Enable HTTP Strict Transport Security (HSTS) in IIS 7

What is the best way to turn on HTTP Strict Transport Security on an IIS 7 web server? Can I just through the GUI and add the proper HTTP response header or should I be using appcmd and if so what ...
15
votes
7answers
16k views

IIS7: can't set host name on site with SSL cert and port 443

Consider a Win 2008 SP2 machine with IIS7. The task is to apply a certificate and host name to the one and only Site on this machine. The site's host headers need to be abc.123.mysite.com The first ...
15
votes
2answers
7k views

IIS 7.5 optimizations for a site serving only static content

I'm looking to setup a cookie-free domain intended to serve static content for a web application, similar to the http://sstatic.net/ site that the stack exchange sites use. My question is, what ...
15
votes
10answers
15k views

How to get IIS7 to release a locked file?

During our production builds, a very large (10 megabyte) static content file in the root directory will sometimes be locked by IIS and cannot be deleted by the clean task. This is presumably because ...
14
votes
7answers
2k views

When is the right time to introduce high availability for web site?

When is the right time to introduce high availability for web site? There are many articles on High Availability options. It’s not that obvious however WHEN is the right time to switch from single ...
14
votes
4answers
21k views

Recycle remote IIS app pool from the command line?

Is it possible to recycle an IIS7 app pool from the command line, on a different machine? I've found APPCMD (appcmd recycle apppool my-app-pool), but it only operates on the host it's run on, AFAICT. ...
14
votes
7answers
24k views

yslow says etags are misconfigured. how to configure etags properly on IIS7?

running ySlow on a website I support, I noticed it reported that the etags are misconfigured for the site images (e.g. *.jpg, *.png, *.gif). Can anyone help explain what I have to do to get IIS7 ...
14
votes
4answers
16k views

IIS7 - Basic Authentication Module missing?

I'd like to use basic HTTP authentication to keep people out of our dev site instance since it is unfortantly exposed to the wild internet. However, in IIS7, the only authentication modes listed are ...
14
votes
1answer
2k views

IIS: Content-Length 0 for CSS, Javascript and Images

After a clean re-installation of my Windows 7 system, I can't get IIS 7 to properly deliver any static content. Dynmic content (ASPX pages and content served by ASP.NET MVC controllers) works fine, ...
13
votes
1answer
14k views

What should I do to make sure that IIS does not recycle my application?

I have a WCF service app hosted in IIS. On startup, it goes and fetches a really expensive (in terms of time and cpu) resource to use as local cache. Unfortunately, IIS seems to recycle the process ...
13
votes
2answers
30k views

How can I display and log PHP errors on IIS7?

We're running PHP 5.2.5 on an IIS 7 Server and we're having problems making PHP errors visible... At the moment whenever we have a PHP error the server sends back a 500 error with the message "The ...
13
votes
3answers
15k 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 /> ...
12
votes
2answers
16k views

How can I control which IP address IIS7 uses?

In Win2k3 I used httpcfg to tell IIS to listen to specific IP addresses on the server. I want to run Apache with VisualSVN Server on port 80 on another IP address but IIS7 binds to all ip addresses by ...
12
votes
2answers
21k views

How to increase memory usage in MySQL Server to improve speed?

I have a Windows 2008 server with 8GB of RAM running IIS7 and MySQL. I've been tracking the memory, cpu and disk usage on the server and I found out that the the MySQL is using only 250MB of RAM, ...
12
votes
4answers
528 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
2answers
13k views

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
11
votes
2answers
10k views

Where & how can I see IIS7 log entries for a specific web site?

All IIS7 is telling me is a folder (i.e. C:\inetpub\logs\LogFiles) which contains a couple of subfolders. How can I tell which subfolder/file I should look at? What is the logic behind this ...
11
votes
1answer
3k views

Change TeamCity IP address and port number on multi-homed Windows Server 2008 running IIS 7

After two full days of "research" (read: banging my head against my keyboard) and cursing at TeamCity/MSDN/Tomcat documentation as well as phantom IIS bindings, I've come up with an answer to a very ...
10
votes
2answers
7k views

Removing phantom applications from Application Pools in IIS7

I have an application in one of my application pools that has a virtual path of '/Site/login.aspx'. I want to remove it but it no longer exists on my computer and it's causing me issues setting up ...
10
votes
4answers
2k views

Load balancing using IIS7 request routing and load balancing module

Microsoft has a lot of documentation about their somewhat new load balancing and request routing module for IIS7 located here: ...
9
votes
4answers
5k views

Properly handle IIS request with percent sign in url (/%)

I am looking for any kind of solution to properly get an IIS request such as http://stackoverflow.com/% and http://bing.com/% to not display a 400 Bad Request page, but display a custom error page ...
9
votes
1answer
6k views

Service WAS was not found on computer '.'

I am using Windows 7 Professional. When I am trying to start DefaultAppPool in IIS 7.0, I am getting error - Service WAS was not found on computer '.'. Is there any changes in setting need to be ...
9
votes
1answer
3k views

Difference Between Private Memory Limit and Virtual Memory Limit in IIS

I want to set the max limit on the physical memory an application can use in IIS 7. Should I set a limit on Private Memory Limit or Virtual Memory Limit? Can some one point me to documentation of all ...
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
20k views

How come when I add IIS_IUSRS RW access to a folder, it doesn't automatically allow ISUR RW access?

I'm using IIS7 (Windows Server 2008 x64) and I have a website setup using anonymous authentication. The anon user identity is configured as IUSR. The application writes files to a folder and I'm ...
9
votes
1answer
4k views

IIS7 What unit does time-taken have in a w3c-log?

I'm trying to analyze some IIS7 logs (W3C format) and am interesting in the time-taken field and its unit. According to Microsoft the unit is milliseconds. The length of time that the action took, ...
9
votes
6answers
20k views

Installing SSL Certificate for use in IIS7, installation “works”, but cert listing disappears

Windows Server 2008 R2, IIS7. We have an SSL cert from Go Daddy. It's a wildcard cert, so it will work across subdomains (e.g. *.domain.com). I followed the instructions located at ...
9
votes
4answers
9k views

Need help with some IIS7 web.config compression settings

I'm trying to configure my IIS7 compression settings in my web.config file. I'm trying to enable HTTP 1.0 requests to be gzip. MSDN has all the info about it here. Is it possible to have this config ...
9
votes
2answers
369 views

How to improve Windows Server 2008 R2 to handle many connections?

It has been a few days so far that I am trying to figure how to solve this problem. First of all, I am running a website with an average daily page view of 350,000. Previously, all ads management ...
8
votes
3answers
11k views

Failed to generate a user instance of SQL Server

I'm using Windows 7 Beta and trying to install a web application locally. This web site uses Microsoft SQL Server 2005 Express (SQLEXPRESS) and a MDB file in the web site's ~/App_Data folder. I was ...
8
votes
3answers
12k views

How to configure IIS for SVG and web testing with Visual Studio?

Let's say I have a simple web page with svg image in it: <img src="foobar.svg" alt="not working" /> If I make this page as static html page and view it directly svg is displayed. If I type ...
8
votes
3answers
8k views

What are good load testing tools for IIS 7 web applications?

The title says it all. I'm looking for a good set of tools that I can use to load test a web application on IIS 7 before deployment.
7
votes
3answers
21k views

What is the downside to sticky sessions with load balancers?

we have a web farm of IIS7 machines. Works great. In front of them is an F5 Big-IP hardware load balancer. Also working fine :) Now, currently we're using an ASP.NET State Service to handle our ...
7
votes
1answer
3k views

iis 7 log file directory

under my log directory I have a list of subdirectories: W3SVC1, W3SVC2, W3SVC3, etc, etc. How do I mix and match those folders with each website on IIS?
7
votes
1answer
381 views

Don't see Failed Request Tracing in IIS 7 Manager

In the "Actions" Pane of IIS Manager, under Configure there is supposed to be a link for "Failed Request Tracing". I don't see that... I just have "Limits..."
7
votes
5answers
4k views

Is the IIS SMTP Server good enough for a production server?

I was planning to use the SMTP server that comes with IIS7 (for a website) but then I came across this link and started to get worried (read the accepted solution), on the other hand I have a limited ...
7
votes
3answers
780 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 ...
6
votes
7answers
2k views

What are the benefits of a self signed certificate on a live site?

Are there any benefits of a self signed certificate on a live site? I know in IIS 7 you have the ability to self sign a certificate and I was wondering if using that as a precurser to buying one from ...
6
votes
6answers
964 views

IIS 6.0 vs IIS 7.0

My client has most of the applications in .NET, he is changing his hosting provider, now he is asking for advice whether he should use the Windows 2008 with IIS 7.0 or good old Windows 2003 with IIS ...
6
votes
6answers
2k views

Attempted hack on VPS, how to protect in future, what were they trying to do? [duplicate]

UPDATE: They're still here. Help me stop or trap them! Hi SF'ers, I've just had someone hack one of my clients sites. They managed to get to change a file so that the checkout page on the site ...
6
votes
6answers
909 views

Advantages/Disadvantages for using a single volume / drive letter for Windows Server installs

Our virtual environment is cut up as a VM for each job role (DNS, DC, System Center CM, File Server, Log Aggregation, IIS, etc). If disk performance isn't critical is it really necessary to still ...
6
votes
3answers
3k views

Cannot create self-signed SSL certificate with IIS 7

I'm trying to create a self-signed certificate from within the IIS 7 snap-in, with little luck. When prompted for a friendly name for the certificate, I type in the name, and click OK, but then I am ...
6
votes
2answers
5k views

F5 Big-IP, X-Forwarded-For and IIS Logs

I've got an F5 Big-IP that is mangaged by our hosting provider. It's dedicated to our private VLAN, etc. Works great :) We requested them to add in an X-Forwarded-For HTTP-Header field. They've done ...
6
votes
1answer
4k views

How can I export URL rewrite rules?

Is it possible to export URL rewrite rules for IIS7? I am setting up a duplicate of a website for internal use (testing) and want to duplicate all of the URL Rewrite rules without having to manually ...
6
votes
4answers
20k views

How to create a Subdomain in IIS7?

In IIS7 I have a site: http://www.mydomain.com/mysite How can I get the same site to appear as: http://mysite.mydomain.com ? I already have the DNS set up and can ping it, I just do not know how to ...