Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. [error] controlRenderingCompatibilityVersion' attribute is not declared [modified]

[error] controlRenderingCompatibilityVersion' attribute is not declared [modified]

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiocomdesign
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jon 80
    wrote on last edited by
    #1

    I'm using Visual Studio 2010 (.NET 3.5), which still has .NET 4.0 installed because I had to uninstall Visual Studio 2010. When I'm loading this code within Visual Studio 2008, an error is being displayed that seems to be triggered by: web.config ... <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"> <controls> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></controls></pages> <httpHandlers> ... Errors: 1. Warning 1 C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\CalendarTest.aspx: ASP.NET runtime error: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\web.config line 28) C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\CalendarTest.aspx 1 1 C:\...\RichControls\ 2. Warning 2 The 'targetFramework' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 28 29 C:\...\RichControls\ 3. Warning 3 The 'controlRenderingCompatibilityVersion' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 52 10 C:\...\RichControls\ 4. Warning 4 The 'clientIDMode' attribute is not declared. C:\Documents and Settings\Jon\My Documents\Downloads\Beginning_ASP_NET_3_5_in_C_2008_From_Novice_to_Professional_Second_Edition-3790\Beginning ASP.NET 3.5\Chapter11\RichControls\Web.config 52 53 C:\...\RichControls\ 5. Error 5 Unrecognized attribute 'targetFramewo

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups