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).
3 Kommentare zu “Unknown server tag ‘asp:ListView’”
Awesome, just solved my problem. Thanks. 🙂
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
Sounds like you have a different problem. Maybe your URL is wrong?