|
|
|
date: Tue, 1 Apr 2008 08:49:42 -0700 (PDT),
group: microsoft.public.platformsdk.internet.server.isapi-dev
back
Very Wierd...I'm at my wits end...
All,
We have a custom ISAPI Filter running on IIS 6 (not in IIS 5 isolation
mode), WIN 2K3 SP1. There are 4 servers in our infrastructure. Each
server hosts many websites, and are clustered. The ISAPI filter is
applied at the website level (not global) on some of the websites on
each server. On 3 of the 4 servers, the Filter works perfectly (I
can't go into details about the filter as it's proprietary). On the
4th server (problem server), the ISAPI filter is loaded (Green arrow,
no event log errors, etc...) but it doesn't seem to be
executing....And what I mean by doesn't seem to be executing is that
the behavior that the filter implements, is not working. Now you
might say that yeah, it's executing you idiot, it's just not working.
You have a bug. I want to remind you that it works as designed on 3
of the 4 servers. In addition, to even see if it was executing I
added the following lines of code to BOOL WINAPI
GetFilterVersion(PHTTP_FILTER_VERSION pVer) method:
int test = 5-5;
int result = 10/test;
Yes, it's a divide by zero. I wanted it to generate an exception to
confirm it was even executing. I get the green arrow like it loaded
just fine... What am I missing? What would cause a filter to not
execute anything (even it's GetFilterVersion method). I've removed
the filter, re-added it...restarted IIS...and still no exception that
brings down the process. Like I said, i'm trying to figure out
THanx in advance..
date: Tue, 1 Apr 2008 08:49:42 -0700 (PDT)
author: FrankT
Re: Very Wierd...I'm at my wits end...
Assuming its a PROD server unable to be debugged, my first step would be to
include some OutputDebugString traces. Other steps would be to make sure you
start the AppPool where the ISAPI Filter is loaded (send an http request),
open up ProcExp.exe and find the respective DLL (your isapi filter).
David has some useful pointers here:
http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_and_Fix_Common_ISAPI_Filter_Installation_Failures.aspx
Tiago Halm
"FrankT" wrote in message
news:6e1f361c-5c1c-4e25-b619-fb2d77a4f544@p25g2000hsf.googlegroups.com...
> All,
>
> We have a custom ISAPI Filter running on IIS 6 (not in IIS 5 isolation
> mode), WIN 2K3 SP1. There are 4 servers in our infrastructure. Each
> server hosts many websites, and are clustered. The ISAPI filter is
> applied at the website level (not global) on some of the websites on
> each server. On 3 of the 4 servers, the Filter works perfectly (I
> can't go into details about the filter as it's proprietary). On the
> 4th server (problem server), the ISAPI filter is loaded (Green arrow,
> no event log errors, etc...) but it doesn't seem to be
> executing....And what I mean by doesn't seem to be executing is that
> the behavior that the filter implements, is not working. Now you
> might say that yeah, it's executing you idiot, it's just not working.
> You have a bug. I want to remind you that it works as designed on 3
> of the 4 servers. In addition, to even see if it was executing I
> added the following lines of code to BOOL WINAPI
> GetFilterVersion(PHTTP_FILTER_VERSION pVer) method:
>
> int test = 5-5;
> int result = 10/test;
>
> Yes, it's a divide by zero. I wanted it to generate an exception to
> confirm it was even executing. I get the green arrow like it loaded
> just fine... What am I missing? What would cause a filter to not
> execute anything (even it's GetFilterVersion method). I've removed
> the filter, re-added it...restarted IIS...and still no exception that
> brings down the process. Like I said, i'm trying to figure out
>
> THanx in advance..
date: Wed, 2 Apr 2008 00:26:35 +0100
author: Tiago Halm
Re: Very Wierd...I'm at my wits end...
On Apr 1, 6:26 pm, "Tiago Halm" wrote:
> Assuming its a PROD server unable to be debugged, my first step would be to
> include some OutputDebugString traces. Other steps would be to make sure you
> start the AppPool where the ISAPI Filter is loaded (send an http request),> open up ProcExp.exe and find the respective DLL (your isapi filter).
>
> David has some useful pointers here:http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_an...
>
> Tiago Halm
>
> "FrankT" wrote in message
>
> news:6e1f361c-5c1c-4e25-b619-fb2d77a4f544@p25g2000hsf.googlegroups.com...
>
>
>
> > All,
>
> > We have a custom ISAPI Filter running on IIS 6 (not in IIS 5 isolation
> > mode), WIN 2K3 SP1. There are 4 servers in our infrastructure. Each
> > server hosts many websites, and are clustered. The ISAPI filter is
> > applied at the website level (not global) on some of the websites on
> > each server. On 3 of the 4 servers, the Filter works perfectly (I
> > can't go into details about the filter as it's proprietary). On the
> > 4th server (problem server), the ISAPI filter is loaded (Green arrow,
> > no event log errors, etc...) but it doesn't seem to be
> > executing....And what I mean by doesn't seem to be executing is that
> > the behavior that the filter implements, is not working. Now you
> > might say that yeah, it's executing you idiot, it's just not working.
> > You have a bug. I want to remind you that it works as designed on 3
> > of the 4 servers. In addition, to even see if it was executing I
> > added the following lines of code to BOOL WINAPI
> > GetFilterVersion(PHTTP_FILTER_VERSION pVer) method:
>
> > int test = 5-5;
> > int result = 10/test;
>
> > Yes, it's a divide by zero. I wanted it to generate an exception to
> > confirm it was even executing. I get the green arrow like it loaded
> > just fine... What am I missing? What would cause a filter to not
> > execute anything (even it's GetFilterVersion method). I've removed
> > the filter, re-added it...restarted IIS...and still no exception that
> > brings down the process. Like I said, i'm trying to figure out
>
> > THanx in advance..- Hide quoted text -
>
> - Show quoted text -
Thanx fr the tip Tiago... The problem is the app pool. If I change
the app pool on the problem server to network service (it's set to a
custom identity), it works fine...We believe the acl's on the iis
metabase on this server is corrupt and are working to fix... Just
thought I would pass that along to others...
date: Wed, 2 Apr 2008 23:07:29 -0700 (PDT)
author: FrankT
Re: Very Wierd...I'm at my wits end...
On Apr 2, 11:07 pm, FrankT wrote:
> On Apr 1, 6:26 pm, "Tiago Halm" wrote:
>
>
>
>
>
> > Assuming its a PROD server unable to be debugged, my first step would be to
> > include some OutputDebugString traces. Other steps would be to make sure you
> > start the AppPool where the ISAPI Filter is loaded (send an http request> > open up ProcExp.exe and find the respective DLL (your isapi filter).
>
> > David has some useful pointers here:http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_an...
>
> > Tiago Halm
>
> > "FrankT" wrote in message
>
> >news:6e1f361c-5c1c-4e25-b619-fb2d77a4f544@p25g2000hsf.googlegroups.com...> > > All,
>
> > > We have a custom ISAPI Filter running on IIS 6 (not in IIS 5 isolation> > > mode), WIN 2K3 SP1. There are 4 servers in our infrastructure. Each> > > server hosts many websites, and are clustered. The ISAPI filter is
> > > applied at the website level (not global) on some of the websites on
> > > each server. On 3 of the 4 servers, the Filter works perfectly (I
> > > can't go into details about the filter as it's proprietary). On the> > > 4th server (problem server), the ISAPI filter is loaded (Green arrow,
> > > no event log errors, etc...) but it doesn't seem to be
> > > executing....And what I mean by doesn't seem to be executing is that
> > > the behavior that the filter implements, is not working. Now you
> > > might say that yeah, it's executing you idiot, it's just not working.
> > > You have a bug. I want to remind you that it works as designed on 3> > > of the 4 servers. In addition, to even see if it was executing I
> > > added the following lines of code to BOOL WINAPI
> > > GetFilterVersion(PHTTP_FILTER_VERSION pVer) method:
>
> > > int test = 5-5;
> > > int result = 10/test;
>
> > > Yes, it's a divide by zero. I wanted it to generate an exception to> > > confirm it was even executing. I get the green arrow like it loaded
> > > just fine... What am I missing? What would cause a filter to not
> > > execute anything (even it's GetFilterVersion method). I've removed
> > > the filter, re-added it...restarted IIS...and still no exception that
> > > brings down the process. Like I said, i'm trying to figure out
>
> > > THanx in advance..- Hide quoted text -
>
> > - Show quoted text -
>
> Thanx fr the tip Tiago... The problem is the app pool. If I change
> the app pool on the problem server to network service (it's set to a
> custom identity), it works fine...We believe the acl's on the iis
> metabase on this server is corrupt and are working to fix... Just
> thought I would pass that along to others...- Hide quoted text -
>
> - Show quoted text -
http://blogs.msdn.com/david.wang/archive/2006/02/13/Why-ISAPI-Filters-can-load-in-some-but-not-all-websites-on-a-Domain-Controller.aspx
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
date: Fri, 4 Apr 2008 01:31:29 -0700 (PDT)
author: David Wang
Re: Very Wierd...I'm at my wits end...
On Apr 4, 3:31 am, David Wang wrote:
> On Apr 2, 11:07 pm, FrankT wrote:
>
>
>
>
>
> > On Apr 1, 6:26 pm, "Tiago Halm" wrote:
>
> > > Assuming its a PROD server unable to be debugged, my first step would be to
> > > include some OutputDebugString traces. Other steps would be to make sure you
> > > start the AppPool where the ISAPI Filter is loaded (send an http request),
> > > open up ProcExp.exe and find the respective DLL (your isapi filter).
>
> > > David has some useful pointers here:http://blogs.msdn.com/david.wang/archive/2005/06/21/HOWTO_Diagnose_an...
>
> > > Tiago Halm
>
> > > "FrankT" wrote in message
>
> > >news:6e1f361c-5c1c-4e25-b619-fb2d77a4f544@p25g2000hsf.googlegroups.com.> > > > All,
>
> > > > We have a custom ISAPI Filter running on IIS 6 (not in IIS 5 isolation
> > > > mode), WIN 2K3 SP1. There are 4 servers in our infrastructure. Each
> > > > server hosts many websites, and are clustered. The ISAPI filter is
> > > > applied at the website level (not global) on some of the websites on> > > > each server. On 3 of the 4 servers, the Filter works perfectly (I> > > > can't go into details about the filter as it's proprietary). On the
> > > > 4th server (problem server), the ISAPI filter is loaded (Green arrow> > > > no event log errors, etc...) but it doesn't seem to be
> > > > executing....And what I mean by doesn't seem to be executing is that> > > > the behavior that the filter implements, is not working. Now you
> > > > might say that yeah, it's executing you idiot, it's just not working> > > > You have a bug. I want to remind you that it works as designed on 3
> > > > of the 4 servers. In addition, to even see if it was executing I> > > > added the following lines of code to BOOL WINAPI
> > > > GetFilterVersion(PHTTP_FILTER_VERSION pVer) method:
>
> > > > int test = 5-5;
> > > > int result = 10/test;
>
> > > > Yes, it's a divide by zero. I wanted it to generate an exception to
> > > > confirm it was even executing. I get the green arrow like it loaded
> > > > just fine... What am I missing? What would cause a filter to not
> > > > execute anything (even it's GetFilterVersion method). I've removed
> > > > the filter, re-added it...restarted IIS...and still no exception that
> > > > brings down the process. Like I said, i'm trying to figure out
>
> > > > THanx in advance..- Hide quoted text -
>
> > > - Show quoted text -
>
> > Thanx fr the tip Tiago... The problem is the app pool. If I change
> > the app pool on the problem server to network service (it's set to a
> > custom identity), it works fine...We believe the acl's on the iis
> > metabase on this server is corrupt and are working to fix... Just
> > thought I would pass that along to others...- Hide quoted text -
>
> > - Show quoted text -
>
> http://blogs.msdn.com/david.wang/archive/2006/02/13/Why-ISAPI-Filters...
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David.Wang
> //- Hide quoted text -
>
> - Show quoted text -
David,
Guess how I found what the problem was before you posted :) Same
link as above.
date: Fri, 4 Apr 2008 13:36:15 -0700 (PDT)
author: FrankT
|
|