473,511 Members | 14,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help - Unrecognized tag prefix or device filter 'asp' and other weird errors in aspx file

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">
<title>abc</title>
<asp:contentplaceholder id="cphHeadStuff" runat="server" />
</head>

This is the first asp tag in the file. If I add another server tag in
the <head> section, I get the same error. I don't get any such error on
the server tags in the <body> of the master page.

Second, I get an error on the following bit of code (which is in the
<body>)...

<asp:PlaceHolder ID="plcSearch" RunAt="server">&nbsp;<asp:TextBox
ID="txtFind" Columns="20" cssClass="box" MaxLength="30" RunAt="server"
/>&nbsp;<asp:Button ID="btnFind" OnClick="btnFind_Click" Text="Find"
cssClass="button" RunAt="server" /></p>
</asp:PlaceHolder>

VWD gives the error "Cannot switch views: Validation (ASP.Net): Element
'PlaceHolder' is missing its closing tag" on the opening tag, and
"Cannot switch views: This end tag has no matching start tag" on the
closing tag.

Anyone any idea what causes these two errors, and how to get rid of
them? As I said, the page works fine, it compiles, I can add content to
the contentplaceholder in the <head> and manipulate the placeholder in
the <body>. VWD just doesn't like them.

TIA

--
Alan Silver
(anything added below this line is nothing to do with me)
Feb 6 '06 #1
0 2014

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

Similar topics

0
2158
by: Tree menu using XML | last post by:
I have one XML file that has nodes and sub node and each and every node has the attribute call visible if its value is true then diplay this node else don't display thid node, but this condition i...
14
7116
by: L Mehl | last post by:
I tested a FE/BE application developed in A2000 on a A2002 machine and got this message when exiting the app. Clicking the only available button "OK", exits the application, as intended. The FE...
16
2129
by: Andrew Baker | last post by:
I am trying to write a function which provides my users with a file filter. The filter used to work just using the VB "Like" comparision, but I can't find the equivilant in C#. I looked at...
2
2939
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...
1
5864
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: "...
3
2727
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...
9
4533
by: Brian Delahunty | last post by:
I'm having a bit of a weird problem and I've spent the last few hours scouring the web trying to solve this before coming here. Here is the problem: I get 404 errors for all ASP.NET 2.0 content...
1
3862
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...
0
3821
by: shamirza | last post by:
· What is view state and use of it? The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested...
0
7252
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,...
0
7153
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...
0
7432
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...
1
7093
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...
1
5077
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...
0
4743
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...
0
3230
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...
0
1583
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 ...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.