Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

The directive 'page' is unknown

Posted on 2006-07-23
3
Medium Priority
?
1,026 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

650 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