Unknown server tag ‘asp:ListView’

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).




Ähnliche Beiträge


3 Kommentare zu “Unknown server tag ‘asp:ListView’”



  • Yep am 23. April 2010 5:52 pm Uhr

    Awesome, just solved my problem. Thanks. 🙂


  • sajad am 18. April 2011 4:10 am Uhr

    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 am 18. April 2011 4:14 am Uhr

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


Leave a Reply

Your email address will not be published. Required fields are marked *



*