Click here to Skip to main content
15,886,012 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am getting this error whenever i am runing the application can someone please provide me with some solution


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 'Login'.

Source Error:


Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Login.aspx.vb" Inherits="Login"%>
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: /Login.aspx Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.3625; ASP.NET Version:2.0.50727.3634
Posted
Updated 19-Apr-13 22:13pm
v3

1 solution

Check your Login.aspx.vb file - does it contain the Login class, inherited from System.Web.UI.Page, and does it compile cleanly?

It is possible that you have edited the file and it no longer does.
 
Share this answer
 
Comments
surajemo 20-Apr-13 4:23am    
yes it contains the login class and it is inherited from System.web.ui.Page andit compiles cleanly
Partial Class Login
Inherits System.Web.UI.Page
OriginalGriff 20-Apr-13 4:39am    
And it's in the same folder as the Login.aspx file?
And both are on the webserver? (Yes, yes, I know, but check anyway...you'd be surprised how many people don't!)
surajemo 20-Apr-13 5:09am    
OriginalGriff thanks for replying i resolved it the problem was due to App_Code it was named old_App_Code in solution so i renamed it to App_Code its working now
OriginalGriff 20-Apr-13 5:40am    
:thumbsup:

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