Link to home
Start Free TrialLog in
Avatar of Clever_Bob
Clever_BobFlag for Australia

asked on

simple dotnet inheritance question

I'm sure this is something pretty basic and stupid that I don't have my head around.

This is just a hello world asp.net application that I've installed here on webhost4life's servers....

http://www.virtualknowledgemanagement.com/manager/

The error, obviously relates to this line in the code

Inherits="KnowledgeManager2012._Default"

Which is automatically generated so... I really don't get it.

Here is the error.

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 'KnowledgeManager2012._Default'.

Thanks!
Avatar of Kumaraswamy R
Kumaraswamy R
Flag of India image

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Knowledgemanager2012._Default" %>

change to

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="manager_Default" %>
Did you copy the bin folder as well with the DLL file?
Avatar of Clever_Bob

ASKER

@rkworlds: Thanks but I'm Not sure how that helps. It crashes in Dev then. It needs to match the namespace in the codebehind right? The name of the project and therefore the default name of the namespace and the Inherits tage is 'KnowledgeManager3'
@CodeCruiser yes I did. There are two files, the pdb and the .dll
ASKER CERTIFIED SOLUTION
Avatar of Clever_Bob
Clever_Bob
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
because its true!