Microsoft’s ASP.NET IIS Registration Tool.

Nikita Pandey 146 Reputation points


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
A set of technologies in the .NET Framework for building web applications and XML web services.
1,322 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous

    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?