Resolve error "Parser Error Message: Unrecognized attribute targetFramework" when attempting to view a ASP.NET Web page

Home > Search
  by

Follow these directions to fix error 'Parser Error Message: Unrecognized attribute targetFramework' when attempting to view a ASP.NET Web page.

  1. Open a command line prompt as administrator, and type the following commands.
    1. cd C:\Windows\Microsoft.NET\Framework\v4.0.30319\
    2. aspnet_regiis.exe -ir
  2. Open IIS Manager.
  3. In the left panel of IIS Manager, expand the root directory.
  4. Select the website in question.
  5. In the right panel of IIS Manager, select Basic Settings.
  6. In the Edit Site pop-up box, click the Select button.
  7. In the Select Application Pool pop-up box, set the Application pool drop-down to ASP.NET v4.0. Click OK.
  8. Click OK to close the Edit Site pop-up box.
  9. In the right panel of IIS Manager, click Restart.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments