Click here to Skip to main content
Rate this: bad
good
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" "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 19-Apr-13 23:00pm
surajemo1.4K
Edited 19-Apr-13 23:13pm
v3

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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 anyway...you'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
   
:thumbsup:

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

  Print Answers RSS
0 OriginalGriff 562
1 Sergey Alexandrovich Kryukov 484
2 Maciej Los 325
3 DamithSL 233
4 Mathew Soji 195
0 OriginalGriff 7,168
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,461
3 Manas Bhardwaj 4,876
4 Maciej Los 4,450


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 20 Apr 2013
Copyright © CodeProject, 1999-2014
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