Solved

simple dotnet inheritance question

Posted on 2012-04-12
6
225 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
  • 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now