PDA

View Full Version : Parsing Error


JHaynes
07-31-2005, 03:50 AM
Line 1: <!-- <%@ Page Language='C#' autoeventwireup='true' codefile='index.aspx.cs' Inherits='_Default'%> -->
Parser Error Message: Could not load type '_Default'.

Well, I have comments around Line 1 because I just want to set up the XHTML part of my page first since I'm learing how to use that. Anyways, I commented this line out and it still reads this line? Why is that? I don't have my code behind or web.config file on the server yet as I think it isn't necessary for straight XHTML coding. Any help would be appriciated.

Thanks,
Joshua Haynes

bruce
08-01-2005, 06:29 AM
have you tried removing the line?

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

unborracho
08-03-2005, 02:53 AM
rename the file extension to .htm instead of .aspx