Solved

The directive 'page' is unknown

Posted on 2006-07-23
3
1,009 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
3 Comments
 
LVL 12

Assisted Solution

by:TheMegaLoser
TheMegaLoser earned 150 total points
Comment Utility
Are you sure the file is a page (aspx)?
0
 

Author Comment

by:Hers2keep
Comment Utility
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
Comment Utility
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 Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now