G
Guest
I am trying to create a page where multiple requests are made to a single
webservice. This webservice takes a fair amount of time to process the
requests so rather than making the calls one at a time I'd like to create a
new thread for each call. I tested this in a stand alone application with no
problems at all.
My problem is that when I try using the System.Threading.Threadpool class
inside the aspx page, nothing happens. I add a new thread using
ThreadPool.QueueUserWorkItem() and then check the available worker and
completion threads before and after with no change. I've also tried doing
this using the System.Threading.Thread class and have the same problem where
the thread doesn't start.
I was wondering if there were some sort of permissions that needed to be set
on IIS 6.0 to get this to work properly.
webservice. This webservice takes a fair amount of time to process the
requests so rather than making the calls one at a time I'd like to create a
new thread for each call. I tested this in a stand alone application with no
problems at all.
My problem is that when I try using the System.Threading.Threadpool class
inside the aspx page, nothing happens. I add a new thread using
ThreadPool.QueueUserWorkItem() and then check the available worker and
completion threads before and after with no change. I've also tried doing
this using the System.Threading.Thread class and have the same problem where
the thread doesn't start.
I was wondering if there were some sort of permissions that needed to be set
on IIS 6.0 to get this to work properly.