Solved

The directive 'page' is unknown

Posted on 2006-07-23
3
1,022 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:Hers2keep
[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 150 total points
ID: 17164200
Are you sure the file is a page (aspx)?
0
 

Author Comment

by:Hers2keep
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 350 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Maps with Webforms 1 43
asp.net web app 3 54
Move inline javascript functions to external .js file in asp.net 12 54
Textbox autocomplete using jquery in asp.net 13 44
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

738 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