Posts

Showing posts from 2020

An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode

Image
 HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode Most likely causes: system.web/identity@impersonate is set to true. Things you can try: If the application supports it, disable client impersonation. If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false. Background of the Issue:  Above error may occur with any version of .Net or .Net Core and Any version of Visual Studio as well. I faced this issue while creating a POC on .Net Core 3.1 as well as recently while working with .Net 5.  What is the root cause of Issue ?  Root cause of the issue is that scaffolding template that comes with .Net as well as the settings of Visual studio which does not create web.config while choosing the web project specially .Net core versions.   You need to have at least this web.config as ba...

Get Free SSL From LetsEncrypt, Export PFX to Cert, Verify DNS via Txt Record

Image
 How to Get Free SSL from LetsEncrypt for Website ? LetsEncrypt provides Free SSL to protect website and provide green pad lock to encrypt all communication between user and server over secured http. But Getting a certificate is not that easy as described in various articles, specially in case where Hosting provider does not provide you SSH access, and there is no much help available to use Certbot in manual mode. Read this section on LetsEncrypt website :  Without Shell Access If your hosting provider doesn’t want to integrate Let’s Encrypt, but does support uploading custom certificates, you can install Certbot on your own computer and use it in manual mode . In manual mode, you upload a specific file to your website to prove your control. Certbot will then retrieve a certificate that you can upload to your hosting provider. We don’t recommend this option because it is time-consuming and you will need to repeat it several times per year as your certificate expires.  Wh...