Parser Error: Unrecognized attribute type

Problem

You receive the following message when attempting to run your application:

Server Error in XXX Application.

Configuration Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message:  Unrecognized attribute ‘type’...

This error generally looks like:

This error can occur when your application was created for one version of the .NET Framework but your application server is running a different version of the .NET Framework.

Solution

Step 1:  Install and run the .NET Framework version required by your application.

Step 2:  Set the appropriate .NET Framework version in your application’s virtual directory via the ASP.NET tab.

See Also

Part IX:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages