Solved

simple dotnet inheritance question

Posted on 2012-04-12
6
226 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
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 …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

19 Experts available now in Live!

Get 1:1 Help Now