473,394 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Website error: Could Not Load Type

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
3 6255
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Piz | last post by:
Hi all! Here's my problem. I'm developing a website. That site works well, but i get a strange error after publishing it. I'm working with Visual Studio 2005 and 2.0 .NET Framework. The error...
1
by: sangitaraj | last post by:
Hello, I have created a website in ASP.net 2.0 and published it on the webserver. The following error message is displayed. Compiler Error Message: CS0246: The type or namespace name...
4
by: andrewcw | last post by:
I am moving some code forward from .NET 1.1. I was able to load the XSL file and perform the transform. The MSDN documentation looks like it should be easy. But I get a compile error. Ideas ?...
2
by: Anthony Bollinger | last post by:
I am taking over an existing fully functional website without source code. Because of the .aspx file extensions and the age of the files, I assume it must be ASP.NET 1.0 or 1.1. I have made...
1
by: PP | last post by:
Hi I have a .NET Website (v2, FileMode) that calls a .NET DLL to load an Assembly (all .NET), which works most of the time. The problem is that when I call this method to load the WebSite...
5
by: Dariusz Tomon | last post by:
Hello I have no idea how to deploy my website to another server (in virtual folder I cannot see dlls file). Is thate any simple and quick manner to deploy web site to another servers? Best...
2
by: contractsup | last post by:
Environment: $ uname -a AIX <withheld2 5 000100614C00 $ db2level DB21085I Instance "<withheld>" uses "32" bits and DB2 code release "SQL08024" with level identifier "03050106"....
3
by: Aaron | last post by:
I'm trying to parse a table on a webpage to pull down some data I need. The page is based off of information entered into a form. when you submit the data from the form it displays a...
4
by: Tony M | last post by:
I'm trying copy asp .net pages from one website (where it works fine) to another. CusAdd.aspx.vb and CusAdd.aspx I tried to just copy it and also tried to "Add Existing Item" When I try to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.