Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I'm getting the error below only after I upload my ASP.NET project to the web. I've been trying to resolve this issue for several days and I've found many solutions but non-fixed my problem. Has anybody here had any experience with this?

I'm Using VS2010 on a Windows 7 64bit system.

MSIL
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 'WebApplication3._Default'.

Source Error:


Line 1:  <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication3._Default" %>
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: /cm485a8/Default.aspx    Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
Posted
Updated 20-Nov-21 8:30am
Comments
Senthamizh Selvan S 17-Sep-13 4:56am    
in my case i not included it in my project, so i just include that file to my project now its working fine. right click that file click "Include In Project"

Have you compiled your project and deployed it?
Is there a "/bin" folder in the root of your web application?

If the answer to either of these is no then you haven't deployed the project correctly and you may want to read up on some of these articles.
 
Share this answer
 
Comments
Espen Harlinn 17-Mar-11 18:49pm    
Good points, my 5
 
Share this answer
 
Comments
Espen Harlinn 17-Mar-11 18:49pm    
Nice links, my 5
Go to properties of your web site and find Application name there and click create and then click ok

its works for my same problem.
 
Share this answer
 
change the codebehid to CodeFile
 
Share this answer
 
Comments
Pankil_Plus 19-Mar-14 15:21pm    
Best answer of this question

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