johnfrederick
Programmer
I’m using a book:ASP.NET Unleashed by Stephen Walther and having trouble with the examples not working. It looks like nothing in Chapters 3-9 will compile for the same reason. The following is an example. As I imported the aspx files, I asked for class modules to be created for each one. They look ok with namespace statements for all the controls. I have debug=True set, but the following is all that comes out. Help! Help!
.aspx file:
<%@ Page CodeBehind="Cancel.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="ASPDOTNETUNLEASHED.Cancel" %>
<html>
<head>
<title>Cancel.aspx</title></head>
<body>
<h1>Action Canceled!</h1>
</body>
</html>
Error Message:
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: Could not load type 'ASPDOTNETUNLEASHED.Cancel'.
Source Error:
Line 1: <%@ Page CodeBehind="Cancel.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="ASPDOTNETUNLEASHED.Cancel" %>Line 2: <html>Line 3: <head>
Source File: c:\inetpub\ Line: 1
Version Information
.aspx file:
<%@ Page CodeBehind="Cancel.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="ASPDOTNETUNLEASHED.Cancel" %>
<html>
<head>
<title>Cancel.aspx</title></head>
<body>
<h1>Action Canceled!</h1>
</body>
</html>
Error Message:
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: Could not load type 'ASPDOTNETUNLEASHED.Cancel'.
Source Error:
Line 1: <%@ Page CodeBehind="Cancel.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="ASPDOTNETUNLEASHED.Cancel" %>Line 2: <html>Line 3: <head>
Source File: c:\inetpub\ Line: 1
Version Information