CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 6/22/2006 2:39:42 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 47 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
zfowen
Asp.Net User
could not find codebehind files6/22/2006 2:39:42 AM

0/0

I published my web application project with the option "Only files needed to run this application", that is, just aspx files were included in the virtual directory of iis, not codebehind files.

But when I run the application, I got a parser error:

Server Error in '/Common' 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: The file '/Common/Mec/Channel/ChannelList.aspx.cs' does not exist.

Source Error:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Mec/Default.master" CodeFile="ChannelList.aspx.cs" Inherits="Apecn.IPTV.Mec.Admin_ChannelList" %>
Line 2:  
Line 3:  <%@ Register Src="~/Controls/PagingBar.ascx" TagName="PagingBar" TagPrefix="IPTV" %>

Source File: /Common/Mec/Channel/ChannelList.aspx    Line: 1


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 

 The file ChannelList.aspx is in a subfolder named "Channel" of my project "Mec".

When I visit pages in the root folder of Mec, no error happened. but When I visit pages in a subfolder of Mec, the same error happened.

The project "Mec" is a nested subproject of project "Common"

 anyone could help me, thanks.
omar_k
Asp.Net User
Re: could not find codebehind files6/24/2006 8:38:29 PM

0/0

The file "ChannelList.aspx" is not in "Web Application" format, and is in the format used by "Websites".  My guess is you copied this file over from a Website project.  To convert it to Web Application format, you can right click on that file and select "Convert To Web Application".  You can tell if a page is in Web Application format by checking the following:

1) there is a code-behind attribute on page directive, and there is no codefile attribute

2) there is a designer.vb (or cs) file as well as the code-behind file

Hope this helps.

 


Omar Khan
Visual Web Developer Team
zfowen
Asp.Net User
Re: could not find codebehind files6/25/2006 4:05:33 AM

0/0

the file "ChannelList.aspx" is really in "Web Application" format, I created the whole project using web application project template.

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Programming with Managed Extensions for Microsoft Visual C++ .NET Authors: Richard Grimes, Pages: 450, Published: 2002
ASP.NET Kick Start: Kick Start Authors: Stephen Walther, Pages: 624, Published: 2002
OOP: Building Reusable Components with Microsoft Visual Basic . NET Authors: Ken Spencer, Tom Eberhard, John Alexander, Pages: 500, Published: 2002
Special Edition Using Visual Basic .Net Authors: Brian Siler, Jeff Spotts, Safari Tech Books Online, Pages: 830, Published: 2002
Developing Killer Web Apps with Dreamweaver MX and C# Authors: Chuck White, Pages: 409, Published: 2004
Beginning ASP.NET 1.0 with Visual Basic.NET: With Visual Basic .NET Authors: Chris Goode, John Kauffman, Rob Birdwell, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Ollie Cornes, Dave Sussman, Matt Butler, Gary Johnson, Chris Ullman, Ajoy Krishnamoorthy, Juan T. Llibre, Pages: 816, Published: 2002
Programming .NET Web Services: web services Authors: Alex Ferrara, Matthew MacDonald, Pages: 396, Published: 2002
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006
Professional WPF Programming: .NET Development with the Windows Presentation Foundation Authors: Chris Andrade, Shawn Livermore, Mike Meyers, Scott Van Vliet, Pages: 451, Published: 2007

Web:
could not find codebehind files - ASP.NET Forums could not find codebehind files. Last post 06-25-2006 12:05 AM by zfowen. 2 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
could not find codebehind files - ASP.NET Forums Re: could not find codebehind files. 06-24-2006, 4:38 PM. Contact ... Re: could not find codebehind files. 06-25-2006, 12:05 AM. Contact ...
Codebehind Files in ASP.NET MVC are Evil : Steve Smith's Blog Today, codebehind files are useful if you want to have a strongly typed View. .... This is not something I could do in the controller right? ...
Could not load file or assembly 'EPiServer.CodeBehind on build Could not load file or assembly 'EPiServer.CodeBehind on build ... since the site cant find them in episerversample.dll i cant refereence them could someone ...
MJJames - Web Developer: So What is it Code Behind or Code File?? Feb 19, 2008 ... .Net 2 assumes that the codebehind file is a full class, not a partial class. ... LinqDataSource and Could not find a row that match. ...
Using ASP.NET 2.0 Code Behind Files in SharePoint v3 Sites Could not load the assembly 'Version=1.0.0.0, Culture=neutral, ..... In that download you'll find a file (with an associated code behind) that is using the ...
ASP.Net file cannot find class from Codebehind file - DevX.com Forums Net file cannot find class from Codebehind file ASP.NET. ... Parser Error Message: Could not load type 'Furniture.home'. Source Error: ...
ASP 101 - Using ASP.NET Code-Behind Without Visual Studio.NET Parser Error Message: Could not load type 'WebForm2'. ... NET, Src (short for source) does and the code-behind file will compile on the fly just like the ...
new asp.net project - codebehind class file missing The class file "WebForm1.aspx.cs" specified as the codebehin for "WebForm1.aspx" could not be loaded. Make sure that the codebehind ...
codeBehind Could not find any attribute 'NAME' of element 'Hyperlink' - This one makes me ... is not declared --> These types of errors show up in my codeBehind files, ...

Videos:
Zero Configuration networking with Bonjour Google TechTalks November 2, 2005 Dr. Stuart Cheshire, Apple Computer http://www.stuartcheshire.org/ ABSTRACT The desirability of making IP networ...




Search This Site:










multi-portal site

smartmodule and vs2005

aspnet db security concerns

new apps or new module

genericprincipal object and security

how to run web site administration tool in run time

assistance with images in module

treeview bug?

master page & content pages (urgent)

daab - performace issues..

linkclick.aspx after upgrading to dnn 3.3.0

how can i increase the max char length from 150?

confusing file structure

security in specific directories problem

using forms authentication with active directory in asp.net 2.0

trouble uploading skin file

signature of the body and declaration in a method implementation do not match...

data source error message: "object reference not set to an instance of an object"

asp:menu and mozilla

formatting of hyperlinks

manually adding module from 3.0.13 to 3.1: new fields..

windows security problem

profiles/membership/roles

dnn gallery module probs

login trouble after publishing

menu buttons on a master page...

pdc session prs418 demo code

australian locale

time picker for dnn ?

ternary operator + string concatenation

 
All Times Are GMT