Questions tagged [iis]

IIS is Internet Information Services, the web server included with Microsoft's Windows Server operating systems. This is a generic tag. Wherever possible please use a *version-specific* tag, such as [iis-7], [iis-7.5], etc.

Filter by
Sorted by
Tagged with
112 votes
13 answers
363k views

How can I tell what version of IIS is installed?

I've got a box running Win2k3 and some directions from Microsoft KB about SSL certificates, for IIS 5.0 and 6.0. How can I tell which version of IIS is currently installed?
jldugger's user avatar
  • 14.4k
96 votes
4 answers
112k 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 ...
AngryHacker's user avatar
  • 2,887
86 votes
8 answers
50k views

Recommended LogParser queries for IIS monitoring?

As Stack Overflow grows, we're starting to look closely at our IIS logs to identify problem HTTP clients -- things like rogue web spiders, users who have a large page set to refresh every second, ...
Jeff Atwood's user avatar
  • 13.2k
85 votes
2 answers
208k views

Best way to redirect all HTTP to HTTPS in IIS

We want ALL sites on our webserver (IIS 10) to enforce SSL (ie redirect HTTP to HTTPS). We are currently 'Requiring SSL' on each site and setting up a 403 error handler to perform a 302 redirect to ...
userSteve's user avatar
  • 1,583
84 votes
4 answers
181k views

Can IIS be configure to forward request to another web server?

I have several web site set up on one IIS 6 server distinguished by Host Header. However, I wish to have one of the sites served by a Linux / Apache server on my network. Do I need to use a reverse ...
Daniel O's user avatar
  • 1,075
70 votes
4 answers
129k views

What is the difference between iisreset, recycle, refresh and restart?

In IIS7, there are numerous things you can do that seem to restart the website. I am unclear about exactly how they are all related. run iisreset from the command line refresh a website recycle an ...
jimconstable's user avatar
58 votes
3 answers
76k 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 (...
djdd87's user avatar
  • 693
54 votes
11 answers
132k 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.example.com The first ...
p.campbell's user avatar
  • 4,407
53 votes
8 answers
100k views

On IIS, how do I patch the SSL 3.0 POODLE vulnerability (CVE­-2014­-3566)?

How do I patch CVE­-2014­-3566 on a Windows Server 2012 system running IIS? Is there a patch in Windows Update, or do I have to do a registry change to disable SSL 3.0?
Eric Lathrop's user avatar
53 votes
3 answers
44k views

How do I find out the W3SVC number of a given IIS7.5 website?

I have a server running multiple websites under IIS7.5. I want to view the log files for one website in particular. In C:\inetpub\logs\LogFiles I see a number of folders, W3SVC1 through 6. How do I ...
Liam's user avatar
  • 663
51 votes
7 answers
142k 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 ...
Astra's user avatar
  • 683
50 votes
1 answer
52k views

How do I stop IIS from starting up when I turn Windows on? [closed]

I do not want IIS to start automatically with Windows. How do I change this? Is there a setting in IIS manager? I have looked around in the menus for one but I couldn't find an option.
Rachel Richter's user avatar
47 votes
7 answers
67k 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 ...
Col's user avatar
  • 595
46 votes
6 answers
72k views

IIS Log Request Body / POST Data

Does anyone know how I could get IIS to log POST data or the entire HTTP request?
user avatar
43 votes
5 answers
56k views

Why use Kerberos instead of NTLM in IIS?

This is something that I've never really been able to answer as well as I like: What is the real advantage of using Kerberos authentication in IIS instead of NTLM? I've seen a lot of people really ...
Infotekka's user avatar
  • 545
43 votes
4 answers
37k views

Directly editing IIS 7 applicationHost.config configuration file

I know that IIS 7+ uses XML config files instead of the metabase. I also know that if I edit a web.config file for a given site, IIS automagically detects the changes and implements any corresponding ...
lunadesign's user avatar
43 votes
7 answers
72k views

How can you know what is w3wp.exe doing? (or how to diagnose a performance problem)

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it. The short description is: We have a very small site (http://hearablog.com) with very little ...
Daniel Magliola's user avatar
43 votes
8 answers
26k 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 ...
Matt's user avatar
  • 3,241
41 votes
4 answers
95k views

Where's the management interface for IISExpress?

Is there an interface separate from the regular IIS manager? When I search on IISExpress I find only a link to a folder full of logs related to IISExpress sites that had been spawned by Visual Studio....
justSteve's user avatar
  • 859
39 votes
1 answer
68k 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, ...
m__'s user avatar
  • 553
37 votes
14 answers
145k views

ssl certificates disappear IIS

I'm trying to import a certificate to IIS. Everything is ok on the MMC (Windows Console). I finished the wizards and seems that is all right. But, when I refresh the certificate list or move to other ...
user avatar
36 votes
2 answers
110k views

Is IIS SFTP natively supported by Windows?

Does Windows Server 2012 R2 have native SFTP support? I see a role FTP Server but it doesn't say whether this includes SFTP.
James20's user avatar
  • 361
36 votes
2 answers
80k 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 ...
nitendra's user avatar
  • 373
34 votes
1 answer
31k views

Certificate does not have a name

I've installed an SSL certificate in IIS, however the 'Name' column is showing as blank even though I entered a friendly name. Is there any way to fix this?
Jonathan's user avatar
  • 1,309
34 votes
4 answers
88k views

500 error on fresh install of IIS and PHP

When attempting to run a PHP file on Windows server 2012 and IIS, I keep getting a 500 error. I cannot find any detailed logs or anything. However, when going to PHP Manager for IIS and click check ...
alexander7567's user avatar
34 votes
4 answers
60k views

How do I restart a single website in IIS7+ using commandline?

How do I restart a single website in IIS7+ using commandline only? Same functionality as the circled menu item in the image - but from the commandline. Iisreset does not have any options to deal with ...
Kjensen's user avatar
  • 1,069
34 votes
4 answers
71k views

What is muieblackcat?

I've recently installed ELMAH on a small .NET MVC site and I keep receiving error reports System.Web.HttpException: A public action method 'muieblackcat' was not found on controller... This is ...
RandomDev's user avatar
  • 341
33 votes
3 answers
53k views

Automatically start SMTP server in IIS?

I'm running an IIS SMTP server in Windows 2008 R2 and it can be started manually. However, if I need to restart the system, I must manually start the SMTP server. Is there a way for it to start ...
user79537's user avatar
  • 439
33 votes
2 answers
14k views

Why does the IIS worker process recycle every 29 hours and not every 24 hours?

When you setup a site on IIS it defaults the worker process to recycle every 1740 minutes (29 hours). Why an odd number like 29 hours and not, for example, 24 or 48 hours?
Guy's user avatar
  • 1,839
32 votes
2 answers
21k views

Web gardens... are they good or bad or what?

Are there any downsides to giving Application Pools multiple Worker Processes in IIS? They seem really easy to enable and (almost) everything I’ve read seems to suggest they’re good... so why doesn’t ...
Nai's user avatar
  • 743
31 votes
1 answer
20k views

Make IIS see updated environment PATH variable

We've installed Oracle Express on a Windows 2003 Server and in the process it updated the PATH. We're trying to get IIS to see this change in the PATH but we can't figure it out. We've recycled the ...
Mark's user avatar
  • 2,091
29 votes
3 answers
64k views

What is the IIS7 default keepalive time?

What is the IIS7 default time for HTTP keepAlive?
SDReyes's user avatar
  • 653
29 votes
1 answer
19k views

Don't see Failed Request Tracing in IIS Manager

In the "Actions" Pane of IIS Manager (InetMgr), under Configure there is supposed to be a link for Failed Request Tracing. I don't see that... I just have "Limits..."?
JoelFan's user avatar
  • 2,295
29 votes
12 answers
269k views

IIS/SMTP - emails are stuck in mailroot/Queue

I'm trying to send e-mails via SMTP within the IIS pickup directory. Unfortunately the e-mails are just going into the mailroot/queue folder and stay there. They never actually get sent. Does ...
Jack Marchetti's user avatar
29 votes
1 answer
23k 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 ...
kishore's user avatar
  • 882
28 votes
4 answers
73k views

How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?

http://technet.microsoft.com/en-us/library/cc732742(WS.10).aspx The above URL describes how to start/stop an IIS 7 app pool. However, I have spaces in my app pool name. Double-quotes doesn't work. ...
stimpy77's user avatar
  • 459
28 votes
6 answers
65k 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. ...
user avatar
27 votes
1 answer
49k views

Import .pem into IIS 7

I was given two .pem files to import. I did not generate these files. Can I import them into IIS 7 or do they have to be converted into another format? I know that IIS likes .pfx - can .pem's be ...
divided's user avatar
  • 367
27 votes
9 answers
60k 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 ...
Jarrod Dixon's user avatar
27 votes
4 answers
40k views

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

In IIS Manager, an application pool has checkbox for "Start application pool immediately" in the basic setting dialog, and an advanced setting called "Start Mode" which can be set to "OnDemand" or "...
Ergwun's user avatar
  • 371
27 votes
1 answer
28k views

Is it possible to configure the location of "Temporary ASP.NET Files" folder in IIS?

Under IIS7.5 after switching pool identity to domain user I got this error: "The current identity (domain\username) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\...
PanJanek's user avatar
  • 373
25 votes
1 answer
8k 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, ...
Adrian Grigore's user avatar
25 votes
2 answers
57k views

How to See Detailed 500 Errors?

I have ii8 which I have tried to deploy my asp.net web api to. I guess I am doing something wrong as when I try to see if my api is working I am getting a 500 error. However it does not tell me what ...
chobo2's user avatar
  • 471
25 votes
1 answer
6k views

IIS 7.5 - Disable Overlapped Recycle property not being obeyed when web.config is updated

I have a site which holds an exclusive lock on some resources. I used the .NET Application_Start and Application_End events to acquire and release the lock on these resources at the appropriate time. ...
John's user avatar
  • 351
24 votes
8 answers
167k views

How to resolve FTP Error “Failed to retrieve directory listing” for Administrator account in IIS 7.5

Using my administrator account, I FTP connected to my IIS 7.5 FTP Site with FileZilla. I was able to successfully upload a file, but I keep getting a "Failed to retrieve directory listing" in ...
smartcaveman's user avatar
24 votes
6 answers
45k views

How can I keep IIS log files cleaned up regularly?

I just discovered that IIS builds up logs indefinitely and there don't appear to be any IIS settings that will automatically clean out old log files. What is the best way to keep my IIS logs under ...
Luke's user avatar
  • 2,123
24 votes
8 answers
39k views

How do I setup IIS to rotate logs?

I've used Apache for years and I've taken for granted that it handles log rotation for me. I've been digging through the IIS config and googling, but I can't find an option for IIS to turn on log ...
Elijah's user avatar
  • 537
24 votes
2 answers
96k views

How to limit the memory used by an application in IIS?

The IIS worker processes are taking lot of memory on our servers. I want to limit the memory each application can use. I am confused whether I should set a limit on Virtual Memory Limit, or Private ...
kishore's user avatar
  • 882
23 votes
3 answers
114k views

What are the IUSR and IWAM accounts for in IIS?

I'm looking for a good explanation of the IUSR and IWAM accounts used by IIS to help me better configure our hosting environment: Why are they there? What's the difference between them? Do the names ...
Generic Error's user avatar
22 votes
2 answers
50k views

Troubleshooting Windows Authentication problems (no challenge) in IIS 7.5?

I know that there are thousands of reports of people having trouble getting Integrated Windows Authentication to work with IIS, but they all seem to lead to web pages that don't apply or solutions ...
Aaronaught's user avatar

1
2 3 4 5
107