How to Fix 0x80070005 Error – IIS 500.19 with 0x80070005 The requested page cannot be accessed because the related configuration data for the page is invalid error
IIS configuration issue
📋 Table of Contents
The IIS 500.19 error with 0x80070005 is a common issue that affects users who try to upload their own ASP.NET websites on IIS using IIS Manager. This error occurs when the configuration data for the uploaded website is invalid, causing the server to unable to access the page.
This error can be frustrating, especially for developers who are trying to deploy their applications quickly. However, with the right troubleshooting steps, you can resolve this issue and successfully upload your ASP.NET website on IIS.
💡 Why You Are Getting This Error
- The primary cause of the IIS 500.19 error is that the configuration data for the uploaded website is invalid or incomplete. This can be due to various reasons such as incorrect file extensions, missing dependencies, or incorrect handler mappings.
- Another possible reason for this error is that the .NET Framework version on the server does not match the version specified in the website's web.config file.
🚀 How to Resolve This Issue
Updating the Handler Mappings
- Step 1: Step 1: Open IIS Manager and navigate to the 'Sites' folder where your uploaded website is located.
- Step 2: Step 2: Right-click on the website's site in the 'Sites' folder and select 'Properties'.
- Step 3: Step 3: In the 'Properties' window, click on the 'Handler Mappings' tab and then click on the 'Add' button.
- Step 4: Step 4: Select the '.NET CLR version' that matches your .NET Framework version and click 'OK'.
- Step 5: Step 5: Repeat steps 2-4 for each required handler mapping.
Updating the .NET Framework Version
- Step 1: Step 1: Open the Command Prompt as an administrator and run the command `aspnet_regiis -s` to reset the ASP.NET registry.
- Step 2: Step 2: Run the command `cscript osql.dll` (for 32-bit systems) or `cscript osql.dll` (for 64-bit systems) to update the .NET Framework version.
- Step 3: Step 3: Restart the IIS service by running the command `net stop iisapp` and then `net start iisapp`.
🎯 Final Words
By following these steps, you should be able to resolve the IIS 500.19 error with 0x80070005 and successfully upload your ASP.NET website on IIS using IIS Manager.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Fix Pc crashes shortly after launching game (rainbow six siege). Compl
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: New PC build- no signal and no clue
Fix New PC build- no signal and no clue. Complete troubleshooting guid