« Previous Next »

Thread: ISAPI Filter problem in Windows server 2003

Last post 12-08-2007 1:53 AM by puckster. 11 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (12 items)

Sort Posts:

  • 11-26-2007, 4:38 AM

    ISAPI Filter problem in Windows server 2003

    Hi everyone,

    I  want to load the ISAPI filter in Windows Server 2003.

    Problem is that: i write a simple filter which Authenticate the user from its domain. This filter is working fine in the case of WindowsXP, but when i apply same filter on windows server 2003 this filter is not able to load.

    Is there any special setting for server 2003?. 

    I'm working with IIS 5.1

    please help me out from this problem!

    Thanks in Advance,

    Asim

     

  • 11-26-2007, 11:08 PM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 11:28 AM
    • Redmond
    • Posts 503

    Re: ISAPI Filter problem in Windows server 2003

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 11-27-2007, 8:06 AM In reply to

    Re: ISAPI Filter problem in Windows server 2003

    thanks thomad

    thanks thomad,

    I read it complete and found nothing wrong with my dll. there is no depandcy. I read following lines from net and i thing this is main issue: 

    "IIS 6 is a lot closer to "secure by default," with ISAPI extensions and filters disabled unless you specifically enable them yourself. In addition, most IIS functionality runs within a very low privileged security context; in IIS 5 and earlier versions, security holes in ISAPI extensions or filters could allow malicious code to run as SYSTEM."

    Tell me if u know that how can i enable ISAPI filter in IIS 6. by default it is disable.

    Regards

    Asim 

     

     

  • 11-27-2007, 12:15 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: ISAPI Filter problem in Windows server 2003

    There is no enabling for ISAPI filters (only extensions) - can you post the complete event details as asked for in the blog post thomas pointed to.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-29-2007, 3:08 AM In reply to

    Re: ISAPI Filter problem in Windows server 2003

    thnaks on your responce but i come to know from this link that we can also enable ISAPI filter. i perform all the steps which are mention.

    but still not enable,

     http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/54c41c83-3723-4695-9bf1-9f7b1f674be0.mspx?mfr=true

    any more help in this regard

    From

    Asim 

     

  • 11-29-2007, 8:44 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: ISAPI Filter problem in Windows server 2003

    We cannot help you if you do not provide the information asked - please read my message above again.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-29-2007, 9:39 AM In reply to

    Re: ISAPI Filter problem in Windows server 2003

    OK anilr,

    The thing is that i use this ISAPI Filter to Authenticate the use from different domain. This filter work perfectly on windows xp but when i apply same filter on Windows Server 2003 IIS send me error.

    here is the application error:
    Event Type: Error
    Event Source: Application Error
    Event Category: (100)
    Event ID: 1000
    Date: 11/29/2007
    Time: 6:51:32 PM
    User: N/A
    Computer: VPC37
    Description:

    Faulting application w3wp.exe, version 6.0.3790.1830, faulting module ntdll.dll, version 5.2.3790.1830, fault address 0x0002f350.

    For more information, see Help and Support Center at

    http://go.microsoft.com/fwlink/events.asp.

     Data: 

    0000: 41 70 70 6c 69 63 61 74   Applicat
    0008: 69 6f 6e 20 46 61 69 6c   ion Fail
    0010: 75 72 65 20 20 77 33 77   ure  w3w
    0018: 70 2e 65 78 65 20 36 2e   p.exe 6.
    0020: 30 2e 33 37 39 30 2e 31   0.3790.1
    0028: 38 33 30 20 69 6e 20 6e   830 in n
    0030: 74 64 6c 6c 2e 64 6c 6c   tdll.dll
    0038: 20 35 2e 32 2e 33 37 39    5.2.379
    0040: 30 2e 31 38 33 30 20 61   0.1830 a
    0048: 74 20 6f 66 66 73 65 74   t offset
    0050: 20 30 30 30 32 66 33 35    0002f35
    0058: 30                        0      

    Please help me out from this error 

    Regards

    Asim

  • 11-29-2007, 4:13 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: ISAPI Filter problem in Windows server 2003

    That means your filter is probably crashing - you will need to attach a debugger to the worker process to get to the bottom of this.  You can use DebugDiag to easily collect a crash dump etc.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 12-03-2007, 4:39 AM In reply to

    Re: ISAPI Filter problem in Windows server 2003

    Anilr I am really very thankful to u  on your suggestion about the DebugDiag. I install it and run in following way:  1.   

      I open Debug Diagnostics Tool 1.0 (Start -> All Programs -> IIS Diagnostics (x86) -> Debug Diagnostics Tool)

    2.      On the Rules tab, click "Add Rule"3.      Select "Crash" option and click "Next"4.      Select "All IIS Processes+ COM" option and click "Next"5.      Under "Advanced Settings", click "Breakpoints"6.      Click "Add Breakpoint"7.     Select "KERNEL32!ExitProcess" in the "Offset Expression" list.8.     Change "Action Type" to "Full User Dump" 9.     Click "Add Breakpoint"10.  Select "Kernel32!TerminateProcess" in the "Offset Expression" list.11.  Change "Action Type" to "Full User Dump"12.  Click "Save and Close"13.  Click "Next", "Next" and "Finish"14.  Ensure the status of Debug Diagnostic tool "Active"15.   Wait for the issue to occur.16.   analyze it, go to the Debug Diagnostic Tool once again, and click  "Advanced Analysis" tab.17.   Click "Add Data Files" and browse to the dump file(w3wp__PID__1612__Date__12_03_2007__Time_01_17_52PM__697__Kernel32!ExitProcess.dmp)18.   click "Start Analysis"19.   It might take some time to analyze dump file(w3wp__PID__1612__Date__12_03_2007__Time_01_17_52PM__697__Kernel32!ExitProcess.dmp).20.   when analysis is complete it create a .mht file with following Summary message.  
    Analysis Summary
     
    Type Description Recommendation
      Information
    DebugDiag did not detect any known problems in w3wp__PID__1612__Date__12_03_2007__Time_01_17_52PM__697__Kernel32!ExitProcess.dmp using the current set of scripts.
     
      I thing Error was that I was writing the log from the filter remove that junk of code . now I think this is fine no more Issue.IIS Filter status green also shows that there is no more issue in the loading of Filter. But now problem is that my filter do following tasks can u suggest me Issue if anything doing wrong or because of Server 2003 security. Because same filter running 100% on Windows XP.·         Getting values from system Registry·         Select customer name from SQL Server 2005 Express Edition ·         Authenticate the user using LDAP·         Writing the cookies with one day expire date  

    Regards

    Asim 
  • 12-03-2007, 10:20 AM In reply to

    Re: ISAPI Filter problem in Windows server 2003

    Thanks u all Tom Kaminski, Thomas Deml and specially Anil Ruia u people help me to much to solve my problem.

     My ISAPI Filter now Running fine in Windows Server 2003...

     Thanks once again

    Regards

    Asim

  • 12-08-2007, 1:53 AM In reply to

    • puckster
    • Not Ranked
    • Joined on 06-24-2002, 12:56 PM
    • Posts 1

    Re: ISAPI Filter problem in Windows server 2003

     Can you please tell me how you solved the problem?  I'm having the same issue.  It works fine on Windows XP and won't load on Windows 2003 Server.

Page 1 of 1 (12 items)