Solved

simple dotnet inheritance question

Posted on 2012-04-12
6
236 Views
Last Modified: 2012-04-20
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!
0
Comment
Question by:Clever_Bob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 37841207
<%@ 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" %>
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 37842083
Did you copy the bin folder as well with the DLL file?
0
 
LVL 7

Author Comment

by:Clever_Bob
ID: 37845408
@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'
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 7

Author Comment

by:Clever_Bob
ID: 37845409
@CodeCruiser yes I did. There are two files, the pdb and the .dll
0
 
LVL 7

Accepted Solution

by:
Clever_Bob earned 0 total points
ID: 37849518
Bin Folder needs to be in the top level directory on this server.
0
 
LVL 7

Author Closing Comment

by:Clever_Bob
ID: 37869830
because its true!
0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question