473,666 Members | 2,162 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 5877
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
2900
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
2945
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 seems to build
7
11450
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 apparently work fine.
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 html structure. any ideas?
0
2050
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
3870
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
1300
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 snippet of my asp code:
4
1615
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 try to login it shows the same login page WITHOUT any error. I've got an account in www.asp.net (when...
0
8444
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8551
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5664
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.