please can any one clear my error?

Posted by Tejamanimala under ASP.NET on 3/14/2013 | Points: 10 | Views : 941 | Status : [Member] | Replies : 16
I am working on "Online Examination" Project,when i am executing my project am getting the following error...
Server Error in '/' 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 type 'OES.Global'.


Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="OES.Global" Language="C#" %>

Source File: /global.asax Line: 1


I was check in global,but i didn't identify what is that error,can any one tell me how to clear it?

manimala


Responses

Posted by: Jayakumars on: 3/14/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

post snapshot or rebuilt try again

Mark as Answer if its helpful to you

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tejamanimala on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
sorry jatakumars, i didn't understand,what you are asking?

manimala

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/14/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

Rebuilt and run your project or post Your error with snapshot here.

Mark as Answer if its helpful to you

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Somu475 on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Manimala,

Have you renamed any page name after adding..?? If so, Clean the solution, Rebuild and Run it.
Even after that also if you are getting same error, then close the solution and reopen and try again.

-Somu

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tejamanimala on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Hi somu,
yes, i renamed all pages,and clean solution means,in solution explorer only na,i mean right click on project name,then click on clean ha?if is this right process,i did it,and again am getting the same error.

manimala

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Somu475 on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Manimala,

After renaming page names this error is most expected one. Try again..
Better close the application and reopen.

-Somu

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Somu475 on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Add new pages and check

-Somu

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tejamanimala on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
I did it,but it doesn't working,and i have doubt,i.e,if my project having any error ,i mean in any one of the page having error,then also it shows this error ha?

manimala

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tejamanimala on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
i have added the new page,but its not working

manimala

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Somu475 on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Then its better to create a new project and add pages with proper names.
Then you can simply copy the codes from this project to new one.

-Somu

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tejamanimala on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
oh ok,i will try it.Thank you for your suggestions.
I have another problem,that is,i have one page which is containing hyperlinks,but when i am executing this page,hyperlinks are jumped to another place,means which place i provided for hyper links they are not there,when am executing.what should i do?


manimala

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/14/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

post your code.

Mark as Answer if its helpful to you

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Somu475 on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Post your design page code..

-Somu

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tejamanimala on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminHome.aspx.cs" Inherits="newonlineexam.AdminHome" %>

<!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></title>
<style type="text/css">

.style3
{
font-size: xx-large;
color: #006666;
}
.style1
{
font-size: xx-large;
color: #003300;
}
.style4
{
width: 70%;
}
.style6
{
height: 35px;
width: 174px;
}
</style>
</head>
<body style="height: 218px">
<form id="form2" runat="server"
style="background-image: url('/pictures/bg18.jpg'); height: 207px;">
<div style="height: 200px; background-image: url('/pictures/im2.jpg'); width: 1278px;">
&nbsp;<asp:Image ID="Image3" runat="server" Height="94px"
ImageUrl="~/pictures/ektha_01.gif" Width="183px" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em><span class="style3"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exam Administrator</strong></span></em><br />
<asp:ImageMap ID="ImageMap2" runat="server" ImageUrl="~/pictures/images (17).jpg" style="z-index: 1; left: 1026px; top: 19px; position: absolute; width: 259px; height: 190px">


</asp:ImageMap>
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<table class="style4">
<tr>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style6">
</td>
</tr>
</table>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<em><span class="style1">&nbsp;&nbsp; </span><br class="style1" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</em>
<br />
<asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="#0099CC" NavigateUrl="~/Home.aspx"

style="z-index: 1; left: 60px; top: 180px; position: absolute; width: 55px; bottom: 585px; right: 864px;">Home</asp:HyperLink>

<asp:HyperLink ID="HyperLink2" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="#0099CC" NavigateUrl="~/StudentDetailsAdmin.aspx"

style="z-index: 1; top: 180px; position: absolute; width: 126px; right: 644px; left: 199px;">Student Details</asp:HyperLink>

<asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="#0099CC" NavigateUrl="~/ExamDetailsAdmin.aspx"

style="z-index: 1; left: 401px; top: 180px; position: absolute; width: 107px; height: 23px; right: 471px;">Exam Details</asp:HyperLink>


<asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="#0099CC" NavigateUrl="~/InstructorDetailsAdmin.aspx"

style="z-index: 1; top: 180px; position: absolute; width: 141px; height: 23px; right: 265px;">Instructor Details</asp:HyperLink>



<asp:HyperLink ID="HyperLink5" runat="server" style="z-index: 1; left: 784px; top: 180px; position: absolute"
NavigateUrl="~/Home.aspx" Font-Bold="True" ForeColor="#0099CC">Log Out</asp:HyperLink>

</div>
</form>


</body>
</html>
























manimala

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kusumas on: 3/14/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,

Just Clean the solution and Rebuild the solution boz when the Rebuild time old Dlls deleted and again create new Dlls.

Thanks,

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 3/14/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

working this code . recreate new project or clean solution attached ur project

Mark as Answer if its helpful to you

Tejamanimala, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response