473,386 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ASP.Net & COM+ transaction trouble on occasion


Hi everyone,

I'm running into a problem with my ASP.Net application. I've just created a
new aspx page which uses some new components of mine that inherit from
ServicedComponent and are designed to run under COM+.

This page works fine, unless I get fancy and hit my browser's refresh button
quickly, as a test. Then, what I see happen is the transactions pile up and
my ASP.Net "current requests" do the same. This happens even with two
requests in the ASP list. My browser just sits there.

After I hit 10 requests (I use WindowsXP, my own box as the test webserver
here) IIS says to come back later, it's full up.

Trouble is, later never arrives. Eventually I see my COM+ transactions
abort/timeout, but ASP.Net never kills the requests. I'm stuck at 10
requests until I do an IIS reset.

I've made plenty of ServicedComponents before, and this is the first time
I've seen this problem when refreshing the page quickly. My other pages
don't have this trouble. Nothing jumps out at me as to why this would be a
problem now, on this particular page. The SQL query run by my component is
a _little_ more difficult than a typical one, but that's just in the number
of rows returned. And again, if I don't go nuts on the refresh button it
works fine.

Has anyone seen this, or do you have any ideas what's going on? It's a
mystery to me. I'm using the 1.1 runtime, btw. XP Service Pack 2.

Some details, in case it helps: My business component has the
"AutoComplete" attribute set on its methods and its transaction settings are
set to Transaction.RequiresNew. It calls a data layer component that also
has AutoComplete set on its methods. Its transaction setting is
Transaction.Required. There are no exceptions being thrown, as far as I can
tell-- my exception handlers aren't logging anything.

Thanks for any and all advice!
Nov 19 '05 #1
1 1978
I suggest you check two things:

1) open COM+ MMC and check the MSTDC statistics, how many transactions have
been committe, aborted or in trouble.
2) open SQL Server MMC and check whether there are dead-locks, also the
physical open connections to database.

"Jim Bancroft" <as******@nowhere.com> wrote in message
news:u8*************@tk2msftngp13.phx.gbl...

Hi everyone,

I'm running into a problem with my ASP.Net application. I've just created a new aspx page which uses some new components of mine that inherit from
ServicedComponent and are designed to run under COM+.

This page works fine, unless I get fancy and hit my browser's refresh button quickly, as a test. Then, what I see happen is the transactions pile up and my ASP.Net "current requests" do the same. This happens even with two
requests in the ASP list. My browser just sits there.

After I hit 10 requests (I use WindowsXP, my own box as the test webserver
here) IIS says to come back later, it's full up.

Trouble is, later never arrives. Eventually I see my COM+ transactions
abort/timeout, but ASP.Net never kills the requests. I'm stuck at 10
requests until I do an IIS reset.

I've made plenty of ServicedComponents before, and this is the first time
I've seen this problem when refreshing the page quickly. My other pages
don't have this trouble. Nothing jumps out at me as to why this would be a problem now, on this particular page. The SQL query run by my component is a _little_ more difficult than a typical one, but that's just in the number of rows returned. And again, if I don't go nuts on the refresh button it
works fine.

Has anyone seen this, or do you have any ideas what's going on? It's a
mystery to me. I'm using the 1.1 runtime, btw. XP Service Pack 2.

Some details, in case it helps: My business component has the
"AutoComplete" attribute set on its methods and its transaction settings are set to Transaction.RequiresNew. It calls a data layer component that also
has AutoComplete set on its methods. Its transaction setting is
Transaction.Required. There are no exceptions being thrown, as far as I can tell-- my exception handlers aren't logging anything.

Thanks for any and all advice!


Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ray | last post by:
Hi I need to access an access db via php. My hosting provider is using php version 4.3.10 on a windows 2003 platform. I think that php was installed with the Plesk for windows package/control...
10
by: sean | last post by:
Is there a good module for sending out email? For a website that I am working on, I am writing a program that finds out which presenters have not yet confirmed their scheduled date and sends them...
4
by: Dan Avni | last post by:
I have a site that has been working for a few years now. the web site is using a DB Access DLL written in VB. the DB's connection string is passed to the DLL using the COM+ enable object...
7
by: Richard Gutery | last post by:
I have written a COM component who's purpose is to allow a user to change his Windows (NT/AD) password via a web page. Now the component works fine when I run it in VB 6, but not via the web page....
3
by: Tim Baur | last post by:
Hi guys. I'm new to ASP, but not Visual Basic. I recently find myself with a project that will involve a SQL Server / COM back end with an ASP front end. The system handles help desk type...
8
by: Z D | last post by:
Hello, I'm having a strange problem that is probably due to my lack of understanding of how threading & COM Interop works in a WinForms.NET application. Here's the situation: I have a 3rd...
8
by: Lloyd Dupont | last post by:
I just discovered a COM interface which provide some functionality I need. I know nothing of COM and read the documentation and will apply a slow trial and error process. In the documentation I...
11
by: Mike Towers | last post by:
Hi, The company I work for has a web site (IIS5) build using ASP and COM+ components which are written in VB6 and provide the business and database logic for the site. We would very much like...
2
by: Arif Khan | last post by:
I am currently working on .net 1.1 and want to use COM+ Transaction. Do I have to put assembly using COM+ transaction (specific class inheriting from ServicedComponent) in GAC? as per my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.