Resolve "Unrecognized attribute 'targetFramework'" when loading SendSuite Live pages
Learn how to resolve the error "Unrecognized attribute 'targetFramework'" when loading SendSuite Live pages.
Products affected: SendSuite® Live
Issue
When attempting to load SendSuite Live pages, the following error message is displayed:
"Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive."
Line 22: <compilation debug="false" targetFramework="4.5.1">
Line 23: </compilation>
Line 24: <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
Source File: C:\Program Files (x86)\SendSuite Live\Shipment Server\Web Site\Configuration\web.config Line: 22
Line 22: <compilation debug="false" targetFramework="4.5.1">
Line 23: </compilation>
Line 24: <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
Source File: C:\Program Files (x86)\SendSuite Live\Shipment Server\Web Site\Configuration\web.config Line: 22
Cause
The IIS application pool .Net framework is out of compliance.
Resolution
Change the IIS SendSuite Live application pool to V4.0:
- On the SendSuite Live application server, select the Windows Start button.
- In the search box, type IIS to open Internet Information Services (IIS) Manager.
- Expand Computer instance.
- Select Application Pools.
- Double-click on SendSuite Live.
- Change the .NET CLR version to .NET CLER Version v.4.0.30319.
- Select ok.
- Right-click the SendSuite Live application pool and select recycle.
UPDATED: August 14, 2021