Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS 6.0:CreateTimerQueueTimer failure 5 in ISAPI filter

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  How can I create a redirection using shell script..  
Author Message
user918

External


Since: Oct 07, 2003
Posts: 1



(Msg. 1) Posted: Tue Oct 07, 2003 3:57 pm
Post subject: IIS 6.0:CreateTimerQueueTimer failure 5 in ISAPI filter
Archived from groups: microsoft>public>inetserver>iis (more info?)

I am developing an ISAPI filter in C++ (win32)
for IIS 6.0/Windows Server 2003

1) The thread used by IIS to call my filter is
running under account "NETWORK SERVICE".

2) my code impersonates with an NT Administrator account

3) then, creates a new thread to which it assign an
NT Administrator account with "SetThreadToken"

4) In the new thread it successfully call "CreateTimerQueue"

5) Then, in the new same thread, when it call
"CreateTimerQueueTimer" to add a timer, the function
fails with error code 5 ???


For test purpose, if the code do not assign an "NT Administrator"
to the new thread it works fine. "CreateTimerQueueTimer" is
executed successfully.


I am puzzled. Any help would be very appreciated. Thank you.

Phil Ten.

 >> Stay informed about: IIS 6.0:CreateTimerQueueTimer failure 5 in ISAPI filter 
Back to top
Login to vote
user649

External


Since: Aug 25, 2003
Posts: 244



(Msg. 2) Posted: Fri Oct 10, 2003 10:09 am
Post subject: RE: IIS 6.0:CreateTimerQueueTimer failure 5 in ISAPI filter [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Phil,

It appears this issue is not an IIS bug. Based on my experience on ISAPI,
one security article for ISAPI filter may help you some on this issue. You
can obtain it from Microsoft.com. Please go to:
Security Issues
http://msdn.microsoft.com/library/en-us/iisref/htm/SecurityIssues.asp?frame=
true

Furthermore, I'd also suggest you can ask the same issue to platformSDK
newsgroup. These SDK experts will give a lot of help on this issue. The
PlatformSDK is located at:
Microsoft.public.platformSDK.security

Thank you for using Microsoft NewsGroup!

Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

 >> Stay informed about: IIS 6.0:CreateTimerQueueTimer failure 5 in ISAPI filter 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]