Server Error in '/PrecompiledWeb4' 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: Could not load the assembly 'App_Web_caknetlg'. Make sure that it is compiled before accessing the page.

Source Error:

Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Default2, App_Web_caknetlg" %>
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: F:\9july\project\Solution\PrecompiledWeb4\WebUI\index.aspx Line: 1

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032


code

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Track and Field Portal</title>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
<script language="javascript" type="text/javascript">

function DIV1_onclick() {

}


</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div class="wrap">
		<div class="header">
				<div class="track"> <img src="images/logo.gif" alt="Athletics-Track and field portal" />
					<div class="menu">
						<ul>
							<li class="first"><a href="index.aspx">Home</a></li>
							<li><a href="rankings.aspx">Rakings</a></li>
							<li><a href="meetResults.aspx">Meet Result</a></li>
							<li><a href="schedules.aspx">Schedule</a></li>
							<li><a href="LatestMeetResult.aspx">Meets</a></li>
							<li><a href="Performance.aspx">Performance</a></li>
						</ul>
					
					</div>
				</div>			
		</div>
		<!--Start Content Area-->
		<div class="clear"></div>
			
			<div class="box-1  span2-2" style="width: 456px; height: 144px">
				<h2>
                    Welcome</h2>
				<p><span><span style="font-size: 8pt; color: #0000ff">Welcome to the website of Track
                        and Field</span></span></p>       
                <p>
                    <span><span style="font-size: 8pt; color: #0000ff"></span></span>The goal of the website is ambitious. It maintains a permanent record of meet performances. &nbsp;&nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="AboutUS.aspx">More &gt;&gt;</a>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    &nbsp; &nbsp; &nbsp; &nbsp;
                </p>
			</div>
			
			
			<div class="box-1  span2-2" style="width: 440px; height: 144px">
				<h2>
                    Login and Register</h2>
                    
                    <table>
                        <tr>
                            <td style="width: 135px; height: 19px">
                                User Name</td>
                            <td style="width: 167px; height: 19px">
                                Password</td>
                        </tr>
                        <tr>
                            <td style="width: 135px; height: 26px;">
                                <input id="userName" type="text" runat="server"/></td>
                            <td style="width: 167px; height: 26px;">
                                <input id="password" type="password" runat="server" /></td>
                        </tr>
                        
                        
                        
                    </table>
                    
				 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                <input id="Button1" style="width: 96px; height: 24px;" type="button" value="Sign up" runat="server" onserverclick="Button1_ServerClick"  /><a href="emailid.aspx"></a>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href= "Register.aspx">Register Now</a> <br />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="emailid.aspx">forgot password</a></div>
			
			<div class="clear"></div>
			<div class="box-1  span2-1" style="width: 288px; height: 250px">
				<h2>Latest Meet Result</h2>
				
                    <asp:GridView ID="UserList" runat="server" Width="280px" CellPadding="4" ForeColor="#333333" GridLines="None" OnPageIndexChanging="UserList_PageIndexChanging" AllowPaging="True" >
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#EFF3FB" />
                                <EditRowStyle BackColor="#2461BF" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
</asp:GridView> <br />
			</div>
			
			<div class="box-1  span2-2" style="width: 304px; height: 250px">
				<h2>Upcoming Meet</h2>
								<asp:GridView ID="GridView1" runat="server" Width="280px" CellPadding="4" ForeColor="#333333" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging" AllowPaging="True" >
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#EFF3FB" />
                                <EditRowStyle BackColor="#2461BF" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
                           </asp:GridView>
                    <br />
			</div>
			
			<div class="box-1  span2-2" style="height: 250px; width: 328px;" id="DIV1" onclick="return DIV1_onclick()">
				<h2>Comment wall</h2>
				<asp:GridView ID="GridView2" runat="server"  CellPadding="4" ForeColor="#333333" GridLines="None"  OnPageIndexChanging="GridView2_PageIndexChanging" AllowPaging="True" Width="264px" >
                                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#EFF3FB" />
                                <EditRowStyle BackColor="#2461BF" />
                                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="White" />
                           </asp:GridView><br />
				</div>
			
			<div class="box-1  span3-2" style="height: 248px; width: 256px;">
				<h2>Image Gallary</h2>
				
			                <br /><object 
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0"
 width="250" height="140">
                                        <param name="MOVIE" 
value="/athletics/Images/Photos/gallery.swf"/>
                                        <param name="PLAY" value="true"/>
                                        <param name="LOOP" value="true"/>
                                        <param name="QUALITY" 
value="high"/>
                                        <param name="SCALE" 
value="noborder"/>
                                        <embed 
src="index.cfm_files/gallery.swf" loop="true" play="true" quality="high"
 scale="noborder" 
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
 width="250" height="140"> 
                                        
                                    </object>
			
			
			</div>
			
			<div class="box-1  span3-3" style="width: 424px; height: 272px">
				<h2>Top  10 Performers</h2><div>
                    &nbsp;<table>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Label ID="cyear" runat="server" Text=""></asp:Label>
                                Top 10
                                <asp:Label ID="eventnme" runat="server" Text=""></asp:Label>&nbsp;&nbsp;selectEvent:</td>
                            <td>
                            <table style="width: 152px">
                                    <tr>
                                        <td style="width: 38px; height: 24px;">
                                            <select id="eventname" runat="server">
                                                <option selected="selected"></option>
                                            </select></td>
                                        <td style="width: 6px; height: 24px">
                                            &nbsp;<input id="show" type="button" value="show" runat="server" onserverclick="show_ServerClick" /></td>
                                        <td style="width: 6px; height: 24px;">
                                            &nbsp;</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
				<asp:GridView ID="GridView3" runat="server"  CellPadding="4" ForeColor="#333333" GridLines="None"  OnPageIndexChanging="GridView3_PageIndexChanging" AllowPaging="True"  Height="32px" PageSize="5" OnSelectedIndexChanged="GridView3_SelectedIndexChanged" >
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EFF3FB" />
                    <EditRowStyle BackColor="#2461BF" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
				</asp:GridView> 
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                    &nbsp;
                </div>
				<center>
                    &nbsp;</center>
					</div>
			
			<div class="clear">
                &nbsp;</div>
		</div>
		<!--End Content Area-->
		<div class="footer">
			<ul><li class="first"><a href="">Contact Us</a></li><li><a href="">About Us</a></li><li><a href="">Admin Control</a></li></ul>
			<div class="clear"></div>
			Copy right @ 2010. All Rights Reserved.
		</div>
	
    </div> 
			
			
			
			
			
			
			
			
    </form>
    
</body>
</html>

Note
as the Default2 is not neccesary i delete it.what can i do for recovering this error
plz help me:)

Lusiphur commented: Use unique and descriptive titles (amongst other things) +0

If you no longer have a Default2 file then simply change

<%@ page language="C#" autoeventwireup="true" inherits="Default2, App_Web_caknetlg" %>

to this

<%@ page language="C#" autoeventwireup="true" %>

Particularly as the compiler is saying it can't find 'App_Web_caknetlg' either.

For future reference, please name your threads accordingly. Not every simgle thread that you write needs to be named "asp.net" as that tells us nothing about your specific problem.

ASP.Net is very easy language to learn. You can easily make website in ASP.Net. In the ASP.Net you can write code in vb or c#. It is good programming language.

commented: Please do not clutter threads with absolutely useless comments like this. -2

Hi

ASP.NET is the next generation ASP, but it's not an upgraded version of ASP. ASP.NET is an entirely new technology for server-side scripting.

ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating dynamic and interactive web pages.

For more detail just go for this below link.

http://www.w3schools.com/aspnet/default.asp

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.