google-site-verification=ECX1M6_Vb39ty4VtQDXQce6wOjmPTxSettd3hTIZb9Q

Unrecognized attribute 'targetFramework' - Runtime Error

random

Unrecognized attribute 'targetFramework' - Runtime Error

ASP .Net - Unrecognized attribute 'targetFramework'

When you to try upload your site on IIS then sometimes you will get following error message:

IIS Configuration, ASP.Net Website Upload, Error Issue


To resolve this problem you will have to do the following configurations:
  • You'll likely need to re-register ASP.Net version 4 with IIS using following command:
          C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i

  • To Add ASP.NET 4.0 as Application Pool on IIS 7, Windows 7
1- Go to Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager

2- Select a virtual directory or site and click on Basic Settings from the right side: 



3- A dialog box will appear on the screen, then select a Application Pool from the list.



After that click Ok. Thats It.



Unrecognized attribute 'targetFramework' - Runtime Error Reviewed by Ravi Kumar on 5:23 PM Rating: 5

No comments:

All Rights Reserved by Etechpulse © 2012 - 2017

Contact Form

Name

Email *

Message *

Powered by Blogger.