I have configure ASP.NET website on Windows server 8 with IIS 7.5 Now i want to make some changes i open the explore windows from hosted website using IIS and then copy that location and open this project in VS 2008 , when i build it , then it gives that erro r
Error 4 Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. C:\HostingSpaces\admin1\kk.hhh.pro\wwwroot\web.config 33
What would be the cause i think that it is build using VS 2015 and i am opening it in VS 2008 that would be the issue can anyone assists me
Francis SusaimichaelPosted Mar 12, 2017, 8:35 PM
Mark TaborPosted Mar 12, 2017, 12:18 PM
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
"Francis SusaimichaelPosted Mar 12, 2017, 10:08 AM
This typically happens when you have an attribute of
targetFramework="4.0"in the web.config but the App Pool is set to run ASP.NET 2.0. ThetargetFrameworkattribute is entirely unrecognized by ASP.NET 2.0 - so changing it to 2.0 won't have the desired effect.Contact Support / Your Administrator and have the AppPool switched to 4.0.