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 '/iis/hcc/UserRegistration.aspx.cs' does not exist.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserRegistration.aspx.cs" Inherits="UILayer._Default" %> Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
That error is pretty straightforward. It tells you that the file userregistration.aspx is missing it's codebehind file userregistration.aspx.cs in order to work properly.
Can you verify that the file does exist and is accessible?
yeah i added the code behind file userregistration.aspx.cs page
now giving error
Compiler Error Message: CS0246: The type or namespace name 'PropertiesLayer' could not be found (are you missing a using directive or an assembly reference?)
madduriaravi...
Member
1 Points
24 Posts
Regrading parser error
Jan 26, 2013 04:12 PM|LINK
Error 1:-<authentication mode="Windows"/>
Then changed to mode="none", it did not worked. so, i commented the above line, the problem is solve.
pls give explaions abount error 1
Error 2:- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserRegistration.aspx.cs" Inherits="UILayer._Default" %>
Then i changed the codebehind to codefile . the problem is solved. after sometime publishing the same webpage giving the error in this manner
Error 3:-<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserRegistration.aspx.cs" Inherits="UILayer._Default" %>
now what is should to overcome this error and pls explaination why this error are arising.
Thanks
dahla
Participant
1816 Points
369 Posts
Re: Regrading parser error
Jan 26, 2013 11:01 PM|LINK
What are the error messages that you are receiving based on those lines? Based on those lines alone, there is nothing individually wrong.
madduriaravi...
Member
1 Points
24 Posts
Re: Regrading parser error
Jan 27, 2013 01:23 AM|LINK
Look at this bro, this is the error am getting
Server Error in '/IIS' 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 '/iis/hcc/UserRegistration.aspx.cs' does not exist.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserRegistration.aspx.cs" Inherits="UILayer._Default" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Source File: /iis/hcc/userregistration.aspx Line: 1
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
dahla
Participant
1816 Points
369 Posts
Re: Regrading parser error
Jan 27, 2013 06:34 PM|LINK
That error is pretty straightforward. It tells you that the file userregistration.aspx is missing it's codebehind file userregistration.aspx.cs in order to work properly.
Can you verify that the file does exist and is accessible?
madduriaravi...
Member
1 Points
24 Posts
Re: Regrading parser error
Jan 28, 2013 04:55 AM|LINK
dahla ji, good morning
yeah i added the code behind file userregistration.aspx.cs page
now giving error
Compiler Error Message: CS0246: The type or namespace name 'PropertiesLayer' could not be found (are you missing a using directive or an assembly reference?)
geniusvishal
Star
13984 Points
2783 Posts
Re: Regrading parser error
Jan 28, 2013 06:05 AM|LINK
Still you are using CodeBehind.. Change it to Codefile in the page directive and then include the name of the codebehind file...
and
http://www.codeproject.com/Questions/318017/The-type-or-namespace-name-User-could-not-be-found
My Website
www.dotnetvishal.com
madduriaravi...
Member
1 Points
24 Posts
Re: Regrading parser error
Jan 30, 2013 11:27 AM|LINK
Thnaks you vishal.
the mistake is did is i did not converted the folder in iss into web application so all error rised. Now its working good.