473,881 Members | 1,623 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
ServicedCompone nt 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 ServicedCompone nts 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
"AutoComple te" attribute set on its methods and its transaction settings are
set to Transaction.Req uiresNew. It calls a data layer component that also
has AutoComplete set on its methods. Its transaction setting is
Transaction.Req uired. 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 2009
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******@nowhe re.com> wrote in message
news:u8******** *****@tk2msftng p13.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
ServicedCompone nt 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 ServicedCompone nts 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
"AutoComple te" attribute set on its methods and its transaction settings are set to Transaction.Req uiresNew. It calls a data layer component that also
has AutoComplete set on its methods. Its transaction setting is
Transaction.Req uired. 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
1835
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 panel. The scripts work on my dev box (winxp with iis5) but yet when I upload the scripts to my hosting provider I get the following error
10
2033
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 an email to confirm. Does python have any modules for use with mail programs like sendmail, or should I just run everything with os.system and os.popen? Thanks for any help.
4
2743
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 construction option and using CreateObject in the ASP code. we are now trying to install this application on a new server and we have a very strange problem: Server info: Win2K SP4. the COM+ package is a server package with identity set to be the...
7
1311
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. The component also returns an integer value that contains a return code from the Component (and the appropriate Windows API). The result (using the ASP page) is Zero, which indicates success. However the password doesn't change. (Zero = success,...
3
1217
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 requests from external users. At the core of my DB schema is a request table. This entity has one or more assignment records and each assignment record has one or more assignment log records. The log tracks assignment actions such as hold, release,...
8
8222
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 party COM component that takes about 5 seconds to run one of its functions (Network IO bound call). Since I dont want my GUI to freeze
8
1177
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 see that before calling into COM you should call CoInitialize. And that you shoudl also call CoUnitialize at the end of the app. Isn't .NET using COM already? (after all the .NET JIT has a COM interface), do I need to call it?
11
1282
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 to start using ASP .NET and are looking at how we can migrate our ASP code and COM+ components. I have read several articles which provide a fair amount of information about migrating ASP to ASP .NET but haven't much information about what we do...
2
1395
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 understanding NO. I can but I don't have to put assemblies using COM+ transaction in GAC. Is my understanding right?
0
9776
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11100
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10718
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10401
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9554
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectóplanning, coding, testing, and deploymentówithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5781
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4597
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4196
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.