ServicedComponents are created for you by the COM+/.NET runtime. This is why you can't pass parameters to the constructor.
So, you'll have to rewrite some logic if you want to use serviced components. (however, you can utilize COM+ constructor strings... ) Morty -----Original Message----- From: Alan Williams [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 2:58 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Serviced Components and New() We have classes that have properties set (eg. connection string, user language) from values passed in the New() constructor. This works fine. I am now converting the classes to ServicedComponents for COM+ 1.0 primarily for transaction support and after several days work now find that apparently "Classes derived from ServicedComponent do not support constructors with arguments". It will be a lot of work to restore a parameterless New() to each class and then call an ordinary method instead from the instantiated object to set the properties. Our Web project is fairly large and component classes are instantiated in several hundred places. Am I resigned to doing this or am I missing something really fundamental? Thank for any advice. Alan Williams RTIX Ltd. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.