Click here to Skip to main content
15,914,594 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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: The 'CodeFile' attribute cannot be used without an 'Inherits' attribute.

Source Error: 



Line 1:  <%@ Page Language="vb" AutoEventWireup="false" Inherit="finalyrproj.login1" CodeFile="login.aspx.vb"  %>
Line 2:  
Line 3:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


What I have tried:

i have post the error and coding here
Posted
Updated 27-Jan-20 16:48pm

1 solution

I think your missing s from the Inherits. See
ASP.NET
<%@ Page Language="vb" AutoEventWireup="false" Inherit="finalyrproj.login1" CodeFile="login.aspx.vb"  %>

compared to
ASP.NET
<%@ Page Language="vb" AutoEventWireup="false" Inherits="finalyrproj.login1" CodeFile="login.aspx.vb"  %>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900