Click here to Skip to main content
11,629,614 members (74,437 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET
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" "">

Source File: /Login.aspx Line: 1

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

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
surajemo at 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 at 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'd be surprised how many people don't!)
surajemo at 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 at 20-Apr-13 5:40am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS

Advertise | Privacy | Mobile
Web02 | 2.8.150723.1 | Last Updated 20 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100