473,587 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unrecognized tag prefix or device filter 'asp'

Hi

I have a vs2005 and I try to put a placeholdercont ent control on header tag
of the master page, for adding extra header on the content page, but I still
have this error when I build: " Unrecognized tag prefix or device filter
'asp' " on tag <asp:contentpla ceholder runat="server"
id="ExtraHeader "></asp:contentplac eholder>.
The page apparently work fine.
Masterpage source:

<%@ Master...
<%@ Register..
<%@ Register...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitl ed Page</title>
<LINK href="..." rel="stylesheet ">
<LINK media=".." rel="stylesheet ">
<LINK media="print" href=".." rel="stylesheet ">
<LINK href="..." rel="stylesheet ">
<LINK href="..." rel="stylesheet ">
<script language="javas cript" src="...."></script>
<asp:contentpla ceholder runat="server"
id="ExtraHeader "></asp:contentplac eholder>
</head>
<body>
</body>
</html>

Content page source:

<%@ Page ....
<asp:Content runat=server ContentPlaceHol derID=ExtraHead er>
<LINK href="extra.css " rel="stylesheet ">
</asp:Content>
Thanks

Simon
Nov 25 '05 #1
1 5874
MattM
1 New Member
I had the same problem with master pages in a project I had. I'm pretty sure this is just a bug in Visual Studio as I downloaded code from Microsoft ( http://msdn.microsoft.com/msdnmag/is...20MasterPages/ ) and it matched what I did. Plus the pages still render fine.

To get rid of the errors, simply close the master pages when you build the web site. I did that and the errors magically vanished. It doesn't make me very confident about Visual Studio 2005 though.
Mar 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2898
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this a limitation for smart device application? Is there any forum/group available for Smart device application developer?
2
2944
by: Roger Helliwell | last post by:
Hey guys, Just sat down this morning to continue on a project (using Whidbey) I've been working on for 3 months. To my surprise (which quickly turned to horror) I started receiving the following error on every single aspx page: 'asp' is an unrecognized tag prefix or device filter I'm baffled. The solution builds fine, and each page...
7
11449
by: kai | last post by:
Hi, I have XP Pro and VS2005 final version. I have been running some examples from a MS Press books (ASP.NET 2.0 Core Reference and), I run into this problems: Parser Error Message: Unrecognized attribute 'xmlns'.
0
289
by: Simon | last post by:
Hi I have a vs2005 and I try to put a placeholdercontent control on header tag of the master page, for adding extra header on the content page, but I still have this error when I build: " Unrecognized tag prefix or device filter 'asp' " on tag <asp:contentplaceholder runat="server" id="ExtraHeader"></asp:contentplaceholder>. The page...
3
2734
by: Tim_Mac | last post by:
hi, i have a master page, and i want to put an asp:literal control in the <head><title> section. but it won't build because it says it's an unrecognized tag prefix. if i put the control inside a server form it works fine, but i probably don't want to move the server form to encapsulate the body element, since that would not be a correct...
0
2029
by: Alan Silver | last post by:
Hello, I have two weird problems here. I have a master page file that works absolutely fine. When I load it up in VWD, I get a couple of weird (to me) errors. First, I get the error "Unrecognized tag prefix or device filter 'asp'" on the third line shown below... <head runat="server">
1
3866
by: Luurs | last post by:
Hi All, I've been using a asp-label in the HTML <headsection for quite some time in order to dynamically generate meta-keywords,-description, css and js references. Though the actual HTML-output isn't that pretty (<span>'s in the head-section...) it works fine with browsers, crawlers. It never REALLY was an issue...
0
1298
by: =?Utf-8?B?SnVzdGluIFJvYmVydHM=?= | last post by:
Hi I am developing a mobile web VB asp.net application in VS 2005. The forms are mobile web forms. I have a mobile web configuration page (web.config). In one of my forms I have a DeviceSpecific control so that I can choose to use an asp:TextBox when PocketIE is detected, otherwise I want to use a mobile:TextView control. Here is a...
4
1614
by: =?Utf-8?B?TmFkYXYgUG9wcGxld2VsbA==?= | last post by:
Hi everybody, I've got an ASP.NET 1.1 application and I need to add to it new Browser Capabilities information for 3 new cellular phones. I used to use http://www.asp.net/mobile/profile/MyDevices.aspx to detect the Browser Capabilities for my devices, but now I can't get to that page. When I try to get there I get a login page. When I...
0
7918
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5713
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.