Supertext Home
Chief of the System Blog

Unknown server tag ‘asp:ListView’

November 8th, 2008 by

If you get this message after you upgraded to ASP.NET 3.5 and possible SP1, make sure you have the following settings correctly in your web.config file:

 

<assemblies> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <pages> <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>

And by the way, there is no ASP.NET 3.5 Version on the ASP.NET tab in the IIS 6.0. It’s still running on 2.0. Just in case you were trying to figure out what was wrong with your installation (I was too).

Related Posts

  1. See search results as you type – An ASP.NET Ajax Control
  2. File Upload with ASP.NET
  3. World Domination…
  4. Simple C# encryption and decryption

3 Comments to “Unknown server tag ‘asp:ListView’”

  • Yep says on April 23rd, 2010 at 5:52 pm :

    Awesome, just solved my problem. Thanks. :)

  • sajad says on April 18th, 2011 at 4:10 am :

    Thanks, but
    This code error when I added
    “500 – Internal server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.
    “gives

  • Remy Blaettler says on April 18th, 2011 at 4:14 am :

    Sounds like you have a different problem. Maybe your URL is wrong?

Leave a Reply

  • Topics
  • Archive
  • Subscribe
  • Facebook
  • Twitter