Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parser error on ASP.NET page

Status
Not open for further replies.

me1258

Programmer
Dec 28, 2003
8
US
I am using ASP.NET 1.1
I am new to ASP so please be patient with me.
I am trying to get a simple ASP project working
it is simply 1 page with "HI" on it.
I create an ASP.NET Web app in VB.NET
I build it and save it and it works fine on my machine
I ftp ALL The files...yes including the BIN file with teh dll
...up to my commercialy provided web space.
here is the Error I get when I try to run it.
not as a side note if I go to the home directory I can click on webform1.aspx and it works fine but if I try to open it by typing in the address here is what I get.
**********************************

Server Error in '/' 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 'ASPTest6.WebForm1'.

Source Error:

Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="ASPTest6.WebForm1"%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>


Source File: e:\kunden\homepages\28\d155136641\asp1\webform1.aspx Line: 1

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
 
me1258: Try

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="ASPTest6"%>

Assuming ASPTest6 is the Class name in the Codebehind page.
 
I got it I moved my BIN folder up one level and it works fine
thanks
 
ok me1258 - sounds good, that means your initial reference was just fine - in my codebehind I had strictly the Class name alone - thanks for posting back on that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top