• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

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....


The error, obviously relates to this line in the code


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

  • 4
1 Solution
Kumaraswamy RCommented:
<%@ 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?
Clever_BobAuthor Commented:
@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'
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Clever_BobAuthor Commented:
@CodeCruiser yes I did. There are two files, the pdb and the .dll
Clever_BobAuthor Commented:
Bin Folder needs to be in the top level directory on this server.
Clever_BobAuthor Commented:
because its true!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now