Unrecognized attribute 'controlRenderingCompatibilityVersion'

10,257

Found something that worked for me finally. I did the manual conversion of the web.config in this link: http://msdn.microsoft.com/en-us/library/dd483478(v=vs.100).aspx

Then I upgraded the app pool to 4.5 (4 was not an option for me but it might be for you).

Share:
10,257

Related videos on Youtube

Steve
Author by

Steve

Started writing DOS programs in 1987 for fun and grew from there. When Excel couldn't do everything I wanted with data, I moved to Access, then VBA in Access to do even more. While working IT, got tasked with creating VB6 app with only VBA knowledge. Check! Wrote VB6 app used by 3000 concurrent users hitting an access database. Stupid, I know, but it taught me how to manage connections, tables and indexes very well. Moved to another company and had to learn FoxPro. More interesting than you would think! Convinced them to use VB.net and SQL Server. Created my own entity framework and object oriented query language, before MS's entity framework or LINQ was invented, that works for MS SQL, Oracle and Access, simply based on the connection string. Along the way, learned ASP, ASP.net and eventually turned to Silverlight as a way to avoid having to support multiple apps that do the same thing, but in different venues. Ended up writing my own IsolatedStorage database to handle the ability for users to disconnect from the server and go in the field without a network connection. BTW, all along, I still did IT so I setup servers, networks, computers and everything in between.

Updated on June 13, 2022

Comments

  • Steve
    Steve almost 2 years

    We are replacing our win2k3 server (iis6) with a win2012 (iis8) and when we move the asp.net apps over from the old server, configure them as applications and point them to the 2.0 framework, then attempt to run we get this:

    Unrecognized attribute 'controlRenderingCompatibilityVersion'
    
    Line 2:  <configuration>
    Line 3:      <system.web>
    Line 4:          <pages controlRenderingCompatibilityVersion="4.5" />
    Line 5:      </system.web>
    Line 6:  </configuration>
    
    Version Information: Microsoft .NET Framework Version:2.0.50727.6407; ASP.NET Version:2.0.50727.6406 
    

    I have been trying things all day and the strange thing is that the source file points the IIS's root web.config even though the application has it's own with the tag.

    Please note this is a legacy app that cannot be updated to asp.net 4+.

    Any help would be appreciated.