Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 12th, 2004, 07:39 PM
code-kitty code-kitty is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 10 code-kitty User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IIS 6.0 and Closing response ends thread

Hello, I don't know if this is an IIS issue or something else, but basically, I wrote a web application in c# that ends the response at a certain point, but then the thread/process still continues to do some processing (rather than forcing the client to wait until all processing is done, it ends the response and then processes).

On my local test machine (Windows 2003 Server, IIS 6.0), when I install the web application and test it, it works perfectly (the thread/process stays alive to complete the processing after it ends the request).

PROBLEM: On the actual server I would like to use, (same configuration as far as I know), the response thread/process immediately ends after it ends the response.

Does anyone know how I can prevent this? I have looked the configuration from both servers (my local test server and the actual server) and they seem identical. I don't know if maybe my local test machine has a bug (and it should act like the server, killing my thread as soon as the response ended), or if the actual machine has a bug, or if there is another setting I am missing that I need to change.

Note: The application pools are identical for this web application on both servers. (i.e. on both, Worker recycling is turned off)

If anyone has any ideas, this will greatly appreciated! Thanks in advance!

Last edited by code-kitty : April 12th, 2004 at 07:40 PM. Reason: subject not descriptive enough

Reply With Quote
  #2  
Old April 16th, 2004, 02:00 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
I don't have IIS6, I'm not sure what to suggest. I'm not even sure you can make any assumptions about IIS's process threading, it may change internally anyway.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old May 14th, 2004, 07:48 PM
code-kitty code-kitty is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 10 code-kitty User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the response. (Sorry this post is so late, I've been busy).

I finally ended up just redoing my web application so that it passes off processing to another (NON-WEB, independent) process (I just made a Windows service since I know that has thread reliability and stability as long as you don't run out of event log space).


Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS 6.0 and Closing response ends thread


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT