Ask a Question related to ASP.NET General, Design and Development.
-
Ryan Folstad #1
ASP.net reproducible bug
I've seen a few posts from people wondering why OnInit fires multiple times
for one web form. I finally figured it out for my situation.
I tested this on both .net 1.1 and 1.0 both were able to reproduce.
Create a new c# web app. in WebApp1.aspx add the following html:
<table><tr><td background="#000000"></td></tr></table>
Place a Break in the Web designer generated OnInit.
Hit run..
OnInit will fire twice..
remove the background="#000000" and it will only fire once..
serious bug.. as the second time it fires the context is lost and the
request seems to be lost aswell..
Brilliant!
How would i go about reporting this to ms or getting a fix without using up
one of my msdn incidents?
R
Ryan Folstad Guest
-
#40747 [NEW]: Reproducible Crash
From: th at domainbox dot de Operating system: Debian Sarge PHP version: 4.4.6 PHP Bug Type: Reproducible crash Bug... -
reproducible browser crash in linux
Both mozilla 1.7.5 and firefox 1.0 on linux reproducibly crash when accessing this url: http://www.offroad-challenge.home.ro A backtrace seems... -
#24762 [Fbk->Csd]: Reproducible crash in error handling
ID: 24762 Updated by: sniper@php.net Reported By: skissane at ics dot mq dot edu dot au -Status: Feedback... -
Steve C. Orr, MCSD #2
Re: ASP.net reproducible bug
You're using the background attribute wrong.
The baground attribute is to specify a background image.
Use the BGColor attribute to specify the background color.
Here's more info:
[url]http://www.blooberry.com/indexdot/html/tagpages/b/body.htm[/url]
But I agree with you that it still shouldn't cause the page to load twice,
so there is a bug for you to fix and a bug for Microsoft to fix.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
Developer for Hire
"Ryan Folstad" <ryan@crmkb.net> wrote in message
news:%23DQWBRFYDHA.2444@tk2msftngp13.phx.gbl...times> I've seen a few posts from people wondering why OnInit fires multipleup> for one web form. I finally figured it out for my situation.
>
> I tested this on both .net 1.1 and 1.0 both were able to reproduce.
>
>
> Create a new c# web app. in WebApp1.aspx add the following html:
> <table><tr><td background="#000000"></td></tr></table>
>
> Place a Break in the Web designer generated OnInit.
>
> Hit run..
>
> OnInit will fire twice..
>
> remove the background="#000000" and it will only fire once..
>
> serious bug.. as the second time it fires the context is lost and the
> request seems to be lost aswell..
>
> Brilliant!
>
> How would i go about reporting this to ms or getting a fix without using> one of my msdn incidents?
>
> R
>
>
Steve C. Orr, MCSD Guest
-
Steve C. Orr, MCSD #3
Re: ASP.net reproducible bug
You might try sending an email to [email]mswish@microsoft.com[/email] using Visual Studio
..NET in the title.
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
Developer for Hire
"Ryan Folstad" <ryan@crmkb.net> wrote in message
news:OvmEvpFYDHA.1280@tk2msftngp13.phx.gbl...MSDN> Agreed its not how your supposed to use background but it does work.. the
> cel color changes in IE atleast.
>
> It was a real pain finding which line was causing it to load twice.. I
> basically had to remove each row in a huge table 1 by 1 to see which was
> causing the problem.
>
> Do you have a better method? Is there anyway to decipher the EventArgs to
> determine where/what caused a given load?
>
> Also how do i post a bug report to microsoft? I don't see anywhere ontwice,> to do that.
>
> R
>
> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> news:u2LgMaFYDHA.2020@TK2MSFTNGP10.phx.gbl...> > You're using the background attribute wrong.
> > The baground attribute is to specify a background image.
> > Use the BGColor attribute to specify the background color.
> > Here's more info:
> > [url]http://www.blooberry.com/indexdot/html/tagpages/b/body.htm[/url]
> >
> > But I agree with you that it still shouldn't cause the page to loadusing> > so there is a bug for you to fix and a bug for Microsoft to fix.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> > Developer for Hire
> >
> >
> >
> > "Ryan Folstad" <ryan@crmkb.net> wrote in message
> > news:%23DQWBRFYDHA.2444@tk2msftngp13.phx.gbl...> > times> > > I've seen a few posts from people wondering why OnInit fires multiple> > > for one web form. I finally figured it out for my situation.
> > >
> > > I tested this on both .net 1.1 and 1.0 both were able to reproduce.
> > >
> > >
> > > Create a new c# web app. in WebApp1.aspx add the following html:
> > > <table><tr><td background="#000000"></td></tr></table>
> > >
> > > Place a Break in the Web designer generated OnInit.
> > >
> > > Hit run..
> > >
> > > OnInit will fire twice..
> > >
> > > remove the background="#000000" and it will only fire once..
> > >
> > > serious bug.. as the second time it fires the context is lost and the
> > > request seems to be lost aswell..
> > >
> > > Brilliant!
> > >
> > > How would i go about reporting this to ms or getting a fix without>> > up> >> > > one of my msdn incidents?
> > >
> > > R
> > >
> > >
> >
>
Steve C. Orr, MCSD Guest
-
MS News \(MS ILM\) #4
Re: ASP.net reproducible bug
Microsoft will get this Bug Report very soon.
I am sure someone in this group will bubble this bug up the ladder.
"Ryan Folstad" <ryan@crmkb.net> wrote in message
news:OvmEvpFYDHA.1280@tk2msftngp13.phx.gbl...MSDN> Agreed its not how your supposed to use background but it does work.. the
> cel color changes in IE atleast.
>
> It was a real pain finding which line was causing it to load twice.. I
> basically had to remove each row in a huge table 1 by 1 to see which was
> causing the problem.
>
> Do you have a better method? Is there anyway to decipher the EventArgs to
> determine where/what caused a given load?
>
> Also how do i post a bug report to microsoft? I don't see anywhere ontwice,> to do that.
>
> R
>
> "Steve C. Orr, MCSD" <Steve@Orr.net> wrote in message
> news:u2LgMaFYDHA.2020@TK2MSFTNGP10.phx.gbl...> > You're using the background attribute wrong.
> > The baground attribute is to specify a background image.
> > Use the BGColor attribute to specify the background color.
> > Here's more info:
> > [url]http://www.blooberry.com/indexdot/html/tagpages/b/body.htm[/url]
> >
> > But I agree with you that it still shouldn't cause the page to loadusing> > so there is a bug for you to fix and a bug for Microsoft to fix.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD
> > [url]http://Steve.Orr.net[/url]
> > Developer for Hire
> >
> >
> >
> > "Ryan Folstad" <ryan@crmkb.net> wrote in message
> > news:%23DQWBRFYDHA.2444@tk2msftngp13.phx.gbl...> > times> > > I've seen a few posts from people wondering why OnInit fires multiple> > > for one web form. I finally figured it out for my situation.
> > >
> > > I tested this on both .net 1.1 and 1.0 both were able to reproduce.
> > >
> > >
> > > Create a new c# web app. in WebApp1.aspx add the following html:
> > > <table><tr><td background="#000000"></td></tr></table>
> > >
> > > Place a Break in the Web designer generated OnInit.
> > >
> > > Hit run..
> > >
> > > OnInit will fire twice..
> > >
> > > remove the background="#000000" and it will only fire once..
> > >
> > > serious bug.. as the second time it fires the context is lost and the
> > > request seems to be lost aswell..
> > >
> > > Brilliant!
> > >
> > > How would i go about reporting this to ms or getting a fix without>> > up> >> > > one of my msdn incidents?
> > >
> > > R
> > >
> > >
> >
>
MS News \(MS ILM\) Guest
-
Ryan Folstad #5
Re: ASP.net reproducible bug
I was only able to reproduce using:
Response.Redirect or link (<a href>)
If you use Server.Transfer to load the page its not reproducible. This is
what was really giving me a hard time tracking it down!
Hope this helps,
Ryan
"MS News (MS ILM)" <sql_agentman@hotmail.com> wrote in message
news:#8nQsvFYDHA.2256@TK2MSFTNGP10.phx.gbl...
Ryan,
I was only able to reproduce this bug only on postback in Both C# and VB.NET
and not on the initial load of the page. Do you see the same thing?
At least not a handicap.
That is Brilliant Ryan. Thank you for sharing this with us
SA
"Ryan Folstad" <ryan@crmkb.net> wrote in message
news:%23DQWBRFYDHA.2444@tk2msftngp13.phx.gbl...times> I've seen a few posts from people wondering why OnInit fires multipleup> for one web form. I finally figured it out for my situation.
>
> I tested this on both .net 1.1 and 1.0 both were able to reproduce.
>
>
> Create a new c# web app. in WebApp1.aspx add the following html:
> <table><tr><td background="#000000"></td></tr></table>
>
> Place a Break in the Web designer generated OnInit.
>
> Hit run..
>
> OnInit will fire twice..
>
> remove the background="#000000" and it will only fire once..
>
> serious bug.. as the second time it fires the context is lost and the
> request seems to be lost aswell..
>
> Brilliant!
>
> How would i go about reporting this to ms or getting a fix without using> one of my msdn incidents?
>
> R
>
>
Ryan Folstad Guest
-
MS News \(MS ILM\) #6
Re: ASP.net reproducible bug
Thank you for the info
"Ryan Folstad" <ryan@crmkb.net> wrote in message
news:OYzlwVGYDHA.652@tk2msftngp13.phx.gbl...or> To clarify.
>
> It is only reproducible on initial load, if the page is loaded from a urlwill> response.redirect. Server.Transfer is ok.
>
> However regardless how it was loaded initially any subsequent PostBackis> call OnInit twice.
>
> I also noticed that the second OnInit has old Request information and
> Context is gone.
>
> R
>
> "Ryan Folstad" <ryan@crmkb.net> wrote in message
> news:OiHkBQGYDHA.1816@TK2MSFTNGP09.phx.gbl...> > I was only able to reproduce using:
> > Response.Redirect or link (<a href>)
> >
> > If you use Server.Transfer to load the page its not reproducible. Thisusing> VB.NET> > what was really giving me a hard time tracking it down!
> >
> > Hope this helps,
> >
> > Ryan
> >
> > "MS News (MS ILM)" <sql_agentman@hotmail.com> wrote in message
> > news:#8nQsvFYDHA.2256@TK2MSFTNGP10.phx.gbl...
> > Ryan,
> >
> > I was only able to reproduce this bug only on postback in Both C# and> > and not on the initial load of the page. Do you see the same thing?
> >
> > At least not a handicap.
> > That is Brilliant Ryan. Thank you for sharing this with us
> >
> > SA
> >
> > "Ryan Folstad" <ryan@crmkb.net> wrote in message
> > news:%23DQWBRFYDHA.2444@tk2msftngp13.phx.gbl...> > times> > > I've seen a few posts from people wondering why OnInit fires multiple> > > for one web form. I finally figured it out for my situation.
> > >
> > > I tested this on both .net 1.1 and 1.0 both were able to reproduce.
> > >
> > >
> > > Create a new c# web app. in WebApp1.aspx add the following html:
> > > <table><tr><td background="#000000"></td></tr></table>
> > >
> > > Place a Break in the Web designer generated OnInit.
> > >
> > > Hit run..
> > >
> > > OnInit will fire twice..
> > >
> > > remove the background="#000000" and it will only fire once..
> > >
> > > serious bug.. as the second time it fires the context is lost and the
> > > request seems to be lost aswell..
> > >
> > > Brilliant!
> > >
> > > How would i go about reporting this to ms or getting a fix without>> > up> >> > > one of my msdn incidents?
> > >
> > > R
> > >
> > >
> >
>
MS News \(MS ILM\) Guest



Reply With Quote

