When access the storefront webpage getting .Net errors

When access the storefront webpage getting .Net errors

book

Article ID: CTX330681

calendar_today

Updated On:

Description

When access the newly added Storefront server getting the below error.

Error : The 'targetFramework' attribute in the element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, ''). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.
 


Instructions

1. Install Storefront.
2. Add to the existing store.
3. Make sure the server is added to the group and replication is completed.
4. Add the HTTPS Binding to the new server

Additional Information

The issue was caused by adding the HTTPS binding prior to add the server to the Server Group.