473,379 Members | 1,184 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Codefile not getting executed

I have a 1.1 asp.net project that has been converted by the conversion
wizard. By and large the app runs allright except for one page...

On one of the .aspx pages, the code behind file is not getting executed. It
looks identical to several of the other pages that are executing fine.

CodeFile="PageOne.aspx.vb" is specified in this page the same way it is
specified in the other pages that are working.

When running the page gets rendered but no code has been executed (at least
not the Page_Load event, or InitializeComponent)

-----------------------------------------------------------------------------
This issue previously received an "answer" asking if EventWireup was set to
true
and it certainly was not set true, of course, since that is not the default.

--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com
Dec 24 '05 #1
1 1366
Does it also have Inherits="ClassName" where ClassName is the name of the
class (possibly full name e.g also namespace) in that specific code file?

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"GaryDean" <Ga******@newsgroups.nospam> wrote in message
news:ug**************@TK2MSFTNGP09.phx.gbl...
I have a 1.1 asp.net project that has been converted by the conversion
wizard. By and large the app runs allright except for one page...

On one of the .aspx pages, the code behind file is not getting executed.
It
looks identical to several of the other pages that are executing fine.

CodeFile="PageOne.aspx.vb" is specified in this page the same way it is
specified in the other pages that are working.

When running the page gets rendered but no code has been executed (at
least
not the Page_Load event, or InitializeComponent)

-----------------------------------------------------------------------------
This issue previously received an "answer" asking if EventWireup was set
to true
and it certainly was not set true, of course, since that is not the
default.

--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com

Dec 26 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

80
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: ...
6
by: Jimmy | last post by:
Hi, Sorry for the complete newb question, but none of the 3 books I own on C# cover this. If I place say, 10 or 15 functions in a codefile, what's the best method to call these functions from...
6
by: nospamnntp | last post by:
Can anyone @ MS help us understand why this change was made? What value does it add? (It just seems like an unnecessary semantic change to me) Thanks!
2
by: Michael Tissington | last post by:
How do I specify the CodeFile for my Global.asax file ? According to the documentation I can use the CodeFile attribute with Application, however when I try to use this I get an error saying that...
5
by: WT | last post by:
Hello, In my Global.asax file, I have only an @ Application directive like <%@ Application Language="C#" Inherits="WT.Global" CodeFile="Global.asax.cs" %> Visual studio complains saying...
2
by: jobs | last post by:
stupid question which I once think I had the answer to I'm sure. I create webform page with no codebehind. I then decide I want to create a codebehind for it. How can I do it so that it...
3
by: wolverine | last post by:
Hi, I am injecting a javascript code into html pages and attaching some dom events to some elements via attachEvent (IE only). I just want to know that is there any chance by which my event...
1
by: IfThenElse | last post by:
Hi, None of my .aspx pages in a new ASP.NET 2.0 VS.NET2005 Solution/Project have CodeFile="" what does that mean? only have CodeBehind="" Any Idea?
3
by: Cirene | last post by:
Usually I like to have my vb code in a seperate file, rather than inline with the HTML. I know that the codefile directive is what links the 2 together. For some reason, all of a sudden my new...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.