Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Website error: Could Not Load Type

Posted on 2008-10-25
2
Medium Priority
?
397 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
[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
2 Comments
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 22803501
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
ID: 22803828
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

688 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