How to access the com+ service with .NET Remoting

dotnet framework

    Next

  • 1. Trouble distributed transaction and oracle
    Hi everybody, I writing a .net application that access an oracle database and uses a distributed transaction to manipulate the data. This application runs within a windows services, periodically the application checks the database and perform a series of operations within a distributed transaction. When I run ONLY ONE windows service instance, everything works perfectly, but if I start two or more instances of my windows service, the error 6106 is raised, the error occur in the exactly moment when I call the Open method of my OracleConnection object. The description of the error 6106 is RA-6106 NETTCP: socket creation failure Note: if I disable the distributed transaction and start two instances of windows service, the application works perfectly. Does anyone have any suggestions to solve this issue? Thanks in advance, Guilherme
  • 2. PGM Multicasting using RDM Socket
    I've recently created an application housed on a few servers...each server is listening to a multicast address on a socket using the RDM socket type. Supposedly, this uses PGM(Pragmatic General Multicasting) for multicasting... How can I test the reliability of this form of multicasting? I'm planning on using it in an enterprise environment so I need reliable multicasting and before we deploy the application I would like to make sure this form of multicasting is indeed reliable.
  • 3. Writing to a database using Embedded Sql
    I have a small asp.net web app for a survey. The application is supposed to write the data into the database using Embedded Sql using application blocks for data access. I will have to use the sqlHelper.ExecuteNonQuery to do the same. But am not sure how to go about it. Also how do I specify the connection string in the web.config file? Can anyone help me with this pls? Thanks
  • 4. Updater Block on Win 98
    Can I use the Updater block on a Win98 machine that has the 1.1 Framework installed? The documentation says that WinXP is the only OS that is supported. It seems like it should be based more on the Framework version than on the os version though. Thanks, Chris
  • 5. ms access form to webform
    Hello everyone, I'm trying to emulate a MS Access form I have created to a webform. The MS Access form has a combo box with the BeforeUpdate event: Private Sub ControlName_BeforeUpdate(Cancel As Integer) If Me.ControlName.Value = "Yes" Then DoCmd.OpenForm "frmAnotherForm", acNormal, , "FILTER_BY_ID='" & strCurrID & "'", acFormEdit, acDialog, Me.AutoNumberField.Value End If End Sub The strCurrIID is a global variable(just for clarification of what the variable is). As you may know, when one of the controls of the parent form starts to get filled in, the autonumber field of the under laying table gets generated. I have re-created the table in SQL Server(MSDE) with the autonumber field from MS Access as an Identity field. I know that this might be a loaded question, but what I want to know is, how would I be able to emulate the vba code in my BeforeUpdate query? Thanks in advance for your productive respone!

How to access the com+ service with .NET Remoting

Postby zhenghuan » Wed, 14 Jul 2004 12:08:42 GMT

 How to access the com+ service with .NET Remoting? Any ideas would be appreciated.

     



   
             zhenghuan
              XXXX@XXXXX.COM 


Similar Threads:

1..Net remoting and Com+ enterprise services problem

Hi,

Here is the situation:
I have business layer that runs as com+ component (server activation), and
it is exposed to clients thru remoting (remoting is configured in simple
host application that runs on the same machine as business layer).
Now I want to transfer some custom data (regarding client credentials) all
the way to com+ component.
I have implemented custom sinks that are responsible for transfering data
from client machine to host application (by transfering client's
Thread.CurrentPrincipal to server and replacing server's
Thread.CurrentPrincipal with client's), but in com+ component
Thread.CurrentPrincipal always returns windows account of host application
(in library activation all works fine, because business layer and host are
in the same process).
Passing data as parameters is out of question, because it could be a
maintenance nightmare (i have 100+ methods in business layer).
I have read bunch of enterprise services and .net framework articles
regarding security, but none seems to address this problem.
BTW this is distributed application where client could be anywhere
(internet, intranet, same computer...), so native com+ autorization isn't
good (because it relies on windows identity of the client).


2.COM+ Web Services (ie remoting com+ from IIS)

Whilst I await a response for the problem I have getting this working for me 
I would like to ask another question related to enabling COM+ components to 
be called as web services (checking the SOAP checkbox on the activation tab 
of the com+ application properties).

Are there any performance issues with this method, instead of wrapping up 
the classes and exposing webmethods yourself?  If so what can be done to 
minimise these?

All com+ applications in this scenario are c# (managed code).



--------------------------
Shaun Venus

emailid:  sunevnuahs
domain:  hotmail.com
--------------------------

3.Access .NET DIME Service from COM SOAP Toolkit 3 client

Hi

I have created a .NET web service that can be requested to 
deliver binary data using DIME attachments.

I also have created the client part using .NET without too 
many problems.

But what if I need a COM client to consume the DIME 
attachments from the .NET web service?
Are there any good books, samples that explain this 
constellation?

Sincerely
Stephan Brunner
 

4.Windows-service remoting - IPC vs. COM

Hi,

i am developing a windows service in C# with the .NET framework 2.0
which must be configured by different applications (VB 6.0 and C#).

I need one single object which should be used (how its made by the
IPC-remoting-mechanism). But it seems to me that i can't use the
IPC-channel mechanism for the VB 6.0 applications. So i wanna use a COM
component in VB 6.0. I think i can use a COM wrapper to use the
IPC-mechanism under VB 6.0, but it would be better to use only one
technique (so i guess this must be COM).

But can i do the same things with com as with IPC ? Can i use one
single object for all applications? And can i use event-handling like
with IPC-remoting?

Thank you for your information.

5.accessing window services using .Net remoting

6. .NET Remoting vs COM+ Serviced Component

7. Accessing ATL COM DLL object from VB.NET using asynchronous delegate in COM Development

8. Remoting Service calling local remoting Service



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 24 guest