When Windows 10 displays the IIS error code 0x80070021, it usually means that there is an issue with the web server. At Bobcares, with our Windows Hosting Support, we can handle your Kubernetes cluster issues.
IIS Error Code 0x80070021 on Windows 10
Microsoft created IIS, a web server, to host websites and web apps on Windows-based platforms. The 0x80070021 error typically indicates a problem with the setup or functionality of IIS. Let’s look into some of the causes and solutions for the error:
1. Permission Issues:
If the user or program using IIS does not have the necessary rights to access specific files or folders, an error may occur. Verify that the IIS application’s running user or app pool identity has the correct rights to access the files and directories on the website.
2. Incorrect Config Files:
This error may occur if one of the IIS setup files is missing or inaccurate. By launching the IIS Manager with the “inetmgr” command, right-clicking on the server node, and selecting “Restart” or “Recycle” for the application pool, we can attempt to repair or restore the IIS setup.
3. Locked Configuration Files:
Occasionally, IIS may not be able to access or edit the configuration files because they are locked by other services or processes. Check to make sure the IIS setup files are not being used or locked by any other processes.
4. File Locking:
The problem may appear if other processes are locking files that the IIS app needs. Try stopping any programs that have locks on the necessary files and then try restarting the computer.
5. Firewall or Antivirus Issue:
This error may occur when firewall or antivirus software interferes with IIS’s ability to function. Turn off the firewall or antivirus program for a while to see if that fixes the problem. If so, we can set up rules or exceptions to make IIS work correctly.
6. Misconfigured Module:
An IIS module or handler may also be the cause of the 0x80070021 error. Make sure the setup parameters are correct by going over them again.
7. Files or Folders Corrupted:
Verify whether any directories or files associated with the IIS-hosted website or app are corrupted. If discovered, fix them or use backups to restore them.
8. Problems with Disk Space:
Errors in IIS are among the many problems that may arise from insufficient disk space on the server. Verify that there is enough free storage space on the PC.
[Searching solution for a different question? We’re happy to help.]
Conclusion
We offer 8 simple troubleshooting tips from our Tech team to fix the IIS error 0x80070021 on Windows 10.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
GET STARTED
I just upgraded one of my machines to Windows 10 from Windows 8.1. This is a development machine and it has a ton of IIS Web sites and virtuals on it. The Windows upgrade (build 10162) went very smooth and everything seems to be working rather well – all except for IIS.
Accessing any link on the local machine I get this lovely error:
503 Server Unavailable
It looked like IIS was installed properly and the service is running. I can use IISReset to restart IIS and I can see the admin service running. Application Pools are also showing running, but any attempt to access any IIS page results in an immediate 503 error.
After some spelunking around in the Event Viewer I found that the problem is the IIS Rewrite Module:
This is the IIS Rewrite Module that gets separately installed from the Web Platform Installer.
IIS Rewrite Module Problem
It turns out that there’s a new version available that’s more recent (but doesn’t change the version number), and that needs to be installed in order to work. The version I found on the WebPI was dated a month ago (5/27/2015), and I suspect it’s meant to address just the type of problem I’ve been running into with my upgrade.
To install the module:
- Uninstall the Rewrite Module from Windows Features
- Go to the Web Platform Installer
- Pick Url Rewrite from Products | Server section and install
- Restart IIS
And bingo – my IIS installation is up and running again.
Several people tweeted mentioning that they ran into these problems repeatedly with successive Windows 10 updates, so it’s quite possible that the issue has to do with settings rather than an old version. Before going through the above steps you might want to just try to Repair the UrlRewrite installed feature.
Watch for External Module Updates
In searching around I found a few other reports of people having issues with external module updates in IIS. So if your server fails with errors:
- Check the Event Log
- See if errors relate to any external Modules not installed by the main IIS install
- Do a Repair Install or Uninstall Reinstall the Module if there are newer versions
Windows 10 seems to have done a pretty good job updating most of my Windows components, including all native IIS components and Web sites. However, in this case the Rewrite module is externally installed from WebPI so it’s not a standard Windows file and therefore wasn’t updated. This can be a sleeper bug depending on the components you are dealing with. Essentially – double check anything that was installed through Web PI and make sure it all still works since those external components did not get updated in the Windows 10 migration.
Since the upgrade of my computer to Windows 10 Fall Creators Update (October 2017 – Version 1709 (OS Build 16299.19)) the local web server didn’t start anymore, returning the error:
Service Unavailable
HTTP Error 503. The service is unavailable.
The reason for this error seems to be in the Default Application Pool (DefaultAppPool). When you look to the Application Pools section in IIS you’ll see that it’s stopped.
You can start it again, but everytime you try to load a page from the web server again the Application Pool goes down again.
Solution
- create a new Application Pool
- in the basic settings of your web site assign this new Application Pool to the web site
- restart the website
Software Tester and Web Developer
View all posts by jdhnet
Раньше включал службы IIS.На новой Windows убрал автоматическое обновление. Позже попытался включить IIS, но они не запускаются. Мало того- многие другие сервисы и расширения тоже не ставятся, тоесть возможно причина не в них. Скачал и установил IIS Express, но всёравно пишет следующую картину….
Походу слетело что-то глобальное, так как IIS не включается ни в каких комбинациях.
Подскажите,в чём может быть дело?
-
Вопрос задан
-
1388 просмотров