Mark Tabor

Mark Tabor

  • 588
  • 2k
  • 456.3k

Simpe ASP.NET web application hosted on IIS 7.5

Mar 9 2017 2:34 PM
My friend ask me to work on his project he did not give me source code of the project , he has deployed project on IIS 7.5 , so I restore the project in visual studio using right click on the project from IIS and then explore and then copy this path and open project from visual stuido using that path , it open correctly but when i run it ,it gives the below error message
 
Error 1 Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. C:\HostingSpaces\admin1\MYproject.pro\wwwroot\web.config 33
I have checked that My hosted application application pole is set to ASP.NET 4.0 Classic and the Web.config says targer framwork 4.0
 
 
What would be the cause , can i restore the project to visual studio using this methos as i explained,
What is wrong with Target framework 

Answers (1)