473,663 Members | 2,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS hanging in ASP.Net/Component Services

Jim
We are experiencing a problem with component services in .Net and IIS. We
use component services to handle transactions against SQL Server. At some
point of usage, IIS will hang up and the lowest level in the stack trace is
at System.Enterpri seServices.Thun k.Proxy.CoCreat eObject and also sometimes
at System.Enterpri seServices.Thun k.Proxy.RevokeO bject. Each thread that
comes in after this gets stuck in the same spot and IIS is hung at that
point and requires us to restart IIS. No exceptions are thrown; the threads
are simply hung up. Looking at SQL Server Enterprise Manager, it does not
look like there is a deadlock in SQL Server so that can be ruled out. Its
almost like COM+ is getting hung up when the objects need created or
remoting communications are blocked.

Here is a partial call stack displaying when it wa stuck at
System.Enterpri seServices.Thun k.Proxy.RevokeO bject:

system.enterpri seservices.thun k.dll!System.En terpriseService s.Thunk.Proxy.R e
vokeObject(int cookie) + 0x80 bytes

system.enterpri seservices.dll! System.Enterpri seServices.Serv icedComponentPr o
xy.CleanupQueue s(bool bGit) + 0x5f bytes

system.enterpri seservices.dll! System.Enterpri seServices.Serv icedComponentPr o
xyAttribute.Cre ateInstance(Sys tem.Type serverType) + 0x3b bytes

mscorlib.dll!Sy stem.Runtime.Re moting.Activati on.ActivationSe rvices.IsCurren t
ContextOK(Syste m.Type serverType, System.Object[] props, bool bNewObj) +
0x4b bytes
When this happens the CPU is not at 100% so this is like a wait state thats
blocking the execution of Component Services methods.

Anyone have any ideas of what's going on?

Thanks,
-Jim
Nov 18 '05 #1
2 2235
Hello Jim!
Have you ever found a solution to the IIS hanging problem, which would
produce a following call stack:

at System.Runtime. InteropServices .Marshal.ThrowE xceptionForHR(I nt32
errorCode, IntPtr errorInfo)
at System.Enterpri seServices.Thun k.Proxy.RevokeO bject(Int32 cookie)
at System.Enterpri seServices.Serv icedComponentPr oxy.CleanupQueu es(Boolean
bGit)
at System.Enterpri seServices.Serv icedComponentPr oxyAttribute.Cr eateInstance(Ty pe
serverType)
at System.Runtime. Remoting.Activa tion.Activation Services.IsCurr entContextOK(Ty pe
serverType, Object[] props, Boolean bNewObj)
We encountered a similar issue, same call stack, which is very hard to
reproduce. The only difference is that in our case IIS does not hang.
ASP
Page pukes with E_ENVALIDARG with "parameter is incorrect" message.
Please let me know.

Boris
Nov 18 '05 #2
Dev
Boris,

If your server is crashing or hanging you might want to
download our ReJuvin8 tool. It's free for the first
15-days. It can keep your site running despite problems.

It's designed to detect problems then restart or reboot.
It can restart ANY programs, services, or processes in
precise order. It doesn't fix bugs but it does give you some
breathing room while you are finding them. ReJuvin8 also
gives you email and telephone alert messages and graphic
status reports. It runs as a Windows Service.

It can also test, alert, and report on URLs running anywhere
on any server on your net connection. So if you use multiple
servers you can use them to watch each other, too.

ReJuvin8 has both an automatic and a custom mode. In the
auto mode you make all the settings by pointing and
clicking. This will handle most applications.

The custom mode uses heartbeat synch files to get absolute
detection that key processes are working. Tools and
instructions are provided to help you do this. We also offer
customization as a contract service.

Charles
Get ReJuvin8 at: http://www.rejuvin8.net?ac=ch1
"Boris Partensky" <bo***@metratec h.com> wrote in message
news:e0******** *************** ***@posting.goo gle.com...
Hello Jim!
Have you ever found a solution to the IIS hanging problem, which would
produce a following call stack:

at System.Runtime. InteropServices .Marshal.ThrowE xceptionForHR(I nt32
errorCode, IntPtr errorInfo)
at System.Enterpri seServices.Thun k.Proxy.RevokeO bject(Int32 cookie)
at System.Enterpri seServices.Serv icedComponentPr oxy.CleanupQueu es(Boolean bGit)
at System.Enterpri seServices.Serv icedComponentPr oxyAttribute.Cr eateInstance(Ty p
e serverType)
at System.Runtime. Remoting.Activa tion.Activation Services.IsCurr entContextOK(Ty p
e serverType, Object[] props, Boolean bNewObj)
We encountered a similar issue, same call stack, which is very hard to
reproduce. The only difference is that in our case IIS does not hang.
ASP
Page pukes with E_ENVALIDARG with "parameter is incorrect" message.
Please let me know.

Boris

Nov 18 '05 #3

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

Similar topics

3
2574
by: Alan | last post by:
Gidday people, I had a bit of a problem this morning. I think I've got it sorted now, but I wonder if anyone can shed some light. I have a plain VBS WHS file that instantiates a component that controls an interface file import process. This component, Controller, is part of FinInterface.dll, and instantiates another component, Implementor (same dll), that does the actual data access (an insert into a FinanceDataImports table, and then...
3
2604
by: Michael Crawford | last post by:
Hi, Where would one start for this type of application: I want to create an vb.net container application that has the gives the end user the ability to install and uninstall plugins or add-in modules. As the user installs the various components, additional functionality to the application is integrated. How would I structure or orchestrate a project plan that makes use of add-in
3
5435
by: Robert | last post by:
We have several serviced components written in .NET 1.1. Using Visual Studio, we have an installer project that creates an installer for them. The components are installed properly into the GAC and show in the Component Services control panel. The issue is when we uninstall or want to upgrade the components. What we have found is if there are live instances pooled and running (which is always the case as we want them to be ready for...
1
1410
by: Matt Swift | last post by:
I have a question regarding the way that we can load page components seperately, so that a user sees various parts of a site load as the data comes back, but the whole site in general is already loaded up, so it looks like stuff isnt being held up and it looks more realtime. this happens on something like project server, as the page loads up, it doesnt hang waiting for stuff from the database, it just fills parts in as they come back. i...
0
1047
by: SenthilVel | last post by:
Hi I want to list the available "Component Services " (COM+) in a machine . i am trying to get the list of Componenet services in a machine using windows forms in dotnet , how can i retrive the list of componenet services, i know we can get the list of windows services, but i dont know how to get the list of Component services ?
3
4088
by: SenthilVel | last post by:
Hi I want to list the available "Component Services " (COM+) in a machine . i am trying to get the list of Componenet services in a machine using windows forms in dotnet , how can i retrive the list of componenet services, i know we can get the list of windows services, but i dont know how to get the list of Component services ?
11
1857
by: BillGatesFan | last post by:
I have a web service which calls a .NET queued serviced component in COM+. I turned statistics on for the component. I call the component 10 times, 10 objects get created but they do not go away. I'm calling Marshal.ReleaseComObject after I make each call. public NotifyResponse Notify(NotifyRequest reqMessage) { try {
0
5344
by: bharathreddy | last post by:
In .Net COM+ components are referred to as serviced components, Namespace: System.EnterpriseServices; Advantage of Serviced Components: object pooling, database connection pooling,
3
1682
by: Microsoft | last post by:
Hi I have a c# program that continually runs 24/7 and performs a variety of tasks based on a timer. There is one routine that hangs every Saturday morning without fail. If I restart the program throughout the week is still hangs. I can restart it immediatly after the hang and it runs fine until next Saturday. There is nothing different about Saturday that I can think of.
0
8345
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
8858
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...
1
8548
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7371
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
5657
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4182
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
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.