473,811 Members | 2,565 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AspCompat causes CCW count to grow

I noticed today that when I have an ASP.NET web page with AspCompat="true ",
the CCW count tracked by the peformance monitor increases every time the page
is loaded. Clicking refresh causes the count to increment. The count grows
into the hundreds before it drops, but it never drops back to 0.

Can anyone explain what's going on? For what managed object is a CCW being
created? What impact will this have on memory usage?

I'm in the midst of trying to resolve some performance/memory issues and I'm
trying to determine to what extent this is playing a role.

This happens under both IIS 5 and 6. The application is using the 1.1
framework with SP1.

Any help/insight would be appreciated. Thanks...
Nov 19 '05 #1
2 1436
why exactly is your aspcompat flag turned on?

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
"R. Todd" <RT***@discussi ons.microsoft.c om> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
I noticed today that when I have an ASP.NET web page with AspCompat="true ",
the CCW count tracked by the peformance monitor increases every time the
page
is loaded. Clicking refresh causes the count to increment. The count
grows
into the hundreds before it drops, but it never drops back to 0.

Can anyone explain what's going on? For what managed object is a CCW
being
created? What impact will this have on memory usage?

I'm in the midst of trying to resolve some performance/memory issues and
I'm
trying to determine to what extent this is playing a role.

This happens under both IIS 5 and 6. The application is using the 1.1
framework with SP1.

Any help/insight would be appreciated. Thanks...

Nov 19 '05 #2
The web page I'm trying to analyze creates VB6 ActiveX components. I noticed
the CCW count was growing, even though I use Marshal.Release ComObject. That
was the motivation for creating a completely blank web page with AspCompat
set to True.

"Alvin Bruney [MVP - ASP.NET]" wrote:
why exactly is your aspcompat flag turned on?

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
"R. Todd" <RT***@discussi ons.microsoft.c om> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
I noticed today that when I have an ASP.NET web page with AspCompat="true ",
the CCW count tracked by the peformance monitor increases every time the
page
is loaded. Clicking refresh causes the count to increment. The count
grows
into the hundreds before it drops, but it never drops back to 0.

Can anyone explain what's going on? For what managed object is a CCW
being
created? What impact will this have on memory usage?

I'm in the midst of trying to resolve some performance/memory issues and
I'm
trying to determine to what extent this is playing a role.

This happens under both IIS 5 and 6. The application is using the 1.1
framework with SP1.

Any help/insight would be appreciated. Thanks...


Nov 19 '05 #3

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

Similar topics

8
6466
by: Adam Louis | last post by:
I would like help resolving this problem. I'm a novice who's been hired to query a hospital database and extract useful information, available to me only in a dynamically generated, downloadable .mdb. The query below query runs correctly and without error, but any attempt to save it causes Access to crash without a message, leaving the .ldb file. Opening the DB reveals it saved a blank "query1". I've upgraded to Jet SP 8, and I'm running...
4
9225
by: Krish | last post by:
I donot understand why it is this way. I have an arraylist. I understand I can get the count by arraylist.count in .net studio, intellisense also gives me arraylist.count.tostring()
0
2142
by: Tormod Hystad | last post by:
Hi fellow bitwrestlers, I have a legacy COM component that performs realtime autentication and authorization against a credit card payment provider. They do not provide a native .Net implementation. I've read everything I've found on how/if I can best use this component in a high traffic ecommerce site built with .Net, but I haven't totally convinced myself (or my boss :-) ) yet, hope one of you can! My conclusion is that I can use this...
2
1255
by: Steve | last post by:
I am using an Activex exe com server built using Visual Basic on an ASP.NET web page. The server uses Thread per object. Do I need to use ASPCompat="true" Steve
3
1580
by: Angelo Brusati | last post by:
When using VB6 COM objects on a ASP.NET page, and having the @Page directive with the AspCompat attribute set to true, it causes an error like "Method '~' of object '~' failed" or "Object reference not set to an instance of an object". The scenario is: - Windows 2003 server - IIS6 - Framework 1.1
0
286
by: R. Todd | last post by:
I noticed today that when I have an ASP.NET web page with AspCompat="true", the CCW count tracked by the peformance monitor increases every time the page is loaded. Clicking refresh causes the count to increment. The count grows into the hundreds before it drops, but it never drops back to 0. Can anyone explain what's going on? For what managed object is a CCW being created? What impact will this have on memory usage? I'm in the...
1
1611
by: Neeraj | last post by:
I am using AspCompat="true" in the page directive from where I am calling Interop written in vb 6.0 which is deployed on COM+ Server. On some pages I am getting the error : Exception Type: System.Web.HttpUnhandledException Info: System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> SCTMatrixExceptionMng.MatrixException: COM object with
1
2981
by: Nicholas Palmer | last post by:
Hi all, Got a question about the AspCompat=true page property. First a little background. We have an ASP.NET app that uses two COM components. The first is the Microsoft OWC 11 components and the second is a custom VB6 COM component. So I was reading about AspCompat=true and it seemed like it would be a good fit for our app. From what I can tell both of the COM components that we are using are STA and we are creating the components in...
2
2131
by: =?Utf-8?B?U2VyZ2lvIE1hcnRpbnM=?= | last post by:
Hi. I have an ActiveX DLL, developed in Visual Basic 6.0 and I need to use that DLL inside an ASP.NET application, developed in Visual Basic .Net 2003. My problem is that in my machine I get the error "QueryInterface for interface ... failed" when I try to use same method of the ActiveX DLL. I try the same application in another machine and everything works fine. I found that if I set the "AspCompat=True" attribute in the page the...
0
9731
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10393
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...
1
10405
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
9208
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...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4342
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
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
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.