Home All Groups Group Topic Archive Search About

Codefile not getting executed

Author
24 Dec 2005 1:39 AM
GaryDean
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

Author
26 Dec 2005 4:43 PM
Teemu Keiski
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


Show quoteHide quote
"GaryDean" <GaryDean@newsgroups.nospam> wrote in message
news:ugqhZrCCGHA.1288@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
>

Bookmark and Share