473,395 Members | 1,968 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,395 software developers and data experts.

Can't load type of one page - inherits statement correct!

I just started getting a strange error in my asp.net project. One page
is returning the parser error of cannot load type. I have checked and
re-checked the inherits statement = namespace.class name and
everything is fine. Other pages with code behind work fine, and are in
the same dll so I know it's using the correct dll. I have deleted and
rebuilt the dll, all to no avail.

Any ideas?

_Randal
Nov 18 '05 #1
2 2250
Randel,
From else where in your application can you create a new namespace.class
where as namespace.class is whatever value you have in

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="something.vb"
Inherits="namespace.class" %>

Does Intellisense recognize namespace.class?

Also don't forget that VS sometime renames classes with an underscore (i.e.
namespace._class)

"Randal Chapman" wrote:
I just started getting a strange error in my asp.net project. One page
is returning the parser error of cannot load type. I have checked and
re-checked the inherits statement = namespace.class name and
everything is fine. Other pages with code behind work fine, and are in
the same dll so I know it's using the correct dll. I have deleted and
rebuilt the dll, all to no avail.

Any ideas?

_Randal

Nov 18 '05 #2
"Todd Seiber" <To********@discussions.microsoft.com> wrote in message news:<45**********************************@microso ft.com>...
Randel,
From else where in your application can you create a new namespace.class
where as namespace.class is whatever value you have in

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="something.vb"
Inherits="namespace.class" %>

Does Intellisense recognize namespace.class?

Also don't forget that VS sometime renames classes with an underscore (i.e.
namespace._class)


The inherits statement is correct. I don't let VB create class names
for me, we have our own naming conventions. Also, the rest of the
application works - just this one page stopped working. It's driving
me nuts!

_Randal
Nov 18 '05 #3

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

Similar topics

2
by: | last post by:
Sorry, I mixed up the code- reposting with correct example now :) I'm trying to better understand the use of inheritance vs. the implementation of a handler. I wanted to ask this question to the...
1
by: WFB | last post by:
Hi, I have a base class from which all of my pages derive (ABCBasePage). For example, ABCCustomerSelect Inherits ABCPasePage. I would now like to have ABCPocketSelect which should inherit from...
1
by: Nigel Findlater | last post by:
I have been using Visual Studio 2003 to generate aspx and aspx.vb file. On my development platform they all work fine, but when I load them on the server I get the message: Parser Error...
0
by: dinesh | last post by:
On my application's first page, the codebehind statement is set as" <%@ Page language="vb" Codebehind="WebForm1.aspx.vb" AutoEventWireup="false"...
6
by: sylcheung | last post by:
Hi, How can I be notified when the document load is complet in JavaScript? I am referring to the whold document load is complete, mean all images/external files/frame/iframes have been loaded. ...
2
by: Ranginald | last post by:
Hi, I have two pages. Default.aspx ....Codefile="default.aspx.cs" Inherits="Web" %> and Sculpture.aspx
16
by: mj.redfox.mj | last post by:
Can anyone help? I have a textbox which I'm programatically adding by using the following code: txtTest = New TextBox txtTest.ID = "txtLeft" + cntCount.ToString...
6
by: =?Utf-8?B?SmF5IFBvbmR5?= | last post by:
I am trying to access a Public property on a Master Page from a Base Page. On the content pages I have the MasterType Directive set up as follows: <%@ MasterType virtualpath="~/Master.master" %>...
9
by: Matthew Wells | last post by:
OK, I've narrowed down the problem. This works when in the aspx page <script type="text/javascript" > function btnFirst_Click() { alert("Hello");...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.