Recommended Free Tools
Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
0x80070057 is Windows’ ERROR_INVALID_PARAMETER (“The parameter is incorrect”). The longer spelling in “0X080070057” contains an extra zero and may be a transcription error; copy the complete IIS message before changing anything. In IIS, the code alone does not identify the faulty setting. A request-time HTTP 500.19 error usually points to a specific configuration file, section, module, permission, or line. An IIS role-installation failure requires installation output and IIS/CBS log review instead of Web.config edits. Use the branch that matches when the error appears, back up configuration first, make one evidence-based change, and retest.
What does 0x80070057 mean in IIS?
Microsoft defines 0x80070057 as ERROR_INVALID_PARAMETER, meaning “The parameter is incorrect.” It is a generic Windows status, not an IIS diagnosis. The form shown in the title, 0X080070057, has one additional zero compared with the documented value. A Microsoft Q&A example shows the longer spelling in a Windows activation context, so do not assume the title’s digits are the complete IIS error.
As an Amazon Associate I earn from qualifying purchases.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Before troubleshooting, copy the full dialog or error page exactly. Record the hexadecimal HRESULT, HTTP status and substatus, module, notification, Config File path, Config Source lines, highlighted line, and the time of the failure. Those details determine whether you should repair a site configuration, install the IIS role, or repair Windows servicing. Preserve the original evidence so you can compare the result after each change.
Which IIS failure are you seeing?
The same hexadecimal value can appear in different operations. Choose the row that matches your symptom before applying a fix.
Popular on Amazon
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
| Where the error appears | Typical evidence | Correct first action |
|---|---|---|
| A browser request fails | HTTP 500.19 with Config File, Config Source, line, module, and notification fields | Inspect the named Web.config or ApplicationHost.config entry and validate the effective section |
| The Web Server (IIS) role will not install | Server Manager or PowerShell installation failure, followed by rollback or a result code | Capture the installation result, correlate IIS7.log and CBS.log, and only then consider servicing repair |
| Windows component servicing is failing | CBS.log entries showing component-store or servicing corruption | Run DISM RestoreHealth, then SFC, and restart if Windows requests it |
| An application-specific module or section is rejected | 500.19 naming an unrecognized module/section or an ASP.NET Core hosting entry | Install the required, matching extension or remove an obsolete reference after a backup |
How do I fix 0x80070057 when a browser shows HTTP 500.19?
HTTP 500.19 is generated while IIS reads configuration, often before application code runs. The detailed page is your map: it identifies the file and usually the section or line that failed.
1. Save the complete 500.19 page
Copy the URL, status and substatus, module, notification, Config File, Config Source excerpt, highlighted line, and timestamp into a text file. If custom errors hide these details remotely, reproduce the request locally on the server or temporarily use an approved diagnostic setting; restore your normal error-display policy afterward. Do not edit a file until you have saved this evidence.
2. Open the exact configuration file IIS names
IIS configuration is hierarchical. On IIS 7 and later, the primary server configuration is under %WinDir%System32InetsrvConfig. ApplicationHost.config contains server-wide sites and applications, while a site or application’s Web.config applies at a lower scope. A setting inherited from the server file can therefore break several sites, whereas a Web.config change normally affects its own application and children.
Use the path printed on the error page rather than searching for a similarly named file. Make a dated copy before editing. For example, copy the file to a separate backup location while retaining its original extension and permissions. If the named file is ApplicationHost.config, treat the change as server-wide and schedule a maintenance window when other sites could be affected.
3. Check the highlighted line and the lines immediately before it
Look for malformed XML: an unclosed element, mismatched closing tag, illegal character, broken quotation mark, or a section inserted inside the wrong parent. IIS may highlight the first line where parsing becomes impossible even though the typo is a few lines earlier. Compare the current text with the backup or a known-good revision, and make one focused correction.
4. Check the non-syntax causes listed by IIS
- Locked section: A section can be locked at a higher level, preventing a lower-level Web.config from overriding it. Unlock it only when the server’s policy permits and the application genuinely needs the override.
- Duplicate entry: Repeated collection keys or handlers can produce a configuration error. Remove only the confirmed duplicate; do not delete an entire section to make the page load.
- Missing module: A configuration entry can name an IIS extension that is not installed. Install the owning extension only if the application requires it, or remove the obsolete reference after confirming that it is no longer used.
- Permissions: IIS must be able to read the configuration file and its parent directories. Check the file and directory access control entries without granting broad write access as a workaround.
- Invalid section or attribute: A setting from a different IIS version or an incompatible module may not be recognized by this server.
5. Validate the effective configuration
After the single correction, open an elevated Command Prompt and run:
Also popular on Amazon
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
%windir%system32inetsrvappcmd list config /section:system.webServer
This asks IIS to read the effective system.webServer configuration and can expose a remaining parse, lock, or duplicate-entry problem before you test the site. IIS Manager’s Configuration Editor can also inspect the affected section. If the command reports a different file or section, follow that evidence rather than continuing to edit the original line.
6. Retest the same request
Request the identical URL and record the new status, module, and source line. A changed line or a different error means IIS progressed farther; it does not prove the configuration is correct. Continue with one confirmed correction at a time so you can identify which change solved or introduced the problem.
What should I do if the error names an IIS module or section?
Unrecognized module or section
Read the exact module or section name from the 500.19 page. Determine which IIS extension or application component owns it and install a version appropriate for this server and application, or remove the reference if the component has been retired. Do not copy a module registration from another machine without checking its installed binaries, version, and path.
ASP.NET Core hosting entries
If the site is ASP.NET Core and the error points to hosting integration, verify that the matching ASP.NET Core Hosting Bundle is installed. This is a distinct 500.19 branch: repairing unrelated XML or unlocking arbitrary sections will not supply the missing hosting integration.
XPress compression schema
A documented Configuration Manager case involves an incompatible XPress compression schema entry in ApplicationHost.config. Use a targeted AppCmd removal only when the error identifies that exact entry and the surrounding symptom matches. Back up the server configuration first; deleting compression settings broadly can affect every site.
Also popular on Amazon
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
How do I fix 0x80070057 when IIS will not install?
Do not begin by editing a site’s Web.config when the Web Server (IIS) role itself fails to install. Installation problems are Windows role-servicing events, so the useful evidence is the installation result and the logs written at that time.
1. Run the supported role installation as an administrator
Sign in with an account that has administrative rights. In an elevated PowerShell window, run:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Install-WindowsFeature Web-Server -IncludeManagementTools
The graphical route is Server Manager → Add Roles and Features → Web Server (IIS). Accept the management tools and any dependencies that the wizard selects. Save the result, including the success or failure text and the exact time, before closing the wizard or PowerShell window.
2. Correlate the installation time with IIS and CBS logs
Review IIS7.log and %windir%LogsCBSCBS.log. Search around the recorded failure time and find the first meaningful error, not merely the final rollback message. Note which package, feature, dependency, or servicing action failed. This distinction prevents a harmless Web.config typo from being treated as a role-installation defect.
3. Repair the component store only when the logs support it
If CBS entries indicate Windows component-store or servicing corruption, run these commands in an elevated Command Prompt:
Also popular on Amazon
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
DISM repairs the component store used by Windows servicing; SFC then checks and repairs protected system files. Let each command finish, record its final result, and restart if Windows requests a restart. Retry the IIS role installation only after both commands complete and any required restart has occurred.
4. Recheck the same feature and dependencies
Run the PowerShell installation command again or repeat the Server Manager wizard, using the same feature selection. Compare the new result and timestamps with the original logs. If the failure persists, the newly generated entries are more valuable than the old rollback message and should guide the next investigation.
How do IIS configuration scope and permissions affect the repair?
Because configuration is inherited, a server-wide change can affect every site. A lower-level Web.config cannot override a locked section, and a malformed parent file can prevent all child applications from loading. Identify the scope shown on the error page before changing access or unlocking anything.
- Use a file backup and a change record for every edit.
- Prefer the smallest correction that addresses the named line, section, module, or permission.
- Preserve existing access control entries; granting full control to broad user groups is not a safe diagnostic shortcut.
- Validate with AppCmd or Configuration Editor before sending production traffic.
- Never replace
ApplicationHost.configwholesale with a copy from another server. Site paths, module registrations, locks, bindings, and application definitions are environment-specific.
What should I avoid while troubleshooting?
- Do not treat the HRESULT as a complete diagnosis. It only says that a parameter was invalid; the IIS page or installation logs supply the context.
- Do not delete Web.config or ApplicationHost.config to make the error disappear. That can remove handlers, authentication, bindings, or other required settings and make recovery harder.
- Do not run DISM and SFC as a reflex for every 500.19. Use them when CBS evidence indicates servicing corruption or when Windows component repair is otherwise justified.
- Do not install an extension merely because its name appears in a copied configuration. Confirm that the application needs it and that the version matches the server.
- Do not make several unrelated edits before retesting. You will lose the ability to tell which change affected the result.
What is the fastest safe decision path?
- Copy the complete message and verify whether the code is exactly
0x80070057or a different value. - If a browser shows 500.19, follow its Config File, Config Source, module, and line information; back up the file and correct one confirmed issue.
- Validate the effective configuration with AppCmd or Configuration Editor, then retest the same URL.
- If the IIS role will not install, use the elevated role-installation command, record its result, and inspect IIS7.log and CBS.log.
- Run DISM followed by SFC only when component-store evidence supports servicing repair, then restart if requested and retry installation.
- For an ASP.NET Core hosting entry, verify the matching Hosting Bundle; for a named XPress schema, use the targeted correction only when that exact symptom is present.
As an optional shortcut after you have captured the IIS evidence, Outbyte PC Repair can address some common Windows issues, clean temporary and cache files, check selected Windows settings and missing updates, and provide tools such as real-time boost and crash logging. It complements an antivirus rather than replacing one; results vary, and no tool repairs every crash. It runs on Windows 11, 10, 8, and 7, with a free trial by category of at least two days followed by a paid subscription.
Frequently asked questions
Can restarting IIS alone fix this error?
A restart can reload a configuration after you have corrected it, but it cannot repair malformed XML, a locked section, a missing module, or a failed role installation. Restart only after recording the original evidence and making the specific change indicated by the error or logs.
Should I remove and reinstall IIS if the role installation fails?
Not as a first response. Removing the role can alter server configuration and does not address a damaged Windows component store; capture the installation result and review IIS7.log and CBS.log before considering a larger change.
Does 0x80070057 prove that the server has been hacked?
No. The code is a generic invalid-parameter status and appears in many Windows operations. Investigate security separately using your organization’s approved monitoring and incident procedures rather than inferring a compromise from this HRESULT alone.
Also popular on Amazon
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
How can I compare an IIS configuration safely?
Keep the dated backup and compare it with the edited file using a trusted text-diff or version-control workflow. Review the exact section and inheritance level, validate with AppCmd, and test on a staging server when the change could affect multiple sites.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Fix the driver behind crashes, sound loss and screen glitches3Clear out junk files and repair common Windows errorsFrequently Asked Questions
Can restarting IIS alone fix this error?
A restart can reload a configuration after you have corrected it, but it cannot repair malformed XML, a locked section, a missing module, or a failed role installation. Restart only after recording the original evidence and making the specific change indicated by the error or logs.
Should I remove and reinstall IIS if the role installation fails?
Not as a first response. Removing the role can alter server configuration and does not address a damaged Windows component store; capture the installation result and review IIS7.log and CBS.log before considering a larger change.
Does 0x80070057 prove that the server has been hacked?
No. The code is a generic invalid-parameter status and appears in many Windows operations. Investigate security separately using your organization’s approved monitoring and incident procedures rather than inferring a compromise from this HRESULT alone.
How can I compare an IIS configuration safely?
Keep the dated backup and compare it with the edited file using a trusted text-diff or version-control workflow. Review the exact section and inheritance level, validate with AppCmd, and test on a staging server when the change could affect multiple sites.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteQuick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

