i am trying to deploy my website but getting an this error.

i am trying to deploy my website but getting an this error.

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Jun 29, 2022, 5:17 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Jun 29, 2022, 5:39 AM EDT
Try below steps
Steps to Fix HTTP Error 500.19 – Internal Server Error – 0x80070005
From the Detailed Error Information section, it clearly indicates the error 0x80070005occurs due insufficient permissions to read web configuration file. So to fix this issue, we need to give required permissions to web configuration file for the Identity (user account or service) of the Application Pool that is used in Web Application.
Follow the below steps to give proper permissions for Application Pool Identity.
1. Open the Internet Information Services (IIS) by running the command inetmgr
2. Expand the root node, expand Sites, and right-click on your Application, click Manage Web Site ->Advanced Settings
3. Note down the Application Pool name under General settings and close the window
4. Now go to Application Pools section, here you can see what Identity is used in the corresponding Application Pool (MorganAppPool).
5. Here, the user account testuser1 is configured in MorganAppPool. So we need give required permissions for this user in the website directory “C:UsersAdministratorDocumentsMorganApp“.
6. Go the web directory folder MorganApp, right-click on the folder and click Properties.
7. Set required permissions for the Identity that used in ApplicationPool (In my case testuser1).
8. Restart Application Pool and Web Application, and browse the web page again . Hope, the error ‘HTTP Error 500.19 – Internal Server Error – 0x80070005′ will get fixed and everything will work fine now.
Amit MohantyRank #112 · 20K reputationPosted Jun 29, 2022, 7:48 AM EDT
You should install IIS sub components from
Control Panel -> Programs and Features -> Turn Windows features on or off
Internet Information Services has subsection World Wide Web Services / Application Development Features
There you must check ASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific asp.net versions are checked.
Run from cmd:
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
Sachin SinghRank #66 · 26.2K reputationPosted Jun 29, 2022, 10:22 AM EDT
Guest UserRank #3,125 · 458 reputationPosted Jun 30, 2022, 12:36 AM EDT
Guest UserRank #3,125 · 458 reputationPosted Jun 30, 2022, 3:31 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 30, 2022, 3:42 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Jun 30, 2022, 3:55 AM EDT
To allow unlisted extension to run:
Guest UserRank #3,125 · 458 reputationPosted Jun 30, 2022, 5:59 AM EDT
Guest UserRank #3,125 · 458 reputationPosted Jun 30, 2022, 6:02 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 30, 2022, 6:17 AM EDT
Guest UserRank #3,125 · 458 reputationPosted Jun 29, 2022, 5:24 AM EDT
Guest UserRank #3,125 · 458 reputationPosted Jun 29, 2022, 7:42 AM EDT
now getting this error