Discussion:
weird problem with asp.net 2.0 and post back events on root site versus vdir
Jeff
2007-02-27 23:56:15 UTC
Permalink
On the website site, some of the linkbuttons event handlers don't fire.
However if we take that same site and move to a vdir on the same server they
work. I can't figure it out. I have checked the aspnet_client folder to
make sure it's in the root site where the problem occurs and still no love.
used aspnet_regiis -c to rebuild them and still nothing.



any ideas? asp.net 2.0 and tried both AutoEventWireup="true" and without it
using attributes in the control, and neither work.



thanks.


===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Efran Cobisi
2007-02-28 08:26:28 UTC
Permalink
Hello Jeff,

Could you post the (relevant portion of) source of your page, please?

Efran Cobisi
http://www.cobisi.com
Post by Jeff
On the website site, some of the linkbuttons event handlers don't fire.
However if we take that same site and move to a vdir on the same server they
work. I can't figure it out. I have checked the aspnet_client folder to
make sure it's in the root site where the problem occurs and still no love.
used aspnet_regiis -c to rebuild them and still nothing.
any ideas? asp.net 2.0 and tried both AutoEventWireup="true" and without it
using attributes in the control, and neither work.
thanks.
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Jeff
2007-02-28 22:34:43 UTC
Permalink
Well, this will make no sense but I fixed the problem. The folder that I
was having these issues on did not allow anonymous access. I enabled this
back and now it works. I don't get it at all. I even had some test code in
Page_Load that just did if(IsPostback)Response.Write("PostBack..."); and
this would never get called when I would click my buttons in that folder
only. So after allowing anonymous access, all works fine now.



-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-***@DISCUSS.DEVELOP.COM] On Behalf Of Efran Cobisi
Sent: Wednesday, February 28, 2007 1:26 AM
To: DOTNET-***@DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] weird problem with asp.net 2.0 and post back
events on root site versus vdir

Hello Jeff,

Could you post the (relevant portion of) source of your page, please?

Efran Cobisi
http://www.cobisi.com
Post by Jeff
On the website site, some of the linkbuttons event handlers don't fire.
However if we take that same site and move to a vdir on the same server they
work. I can't figure it out. I have checked the aspnet_client folder to
make sure it's in the root site where the problem occurs and still no love.
used aspnet_regiis -c to rebuild them and still nothing.
any ideas? asp.net 2.0 and tried both AutoEventWireup="true" and without it
using attributes in the control, and neither work.
thanks.
===================================
This list is hosted by DevelopMentorR http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorR http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Jeff
2007-02-28 22:53:59 UTC
Permalink
Ok a little more info if this might make sense to anyone. I originally had
"Integrated Windows Authentication" checked, and this was the problem. I
unchecked this, and checked "Basic Authentication" and then forced this page
to load over https. This also works. So it seems something about Integrated
Windows Authentication" breaks postbacks on pages that are locked down using
this. Server is Win2k3 with SP, and asp.net 2.0

-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-***@DISCUSS.DEVELOP.COM] On Behalf Of Jeff
Sent: Wednesday, February 28, 2007 3:35 PM
To: DOTNET-***@DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] weird problem with asp.net 2.0 and post back
events on root site versus vdir

Well, this will make no sense but I fixed the problem. The folder that I
was having these issues on did not allow anonymous access. I enabled this
back and now it works. I don't get it at all. I even had some test code in
Page_Load that just did if(IsPostback)Response.Write("PostBack..."); and
this would never get called when I would click my buttons in that folder
only. So after allowing anonymous access, all works fine now.



-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-***@DISCUSS.DEVELOP.COM] On Behalf Of Efran Cobisi
Sent: Wednesday, February 28, 2007 1:26 AM
To: DOTNET-***@DISCUSS.DEVELOP.COM
Subject: Re: [DOTNET-WEB] weird problem with asp.net 2.0 and post back
events on root site versus vdir

Hello Jeff,

Could you post the (relevant portion of) source of your page, please?

Efran Cobisi
http://www.cobisi.com
Post by Jeff
On the website site, some of the linkbuttons event handlers don't fire.
However if we take that same site and move to a vdir on the same server they
work. I can't figure it out. I have checked the aspnet_client folder to
make sure it's in the root site where the problem occurs and still no love.
used aspnet_regiis -c to rebuild them and still nothing.
any ideas? asp.net 2.0 and tried both AutoEventWireup="true" and without it
using attributes in the control, and neither work.
thanks.
===================================
This list is hosted by DevelopMentorR http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorR http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor. http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Loading...