Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 24th, 2003, 03:03 PM
Authorized User
Join Date: Jun 2003
Location: Crowland, Lincs, United Kingdom.
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parser Error with Control Directive

I am new to ASP.Net & web development but I am OK with Application based with both C# and VB.Net.
I am following the Wrox ASP.Net 1.0 Spec Edition Book. On chapter 4 - Writing ASP.Net pages, particular around page 185 - 192, which uses the @ Control directive, by the way I am using VB.Net. On p190 it uses class with this Control directive to replace the normal ASP web coding objects. I tried but seems that my .Net complier does not recognised this Control directive, why?

Here is the error code produced when I ran the web 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 'Control' is unknown.
Source Error:

Line 3: <%@ Import Namespace = "System.Data" %>
Line 4: <%@ OutputCache Duration="10" VaryByParam="none" %>
Line 5: <%@ Control Inherits="shipMethodClass" Src="WebForm1.aspx.vb" ClassName="shipMethod" %>Line 6: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 7: <HTML>

Source File: d:\inetpub\wwwroot\WebAppTest01\WebForm1.aspx Line: 5

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Can any one help as I am really a novice on web side and like to crack and able to do it. I believe this directive is important and I have to be able to use it before I get to more advance stuff.

Thanks in advance

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parser Error rwalker Crystal Reports 0 May 8th, 2006 03:47 PM
Parser Error shupiR ASP.NET 1.0 and 1.1 Basics 4 January 6th, 2006 12:59 AM
Error: directive 'WebService' is unknown mikeyp .NET Web Services 0 October 31st, 2005 02:19 PM
Parser Error ashokparchuri General .NET 0 June 3rd, 2005 03:14 AM
Parser Error on Biztalk mandla Access 0 August 13th, 2003 07:03 AM

All times are GMT -4. The time now is 08:16 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.