Showing posts with label status. Show all posts
Showing posts with label status. Show all posts

Thursday, March 22, 2012

Thread

Hai Experts,
I have one aspx Page that updates lots of data to Active
Directory.This Part is done, But i need to display the status of
updation(That is How Many Entries are updated) for certain Period of time
and how many entries are pending to update. Is it possible through Threads,
can anyone please suggest me what to do.

Thanks,
Rajeev.I have done something similar, but it involved upload status instead. But,
I believe the concepts are similar. You want to display % complete, right?
It involved using an IFRAME (this showed the % complete). The main page
continued to process while the page in the IFRAME refreshed every couple of
seconds to determine what the status was.

I built an object that processed the upload and provided a % complete. The
page displaying the status complete interrogated that object for its status
while the other page did the work. I used threading and chunking (for the
upload) in this solution. I believe you could do something similar.

Sincerely,
John Swanagon
Sr. Software Engineer, Avaya Labs
Avaya Inc.
jmswanagon@.avaya.com
"RajeevSekar" <RajeevSekar@.force10networks.comwrote in message
news:uib3CF%23rGHA.4032@.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

Hai Experts,
I have one aspx Page that updates lots of data to Active
Directory.This Part is done, But i need to display the status of
updation(That is How Many Entries are updated) for certain Period of time
and how many entries are pending to update. Is it possible through
Threads, can anyone please suggest me what to do.
>
Thanks,
Rajeev.
>

Tuesday, March 13, 2012

thread status created from asp.net

Hello,
I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?
Thanks.
Ginnyyou should create a static collection to contain the threads, you can
harvest the status, or kill ones that ran too long. you might want to start
a management thread also.
-- bruce (sqlwork.com)
"ginny" <im_wang@.yahoo.com> wrote in message
news:1159292119.881690.324060@.b28g2000cwb.googlegroups.com...
> Hello,
> I am sending 13000 emails alerts out using the thread from my asp.net
> application. It is working smooth when I did the first and second
> sending. but when I tried the third one, the server is so slow, the
> thread is supposed to be abort normally each time.do you think it is
> the thread I created from the first two times still alive, how could I
> check thread status?
> Thanks.
> Ginny
>
bruce:
I am new to thread, how to create a static collection to contain the
threads?
The function in my thread is really simple, it loop 13000 times to send
13000 emails.
Thanks.
Ginny
(sqlwork.com) wrote:
> you should create a static collection to contain the threads, you can
> harvest the status, or kill ones that ran too long. you might want to star
t
> a management thread also.
> -- bruce (sqlwork.com)
> "ginny" <im_wang@.yahoo.com> wrote in message
> news:1159292119.881690.324060@.b28g2000cwb.googlegroups.com...

thread status created from asp.net

Hello,

I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?

Thanks.

Ginnyyou should create a static collection to contain the threads, you can
harvest the status, or kill ones that ran too long. you might want to start
a management thread also.

-- bruce (sqlwork.com)

"ginny" <im_wang@.yahoo.comwrote in message
news:1159292119.881690.324060@.b28g2000cwb.googlegr oups.com...

Quote:

Originally Posted by

Hello,
>
I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?
>
Thanks.
>
Ginny
>


bruce:

I am new to thread, how to create a static collection to contain the
threads?
The function in my thread is really simple, it loop 13000 times to send
13000 emails.

Thanks.

Ginny

(sqlwork.com) wrote:

Quote:

Originally Posted by

you should create a static collection to contain the threads, you can
harvest the status, or kill ones that ran too long. you might want to start
a management thread also.
>
-- bruce (sqlwork.com)
>
"ginny" <im_wang@.yahoo.comwrote in message
news:1159292119.881690.324060@.b28g2000cwb.googlegr oups.com...

Quote:

Originally Posted by

Hello,

I am sending 13000 emails alerts out using the thread from my asp.net
application. It is working smooth when I did the first and second
sending. but when I tried the third one, the server is so slow, the
thread is supposed to be abort normally each time.do you think it is
the thread I created from the first two times still alive, how could I
check thread status?

Thanks.

Ginny