473,799 Members | 2,665 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 1435
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
6464
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
9223
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
2979
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
2130
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
9550
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
10269
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
10032
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...
1
7573
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
6811
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
5469
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
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4148
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
3
2942
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.