Re: Sharing a ADO connection between two processes - Can it be done ?

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Herby" <prmarjoram@xxxxxxxxx> wrote in message
news:1159787669.836583.75730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
We have a client and server application that run on the same machine.
We want both to participate in the same transaction.

To acheive this I understand they need to share the same connection
object.

The server currently supports a COM interface, as the client passes
across copies of simple data types Strings and integers etc.

But now they want to pass across the client ADO connection object. The
data-writes within the server should then use this connection object
for creating its recordsets etc.

On return to the client - the client may then decide to commit or
rollback via the same connection object.

I understand the server would have a proxy back to the actual
connection object residing in the client address space. Is this going
to work?


It is possible (what in programming isn't?), but I can't imagine a scenerio
where this would be practical. The extra wire traffic alone would likely
slow everything down to a crawl.(An ADO Connection object isn't just a
connection.)

What is it you are really trying to accomplish by doing this?

-ralph


.



Relevant Pages

  • Re: .Net Scalability problem
    ... LoadRunner will peak out a server with a few virtual users. ... To get an idea of load, ... Fire off the test client and watch the number of ... > So I think that the MTC generate concurrent connection and per ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Connection lost at same time every hour (sometimes)
    ... After making the two following alterations on the server the problem seems ... After analyze your ipconfig on SBS and client, ... Then, other connection is good, ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Reason of permanent popups is VMware server aplication on clients. ... Run CEICW to configure the network of SBS: ... Two network adapters - manual router connection to broadband ... Uninstall VMware on client. ...
    (microsoft.public.windows.server.sbs)
  • Re: Lan setup 2 nic
    ... The external nic only has TCP/IP enabled. ... Ipconfig of the server is looking good, but the client is still missing the ... > connection so we have a 2 nic with router setup now. ...
    (microsoft.public.windows.server.sbs)
  • Re: Regular disconnections from remote web workplace
    ... I can connect to office server and all office clients from home at all times ... be physically working right up until the connection is lost. ... If I enter http://companyip from a client I receive the login screen for the ... Click Services tab and select Hide All Microsoft Services and Disable ...
    (microsoft.public.windows.server.sbs)