473,387 Members | 1,493 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,387 software developers and data experts.

COM+ Minutes to idle shutdown programmatically?

Is there an attribute or property that I can set in my AssemblyInfo.cs that
is used to setup my COM+ application so that I can set the "Minutes until
idle shutdown" of the app to something other than the 3 minute default?

I am using others like:
ApplicationName
ApplicationActivation
ApplicationAccessControl

but I can't find one to set the idle shutdown.

Thanks,
Tim
Jul 21 '05 #1
3 2902
Hi Tim,

Thanks for using Microsoft MSDN Managed Newsgroup.

Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.
Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Jul 21 '05 #2
Hello Tim,

Thanks for your post. As I understand, you want to set COM+ Idle Shutdown
programmatically. Please correct me if there is any misunderstanding. I now
share the following information with you:

Based on my experience and research, I believe that there is no property we
can set in AssemblyInfo.cs to change the Idle Shutdown time. You can use
the property "ShutdownAfter" of the COM+ Applications (in COMAdmin) to
implement your requirement. For more inforation, please refer to the
following article:

ShutdownAfter
http://msdn.microsoft.com/library/en...llections_2ram.
asp?frame=true#_cos_applications_shutdownafter

Automating COM+ Administration
http://msdn.microsoft.com/library/en...gadmin_9a26.as
p?frame=true

Summary Description of the COMAdmin Classes
http://msdn.microsoft.com/library/en...gadmin_6voz.as
p?frame=true

Overview of the COMAdmin Objects
http://msdn.microsoft.com/library/en...gadmin_64fn.as
p?frame=true

Please feel free to let me know if you have any problems or concerns.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #3
Yes, I want to set the COM+ Idle Shutdown programmatically. Thanks for the
links to those topics. I looked at them and that is exactly what I need.

Thanks for you help!
Tim

"Tian Min Huang" <ti******@online.microsoft.com> wrote in message
news:vk**************@cpmsftngxa07.phx.gbl...
Hello Tim,

Thanks for your post. As I understand, you want to set COM+ Idle Shutdown
programmatically. Please correct me if there is any misunderstanding. I now share the following information with you:

Based on my experience and research, I believe that there is no property we can set in AssemblyInfo.cs to change the Idle Shutdown time. You can use
the property "ShutdownAfter" of the COM+ Applications (in COMAdmin) to
implement your requirement. For more inforation, please refer to the
following article:

ShutdownAfter
http://msdn.microsoft.com/library/en...llections_2ram. asp?frame=true#_cos_applications_shutdownafter

Automating COM+ Administration
http://msdn.microsoft.com/library/en...gadmin_9a26.as p?frame=true

Summary Description of the COMAdmin Classes
http://msdn.microsoft.com/library/en...gadmin_6voz.as p?frame=true

Overview of the COMAdmin Objects
http://msdn.microsoft.com/library/en...gadmin_64fn.as p?frame=true

Please feel free to let me know if you have any problems or concerns.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #4

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

Similar topics

1
by: Noah | last post by:
Hi, How do I shutdown a win32 COM server? I am scripting Adobe Illustrator through its COM interface. The problem is that Illustrator has memory leaks. And after a few hours of running,...
1
by: Li Pang | last post by:
Hi, I'd like to know if COM+ can be managed programmatically, i.e., start/shutdown an application. Thanks in advance
7
by: iwdu15 | last post by:
how can i tell if my system has gone idle? then how can i execute a command accordingly? thnks
5
by: Tim Werth | last post by:
Is there an attribute or property that I can set in my AssemblyInfo.cs that is used to setup my COM+ application so that I can set the "Minutes until idle shutdown" of the app to something other...
8
by: Stefan Barlow | last post by:
On IIS 6, I've disabled idle timeouts and any app pool recycling other than the 29 hour timed recycle. I've disabled both on the app pool itself and on all app pools at the server level. I've...
33
by: ram.ragu | last post by:
hi i have problem to calculate idle time of cpu and if idle time is more then i have to shut down the system. can anyone tell me the idea to so that please
3
by: enggwaqas | last post by:
I have a web service that normally takes 50 minutes to execute, howerver when it reaches to 20 minutes it gives HTTP 500 internal server error. I tried every possible solution like but not luck....
3
by: W. Watson | last post by:
After simply trying to write a program with help(MakeQTE), a module, and having it fail with socket errors, I decided to restart IDLE, thinking I knew the cause. I'm now getting msgs like: "IDLE's...
1
by: chandru | last post by:
hai friends, Iam developing a application using .NET remoting ,in which it shuts down,logs off , restart , locks remote PC.i tried to use windows ExwindowsEXAPI for shutdown,logoff , restart ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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.