40
votes
IIS 7 Still Serving old SSL Certificate
First a couple points that are probably the same for you
I was trying to update a certificate because it has expired.
I have multiple domains bound to the same IP. They happen to be a SAN ...
- 1,351
21
votes
How to resolve FTP Error “Failed to retrieve directory listing” for Administrator account in IIS 7.5
I had this issue as well, and it was related to the data ports being selected by IIS. I set it up to use a specific port range but when my client tried to use passive mode it showed that it was using ...
- 311
19
votes
Restrict access to IIS site to an AD Group
Just adding a couple more points to the other answers that helped me figure out how to get this working after I had basic AD Authentication working fine with IIS.
Add Role or Feature via Windows ...
- 191
18
votes
IIS complains about a locked section - how can I find out where it's locked?
This solved my error on
Windows Server 2012, IIS 8.5. Should work for other versions too.
Go to Server Manager, click add Roles and Features
In the roles section choose: Web Server
Under Security sub-...
14
votes
Can't open IIS manager
I found a new solution. First, when we get this error IIS Manager couldn't appear. Go to IIS Manager and right click to go Properties. On the shortcut section you can see Run line. Change this value ...
- 141
14
votes
Could not connect to remote computer web deploy ERROR_DESTINATION_NOT_REACHABLE
A comment on this answer at stackoverflow got me on the right track with this same error message if anyone else comes across this and the other answers don't help: https://stackoverflow.com/a/13871041/...
- 241
13
votes
Configure IIS 7.0 to download APK
Add this to the web.config:
<system.webServer>
<staticContent>
<mimeMap fileExtension="apk" mimeType="application/vnd.android.package-archive" />
</staticContent>
&...
- 231
10
votes
What should I do to make sure that IIS does not recycle my application?
Kindly check,
Why Do We Recycle Our Application Pools?
if you browse the web to find the reason why application pools are configured to recycle automatically periodically, you’ll be hard pressed to ...
- 209
10
votes
Prevent URL Rewrite rules from being inherited by subdirectories in IIS7
I recently ran into this problem, in a similar situation. But the answer from rjenkins would seem to cause problems with virtual applications that relied on inheritance of parent settings.
If you ...
- 203
10
votes
IIS refuses connection to localhost and 127.0.0.1
I've had the same problem, but localhost worked because ::1 address was listening as well as network ip. This command helped me
netsh http add iplisten 127.0.0.1
- 201
10
votes
Accepted
IIS 7 WCF Webservices giving 404 error over HTTPS
It turns out that it was simply an error in the web.config file.
These two answers on SO were the solution:
https://stackoverflow.com/a/26581326/1286358
And the reverse
https://stackoverflow.com/a/...
- 281
9
votes
Accepted
Windows 2008 R2 Standard server - how to disable RC4
There is a tool to check the cipher order in a GUI. It works for me every time. (Try it on a test machine if you don't trust the exe.)
Microsoft released a security advisory about RC4 where they ...
- 627
8
votes
Service WAS was not found on computer '.'
Control Panel > Programs > Turn Windows features on or off > Windows Process Activation Service > SELECT ALL > Click OK
- 81
8
votes
How to Upgrade to PHP 5.5 on Windows Server 2008
This is seems to be covered fairly well in install.txt included in the PHP zip downloads.
Quoting from that file ...
Manual Installation Steps
...
Upgrading from a previous PHP version:...
- 4,477
7
votes
IIS complains about a locked section - how can I find out where it's locked?
If you are using IISExpress and Visual Studio 2015, the applicationHost.config is stored in $(solutionDir).vs\config\applicationhost.config (thanks to Nime Cloud's answer).
Just change ...
- 173
7
votes
How can I redirect HTTP IIS7 response "403 forbidden" to HTTPS?
Turns out the host had to first uncheck "Require SSL", then I was able to redirect traffic in web.config via:
<rule name="HTTP to HTTPS redirect" stopProcessing="true">
<match url="(.*)" /&...
- 243
6
votes
Removing phantom applications from Application Pools in IIS7
This is probably safer and simpler than editing applicationHost.config.
Powershell
PS C:\Windows\system32> import-module WebAdministration
PS C:\Windows\system32> iis:
PS IIS:\> cd .\...
- 35k
6
votes
How to resolve FTP Error “Failed to retrieve directory listing” for Administrator account in IIS 7.5
For me, restart did not help, but disabling passive mode did.
- 161
6
votes
Is there a way to make my local AppCmd.exe to refer to a remote server?
You can download PSEXEC and run the following command:
psexec \\servername c:\windows\system32\inetsrv\appcmd
For example
psexec \\servername c:\windows\system32\inetsrv\appcmd list wp
- 163
6
votes
Why does any .php page give me a 404 error on Server 2008 with IIS 7.0?
Just wanted to add the stupid answer encase anyone else find this issue with the same problem. "A mate" created the test file on the server. He was getting the 404 error. What had happened, was that ...
- 160
6
votes
How to serve unknown file types from IIS 7
Instead of going through the MMC like the kb article suggests, you can also just create a Web.config file in the directory, with the following content:
<?xml version="1.0" encoding="UTF-8"?>
&...
- 269
6
votes
How do I restart a single website in IIS7+ using commandline?
I know this is an old thread and the OP specifically asked for IIS7 and a command line, but since I stumbled here and there were a few recent comments I thought I'd save someone the trouble of ...
- 161
6
votes
Accepted
How can I create and install a domain signed certificate in IIS using PowerShell?
Try the following:
function New-DomainSignedCertificate {
[CmdletBinding()]
param(
[parameter(Mandatory=$true)]
[string]
$Hostname,
[parameter(Mandatory=$true)...
- 13.9k
6
votes
Accepted
Exchange 2013 ECP/OWA/Outlook all failing - 503 Service Unavailable
No thanks to the helpful down voters. The nice people at Experts Exchange helped out.
The solution was the SSL certificate seemed to have come off of the Exchange Backend website. Selected the ...
- 231
5
votes
IIS7: can't set host name on site with SSL cert and port 443
The accepted answer here is confusing and I don't think it's correct for the question. It shouldn't be the accepted answer.
The problem
You have a wildcard SSL such as *.ipsum.com and the ...
- 151
5
votes
Old ssl cert still showing up in browser after installing new
You need to select the new certificate under the Default website for https 443 port. (bindings)
- 151
4
votes
How to enable directory browsiing in IIS7?
This is in case anyone needs help:
Go to Control Panel.
turn on off windows features
Select Internet Information Services
Select World Wide Web Services
Common HTTP Features
Select Directory Browsing
- 41
4
votes
Removing phantom applications from Application Pools in IIS7
There is an easy way to fix this.
Select the site with the Phantom applications in the application pool.
On the right side "Action" menu select "View Applications". This list should show all the ...
- 41
4
votes
How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
As of IIS 10/Windows 10/Server 2016, the WebAdministration module is deprecated and we're expected to use the new IISAdministration Powershell module instead. Here's how to get the application pool ...
- 211
4
votes
Could not connect to remote computer web deploy ERROR_DESTINATION_NOT_REACHABLE
I had the same problem (404). Fixed it by:
Uninstalled Web Deploy 3.6 from Programs & Features
Downloaded x64 package from https://www.iis.net/downloads/microsoft/web-deploy#additionalDownloads
...
- 141
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
iis-7 × 2135iis × 577
windows-server-2008 × 518
asp.net × 214
iis-7.5 × 151
windows × 123
ssl × 117
windows-server-2008-r2 × 111
rewrite × 92
ssl-certificate × 81
php × 72
web-server × 70
iis-6 × 68
application-pools × 55
windows-7 × 48
authentication × 46
domain-name-system × 45
security × 42
ftp × 42
asp.net-mvc × 42
permissions × 41
configuration × 41
redirect × 38
https × 36
sql-server × 33