all groups > dotnet component services > january 2004
Failing to register component using RegSvcs
Posted by jpyoung NO[at]SPAM io.com at 1/30/2004 10:01:13 PM
I have been trying to get a previously built .NET component to run on
a Windows 2000 Server box. It's previous home was on an XP box using
..NET framework version 1.0.3328. On that machine, it ran with no
problem, but on the 2000 Server box, with version 1.1.4322, it fails
to load and gives an a... more >>
How to tell a .Net COM+ application which version of the Framework version to use?
Posted by Craig Bryden at 1/30/2004 4:00:10 PM
Hi
I created a COM+ application using .Net 1.0. I have subsequently installed
..Net 1.1 on my computer. It seem that the COM+ app has automatically started
running against 1.1, and is not working properly as a result.
I have found help on how to tell a .Net App(EXE) which Framework version t... more >>
Component doesn't register in COM+
Posted by KK at 1/23/2004 7:50:09 PM
Hi
I did a simple COM+ and when trying to register it gives the following error
"One or more files do not contain components or type libraries. These files
cannot be installed"
I have tried debug/release both versions, still the same. Before adding I
have compiled teh component with stron... more >>
[AutoComplete] and No class interface error when there is one
Posted by akutz NO[at]SPAM austin.utexas.edu at 1/23/2004 10:15:23 AM
I get the classic error when I register my ServicedComponent with
regsvcs:
WARNING: The class 'AdTools.AuthenticatedComServer' has no class
interface, whic
h means that unmanaged late bound calls cannot take advantage of
AutoComplete me
thods.
However, it *does* have a class interface on ... more >>
InvalidCastException on instance creation
Posted by Gert Driesen at 1/22/2004 10:48:52 AM
Hi,
After a few days of operation, we sometimes get an InvalidCastException on
the creation of an instance of a COM+ library-type component (written in C#)
:
Exception: System.InvalidCastException
Message: CoCreateInstance returned an unexpected type: expected
Vmw.W8.CommunicationService.B... more >>
Unit testing.
Posted by Liza K. at 1/21/2004 6:08:11 PM
can we do unit testing like checking the functionality of button in Mic-ACT?
Please provide me the solution. I need urgent help.
Liza
... more >>
Get Windows services account (user/pwd)
Posted by Piermaria Saglietto at 1/16/2004 12:17:54 AM
Hi,
i am new to windows services and i have this problem.
I need, into a service, to connect to an Oracle database with same
user/password of the service account.
Can i find this information ?
Thanks in advance
Piermaria
... more >>
Remoting from Windows Service
Posted by Lee Gillie at 1/15/2004 2:52:43 PM
Does someone have a design pattern for an singleton object, published
by a Windows Service, that can be used to provide control over the
service?
Things such as configuration parameters. It would be nice if the
remoted object instance in the could call functions in the service
class (set/get ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
a decent explanation of Dispose() and DisposeObject() please??
Posted by Andrew at 1/13/2004 5:39:26 PM
Hi there,
I have a class which is derived from ServicedComponent. The instances do not
support JITA, nor do they require any transactions.
Each pooled object holds a few references to expensive resources.
My usage is as follows:
- Get an instance from the pool
- Execute method1
- Exec... more >>
COM+ Transaction Issue
Posted by TheT8 at 1/12/2004 1:03:10 PM
Has anyone encounter an error similiar to the one below.
How does one resolve this issue? Suggesstions, solutions?
Development environment:
..NET Framework 1.1
Visual Studios .NET 2003
COM+ 1.5
Windows XP and Windows 2003
Thank you.
T
... more >>
Problem with registering VB DLLs. Please help urgently....
Posted by Kelly G. at 1/9/2004 5:32:39 PM
I need to register a Vb DLL under restricted acess privilages please
provide me a solution.
Here is the complete issue:
I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim
component basically) ,
Our application has to install both with Administrative privialges and
restr... more >>
Queue Component(Serviced Component) Memory Leak
Posted by Simon Hughes at 1/8/2004 2:57:11 PM
I have a simple component that is derived from ServicedComponent, and has a
strong name, and is installed into COM+. The component is just a shell with
no actual code yet. The following code when called repeatedly shows a memory
leak in the DLLHost process
Dim x as IMyInterface
x = new MyObje... more >>
IIS hanging in ASP.Net/Component Services
Posted by Jim at 1/8/2004 11:26:35 AM
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.EnterpriseServices.Thunk.Proxy.CoCreateObject and also sometime... more >>
Marshal.ReleaseComObject() + object pooling on Windows Server 2003
Posted by michaelozer NO[at]SPAM hotmail.com at 1/8/2004 7:52:34 AM
Hi,
my pooled queued components are not being released by
Marshal.ReleaseComObject() on Windows Server 2003. The component
processes the queue messages just fine, but number of activated
objects in COM+ MMC grows with each activation. It gets released,
however, on my XP workstation. And on both... more >>
COM+ Transaction Timeout Threshold?
Posted by Largo SQL Tools at 1/5/2004 5:16:15 PM
I'm running into a problem which may be related to a timeout occurring. I
have a app that is consuming a web service I wrote. The web service does a
large amount of database updates using COM+ transaction support. After
about 70 to 80 seconds I get an error stating the following: "Distributed... more >>
AutoCompleteAttribute constructor
Posted by Chris Leffer at 1/3/2004 9:05:38 AM
What is the real difference between AutoComplete and
AutoComplete(boolean)? Accordingly to the help, AutoComplete tells the
application to automatically call SetComplete if the transaction
succeeds, but isn't AutoComplete(true) the same? Is 'true' the default
for AutoComplete?
Regards,
Chr... more >>
Passing a COM object as a parameter via Remoting
Posted by Catherine Jones at 1/2/2004 12:50:25 PM
Hi all, we need urgent help in a matter.
We are trying to pass a COM object from the client to server and are
facing some problems in the same.
We've our client in C# as well as the Server in C# and we're using
remoting for client to server communication.
Out client first creates an o... more >>
COM+ contexts
Posted by rbscheer NO[at]SPAM my-deja.com at 1/2/2004 12:35:57 PM
Hello.
I need some help in order to understand contexts. The article at
http://www.gotdotnet.com/team/xmlentsvcs/espaper.aspx says that a
context is an environment for objects with similar execution
requirements. If I have two serviced components with exactly the same
attibutes defined, will ... more >>
Confused about library applications
Posted by Erik Cruz at 1/2/2004 10:32:19 AM
Hi.
I am reading about .net serviced components right now, but have a doubt
about library applications. The documentation says that library applications
run in the client`s process. So, if my user has a windows application
installed on his machine and that application calls a serviced componen... more >>
|