Pinch
Pinch

Reputation: 4207

Unknown server tag 'asp:ScriptManager' and 'asp:ListView'

I recently copied over a fully functional website from source gear

It won't build.

Everything seems to be there, but i am getting

Unknown server tag 'asp:ScriptManager' and 'asp:ListView'

I am running 3.5 for this project. (yes i have that framework installed on my server too)

What am i missing?

Thanks!

Upvotes: 0

Views: 10255

Answers (1)

kostas ch.
kostas ch.

Reputation: 2035

Be sure that you have in web.config

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

Upvotes: 6

Related Questions