473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Page Directive

I am trying to create the Chart application from Chapter 27 in ASP.net Unleashed. When I go to load my page I receive the following error message:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The directive 'Page' is unknown.

Source Error:

Line 1: <%@ Page Language="VB" Debug="true" %>
Line 2: <%@ Register TagPrefix="myControl" TagName="Chart" Src="Chart.ascx" %>
Line 3: <%@ import Namespace="System.Data.SqlClient" %>


Can anyone tell me what I might be overlooking? Any help is greatly appreciated!

Thanks,
Keith
Nov 18 '05 #1
2 4165
What is the extension of your file?
ASPX?

George.
"Keith" <kc****@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I am trying to create the Chart application from Chapter 27 in ASP.net Unleashed. When I go to load my page I receive the following error message:

Server Error in '/' Application.
------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The directive 'Page' is unknown.

Source Error:

Line 1: <%@ Page Language="VB" Debug="true" %>
Line 2: <%@ Register TagPrefix="myControl" TagName="Chart" Src="Chart.ascx" %>
Line 3: <%@ import Namespace="System.Data.SqlClient" %>


Can anyone tell me what I might be overlooking? Any help is greatly appreciated!

Thanks,
Keith
Nov 18 '05 #2
Yes the extension is ASPX. I am fairly new to this, but maybe this will help as well. I have also created a user control with a .ascx extension which is the source for the Chart control created in the .aspx file.

Thx,
Keith
"George Ter-Saakov" <no****@hotmail.com> wrote in message news:ee**************@TK2MSFTNGP09.phx.gbl...
What is the extension of your file?
ASPX?

George.
"Keith" <kc****@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I am trying to create the Chart application from Chapter 27 in ASP.net Unleashed. When I go to load my page I receive the following error message:

Server Error in '/' Application.
----------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The directive 'Page' is unknown.

Source Error:

Line 1: <%@ Page Language="VB" Debug="true" %>
Line 2: <%@ Register TagPrefix="myControl" TagName="Chart" Src="Chart.ascx" %>
Line 3: <%@ import Namespace="System.Data.SqlClient" %>


Can anyone tell me what I might be overlooking? Any help is greatly appreciated!

Thanks,
Keith
Nov 18 '05 #3

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

Similar topics

11
by: Jeff | last post by:
Hi - I'm trying to get my ASP.NET pages to work the same way on my development machine (running from the VS.NET IDE) and on a remote (3rd-party) server. The only way I've been able to come up...
5
by: henrybranson | last post by:
I'm trying to create an RSS feed that is written dynamically by an ASP.NET page. I know there are several ways to do it, but the quickest for me was to follow the Scott Mitchell tutorial at...
2
by: rjack | last post by:
I'm using VS 2005 Beta 2. In VS 2003, the Page directive in an aspx page has Language and CodeBehind attributes. You can have the language be different than the code behind file language. For...
3
by: DC | last post by:
Hi, (ASP.Net 1.1) is it possible to (programmatically and globally) deactivate page fragment caching? We have only two scenarios, development stage where we want caching off and testing where we...
1
by: Poppy | last post by:
I opened an asp page in VS.net 2002 and then saved it as an aspx page. I was prompted if I wanted to create the class file for the page and clicked yes. Now when I try and open the page I get...
5
by: homertbush | last post by:
When our asp.net pages are rendered out as html the page directive is still in the html. ie. The following page directive is present in the body of the html of the rendered page: <%@ Page...
4
by: Suresh | last post by:
Is there any way to access the custom properties of a master page from the aspx form? I know the custom properties of a master page can be accessed from the aspx.cs partial class by specifying...
3
by: Rotsey | last post by:
Hi, I have just installed the web application project addon for VS2005. I want to have a master page so I put a directive in the web config pointing to my page. Now I want to create a...
4
by: senfo | last post by:
This is probably a really stupid question, but what exactly is the <%@ Page %directive? I thought I knew the answer to this, but now I'm not so sure that I do. Essentially, what I'd hope to...
2
by: Eric | last post by:
Hi All, I am working with an ASP.NET website with .NET 1.1. I want to increase the maxRequestLength value for *only* a single page (therefore, I can't set the new value in machine.config or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.