?
Solved

The directive 'page' is unknown

Posted on 2006-07-23
3
Medium Priority
?
1,025 Views
Last Modified: 2012-05-05
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Welcome" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Main" Runat="Server">
    Welcome to the Writers Database
</asp:Content>

The above code generages this error "The directive 'page' is unknown."

0
Comment
Question by:Carla Romere
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Assisted Solution

by:TheMegaLoser
TheMegaLoser earned 600 total points
ID: 17164200
Are you sure the file is a page (aspx)?
0
 

Author Comment

by:Carla Romere
ID: 17164711
This particular page is named default.aspx and references the master page, MasterPage.master.

The code posted is the code for the entire page right now.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1400 total points
ID: 17164938
Looks valid to me:

<%@ Page Language="VB" AutoEventWireup="false" MasterPageFile="MasterPage.master" CodeFile="Default.aspx.vb" Inherits="_Default" %>

There isn't enough information to explain that error.

Bob
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question