Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Component Services / November 2003

Tip: Looking for answers? Try searching our database.

Problem with Queued Component

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
- 17 Nov 2003 01:41 GMT
My program is to send sms(short message) to a group of
mobile receivers. I devide the business into two parts:
asp.net and queued component. Asp.net accept the txt file
of receivers' phone numbers and group the numbers to
packages which include 200 number each. Queued component
will loop 200 times and record it into database in each
loop. I use queued component of COM+ to facilitate the
async call, which means asp.net call the QC and return
quickly.

The two parts run on one Windows 2000 Server, with IIS
5.0, msmq 2.0, COM+1.0 and two CPUs. The problem occurs
when I send sms to 50,000 receivers. My asp.net package
the job into 250 requests and call the component 250
times. I do see there are 250 calls in the queue of the
component. But finally the number of records in DB varies
each time, but has a common feature. It is multiple of
200 and less than 50,000. So I think the internal program
inside the qc works fine, and the question is COM+
architecture calls the QC in a wrong times. In other
words, COM+ loss some packages in the queue or it call
the QC with an error. (But I can't see any error record
in Event Log of Windows.)

Another intersting thing is that it never occurs in my
developing machine. The developing machine is much slower
with only one CPU.

I will be very appreciated if anybody can tell me the why
or tell me the right way.

Thanks.
Wei Xie - 17 Nov 2003 06:50 GMT
Sorry, I forgot write my name.

My Name is Wei Xie, and email is xiewei@ths.com.cn

>-----Original Message-----
>My program is to send sms(short message) to a group of
[quoted text clipped - 31 lines]
>
>.
Tomas Restrepo \(MVP\) - 17 Nov 2003 13:48 GMT
> My program is to send sms(short message) to a group of
> mobile receivers. I devide the business into two parts:
[quoted text clipped - 19 lines]
> the QC with an error. (But I can't see any error record
> in Event Log of Windows.)

I would doubt this is happening. However, a couple of questions might help
pinpoint issues. For example: Are your Queued Components Transactional?
(i.e. marked with TransactionRequired)? Are you sure your components are
getting called for each message?

Signature

Tomas Restrepo
tomasr@mvps.org


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.