N
Nathan Sokalski
I am revieving the following error for one of my controls when loading any
pages that use it:
Server Error in '/exposure/app' 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: Could not load type 'AFBE.titlebanner'.
Source Error:
Line 1: <%@ Control Language="vb" AutoEventWireup="false"
CodeBehind="titlebanner.ascx.vb" Inherits="AFBE.titlebanner" %>
Line 2: <table border="0" cellpadding="0" cellspacing="0" width="100%">
Line 3: <tr>
Source File: D:\WWWRoot\afbeorg\www\exposure\app\titlebanner.ascx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
The UserControl and the pages that use it are in the same directory. Here
are the lines I use to register and use the control in the *.aspx file (the
registration line is the first line in the *.aspx file, and it is used
immediately after the <form id="form1" runat="server"> tag):
<%@ Register TagPrefix="afbe" TagName="titlebanner" Src="titlebanner.ascx"
%>
<afbe:titlebanner id="titlebanner1" runat="server"></afbe:titlebanner>
The usercontrol itself is just an HTML table that contains 2 imagemaps. What
could be the problem? Thanks.
pages that use it:
Server Error in '/exposure/app' 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: Could not load type 'AFBE.titlebanner'.
Source Error:
Line 1: <%@ Control Language="vb" AutoEventWireup="false"
CodeBehind="titlebanner.ascx.vb" Inherits="AFBE.titlebanner" %>
Line 2: <table border="0" cellpadding="0" cellspacing="0" width="100%">
Line 3: <tr>
Source File: D:\WWWRoot\afbeorg\www\exposure\app\titlebanner.ascx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
The UserControl and the pages that use it are in the same directory. Here
are the lines I use to register and use the control in the *.aspx file (the
registration line is the first line in the *.aspx file, and it is used
immediately after the <form id="form1" runat="server"> tag):
<%@ Register TagPrefix="afbe" TagName="titlebanner" Src="titlebanner.ascx"
%>
<afbe:titlebanner id="titlebanner1" runat="server"></afbe:titlebanner>
The usercontrol itself is just an HTML table that contains 2 imagemaps. What
could be the problem? Thanks.