Microsoft’s ASP.NET IIS Registration Tool.

Nikita Pandey 146 Reputation points
2021-07-14T13:07:31.593+00:00

Hi,

I have used Microsoft’s ASP.NET IIS Registration Tool to encrypt the Session SQL connection string in Web.config as I have encrypted <sessionState> tag in the web.config file but facing the some issue as below:-

1) With Encrypted web.config my application is working fine as with the localhost URL.

2) But after Applying DNS settings in IIS, my application is not working with Encrypted web.config, as showing an error "page cannot be displayed".

3) If am removing encryption from web.config, then the application is working with the DNS settings.

Please let me know why application is not working with DNS and encrypted web.config.
Please provide help on this ...

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,252 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-07-15T01:41:09.053+00:00

    when you configure the web.config and DNS entry, are you experiencing the error locally on the webserver or you are trying to access from another location?