Unrecognized tag prefix or device filter 'asp'

Last post 06-12-2007 4:24 PM by PizzaSlice. 8 replies.

Sort Posts:

  • Unrecognized tag prefix or device filter 'asp'

    12-09-2005, 5:08 AM
    I'm getting this error: "Unrecognized tag prefix or device filter 'asp'" in the ASP.NET source view of VS 2005.

    It only seems to occour on some pages, and on those pages it does occour, <asp:Content> tags seem to be uneffected.

    Does anyone know what is going on?
  • Re: Unrecognized tag prefix or device filter 'asp'

    12-09-2005, 1:50 PM
    • Member
      215 point Member
    • JustJump
    • Member since 03-25-2004, 10:39 AM
    • Posts 43

    I had a similiar issue.  Mine occured on content pages where I had not defined the master page at the top.  I was setting my master page in the web.config and didn't want it on each page.  I wonder if there is a way to make those errors go away.  The site still runs though.

    ~ Lisa

  • Re: Unrecognized tag prefix or device filter 'asp'

    12-09-2005, 5:49 PM
    Sounds like this bug. I believe the workaround is to keep the master page open. Let me know if that works.
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Unrecognized tag prefix or device filter 'asp'

    12-09-2005, 9:24 PM
    Thanks Mikhail, keeping the master page open fixes it. Interesting bug.
  • Re: Unrecognized tag prefix or device filter 'asp'

    12-21-2005, 3:02 PM
    • Member
      15 point Member
    • iamhrh
    • Member since 11-18-2005, 6:22 PM
    • Atl, GA
    • Posts 3

    Wow, this is a bizzare one. Same situation, using master pages, and when I try and edit a file without the master page open, visual studio pronounces that all of my <asp: tags are invalid :-/

    Oh well, a workaround is a workaround I suppose.

    Thanks again ASP.Net forums / google

    I like cake.
  • Re: Unrecognized tag prefix or device filter 'asp'

    01-14-2007, 4:26 AM
    • Member
      8 point Member
    • plq1
    • Member since 12-29-2006, 3:33 PM
    • UK
    • Posts 9

    This bug is still occurring in vs 2005 service pack 1.

    In my case opening master pages didnt help. But opening web.config and making a whitespace change to it, then clean solution and rebuild, did make the problem go away. None of my master pages are present in web.config, in fact I've never made a change to web.config

  • Re: Unrecognized tag prefix or device filter 'asp'

    03-14-2007, 12:43 PM
    plq1:

    This bug is still occurring in vs 2005 service pack 1.

    In my case opening master pages didnt help. But opening web.config and making a whitespace change to it, then clean solution and rebuild, did make the problem go away. None of my master pages are present in web.config, in fact I've never made a change to web.config

     

    What is 'clean solution'?  I'm having this same problem, even with my master page and web.config files open.  I just upgraded my AJAX and Toolkit to the release versions.  I didn't have any errors/warnings on the previous versions.

  • Re: Unrecognized tag prefix or device filter 'asp'

    03-15-2007, 12:09 AM

    Please read carefully Ajax RTM release information. You must remove old assemblies from bin as RTM version installs in GAC, not in bin. You also need to fix web.config.

    http://ajax.asp.net/documentation/Migration_Guide_CTP_to_RTM.aspx 

    http://ajax.asp.net/documentation/Migration_Guide_RC_to_RTM.aspx

    http://ajax.asp.net/documentation/AspNet_AJAX_CTP_to_RTM_Whitepaper.aspx 

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Unrecognized tag prefix or device filter 'asp'

    06-12-2007, 4:24 PM
    • Member
      7 point Member
    • PizzaSlice
    • Member since 07-26-2005, 10:05 AM
    • Tampa, FL
    • Posts 2

    Changing web.config and saving fixed it for me as well.  Thanks guys!

    Scott

    Do today that which tomorrow you will regret if you don't.
Page 1 of 1 (9 items)