Parsing Error

Discussion in 'ASP.NET 2.0' started by JHaynes, Jul 31, 2005.

  1. 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
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. rename the file extension to .htm instead of .aspx
     

Share This Page