Click here to Skip to main content
16,017,650 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
XML
<%@ Page Language="C#" MasterPageFile="~/loanmaster.master" CodeFile="LoanRegister/loanlogin.aspx.cs" Inherits="loanlogin" %>

<pre lang="xml">Server Error in &#39;/Loan Register&#39; 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: The file &#39;/Loan Register/LoanRegister/loanlogin.aspx.cs&#39; does not exist.

Source Error:


Line 1:  &lt;%@ Page Language=&quot;C#&quot; MasterPageFile=&quot;~/loanmaster.master&quot; CodeFile=&quot;LoanRegister/loanlogin.aspx.cs&quot; Inherits=&quot;loanlogin&quot; %&gt;
Line 2:
Line 3:</pre>
Posted
Comments
Sergey Alexandrovich Kryukov 20-Sep-13 11:44am    
If this the compilation error in C#, where is your C# code behind?
—SA

The error message is pretty explicit: "The file '/Loan Register/LoanRegister/loanlogin.aspx.cs' does not exist."

Find the file, and either move it to the specified location, or change the location!
 
Share this answer
 
Try changing Codefile to codebehind in your aspx page as well as the masterpage
 
Share this answer
 
Comments
Richard C Bishop 20-Sep-13 15:00pm    
CodeFile is the correct syntax.

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