When I run the application using IIS Express then it works perfectly fine. The issue arises only when I deploy that in local IIS.
Please see the attached screenshot for the error.
To fix this issue, I modified this part shown below:
After doing all these, now getting below error shown in screenshot:
Can anyone please suggest me how to resolve this issue. Any help will be highly appreciated.