question

NikitaPandey-4461 avatar image
0 Votes"
NikitaPandey-4461 asked NikitaPandey-4461 edited

Microsoft’s ASP.NET IIS Registration Tool.

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 ...

windows-server-iisdotnet-aspnet-webpages
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@NikitaPandey-4461 What are your DNS settings? are there any other error messages? can you provide a complete error message?

0 Votes 0 ·

Hi @SamWu-MSFT,

I I have given the Port 443 and done the bindings setting as below:-

114923-image.png

When Browsing the application from IIS, then getting the below error on IE browser.

This page can’t be displayed
Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://summitcoe.symphonysummit.com again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator.
Change settings


So, Please provide the solution for it as I tried many solution but not working.
Let me know that Microsoft’s ASP.NET IIS Registration Tool will work in DNS settings or not.


0 Votes 0 ·
image.png (54.8 KiB)

@NikitaPandey-4461 There is no documentation to indicate that Microsoft’s ASP.NET IIS Registration Tool and DNS settings do not work together. and here is a document that uses Microsoft’s ASP.NET IIS Registration Tool and DNS settings for your reference: configuring-a-web-server-for-web-deploy-publishing-web-deploy-handler.


0 Votes 0 ·
Show more comments

1 Answer

turtle007 avatar image
0 Votes"
turtle007 answered NikitaPandey-4461 edited

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?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi anonymous user,

I am getting same error as below when running the application in another location.

This page can’t be displayed
Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://summitcoe.symphonysummit.com again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator.
Change settings


So, Please provide the solution for it as I tried many solution but not working.
Let me know that Microsoft’s ASP.NET IIS Registration Tool will work in DNS settings or not.

0 Votes 0 ·