Solved

Website error: Could Not Load Type

Posted on 2008-10-25
2
387 Views
Last Modified: 2012-06-27
I've developed an ASP.NET website that runs fine on my local WinXP IIS and on my server's IIS, both are IIS6.0

The site uses a master page that has the following declaration:
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="HVOA.master.vb" Inherits="HVOAWebsite.HVOA" %>

The site will actually be hosted at an external hosting site, specifically GoDaddy.Com. So I moved the files to their site under a new virtual directory that, from what I can tell, has been defined as an application.

But when I try to run the site I get the following error:

Server Error in '/HVOAWebsite' Application.
--------------------------------------------------------------------------------
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 'HVOAWebsite.HVOA'.
Source Error:
Line 1:  <%@ Master Language="VB" AutoEventWireup="false" CodeBehind="HVOA.master.vb" Inherits="HVOAWebsite.HVOA" %>
Line 2:  
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /HVOAWebsite/HVOA.master    Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Can anyone tell me why this is happening. I've contacted GoDaddy's tech support and all they can tell me is that their hosting site is working fine so it must be a scripting error.

Thanks, Herb
0
Comment
Question by:stullhe104
2 Comments
 
LVL 26

Expert Comment

by:Anurag Thakur
Comment Utility
the error that you have posted does not help muh
can you please tell us from scratch how did you built and published your web sites
permissions on the folders etc etc...
0
 

Accepted Solution

by:
stullhe104 earned 0 total points
Comment Utility
I figured this one out. It was user error! My error.
Turns out that I neglected to upload the BIN directory to the hosting site. That's why it couldn't find the namespace defined in the master page declaration.

What a dumb ass!

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

17 Experts available now in Live!

Get 1:1 Help Now