By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 2,004 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

Website error: Could Not Load Type

P: n/a
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
--
stullhe104
Oct 25 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I'm going to assume that you have compiled and uploaded the *.dll. I would
try deleting the *.dll (from both your local machine and the servers),
recompiling it, and then uploading it again. Your posted code looks correct,
but I'm sure that you know that the line it gives you in the error is not
always the line that needs fixed. I would take a look at your HVOA.master.vb
file and make sure it doesn't have any errors (especially in the class
declaration). Also, take a look at the errors tab in Visual Studio,
sometimes even an error in another page or class can prevent another from
compiling correctly, but still compiles.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Herb" <st********@newsgroup.nospamwrote in message
news:1D**********************************@microsof t.com...
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
--
stullhe104

Oct 26 '08 #2

P: n/a
Hi Herb,

Firstly, please try to use CodeFile instead of CodeBehind to see if it
works. See the following post:
http://forums.asp.net/p/1256324/2345267.aspx
Secondly, if it still doesn't work please contact the GoDaddy's tech
support to get the version of the ASP.NET on server side. Besides, please
ask them to give you a confirmation that your web site has been configured
as an application in IIS.

Please let me know if you made any progress on this issue. I'll follow up.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/...tance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Thread-Topic: Website error: Could Not Load Type
| thread-index: Ack2qvNtCVWo2DGhT0ezL6rpATXQrg==
| X-WBNR-Posting-Host: 65.55.12.11
| From: =?Utf-8?B?SGVyYg==?= <st********@newsgroup.nospam>
| Subject: Website error: Could Not Load Type
| Date: Sat, 25 Oct 2008 07:07:01 -0700
| Lines: 39
| Message-ID: <1D**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3168
| Newsgroups: microsoft.public.dotnet.languages.vb
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.dotnet.languages.vb:52816
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| 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
| --
| stullhe104
|

Oct 27 '08 #3

P: n/a
Hi Herb,

Do you have any progress on this issue?

Regards,
Allen Chen
Microsoft Online Support
--------------------
| Thread-Topic: Website error: Could Not Load Type
| thread-index: Ack2qvNtCVWo2DGhT0ezL6rpATXQrg==
| X-WBNR-Posting-Host: 65.55.12.11
| From: =?Utf-8?B?SGVyYg==?= <st********@newsgroup.nospam>
| Subject: Website error: Could Not Load Type
| Date: Sat, 25 Oct 2008 07:07:01 -0700
| Lines: 39
| Message-ID: <1D**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3168
| Newsgroups: microsoft.public.dotnet.languages.vb
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl microsoft.public.dotnet.languages.vb:52816
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| 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
| --
| stullhe104
|

Oct 30 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.