473,387 Members | 1,897 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.

Cannot connect to a remote object hosted in a window service

Hi,

My client uses a remote object
when I host the remote object inside a windows application all seem to work
fine
but when I host the same object inside a windows service I get the following
error

" connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond"

If the window service run on the same computer that it is running fine

Thanks.


Nov 16 '05 #1
8 2428
Hello Julia,

It looks like the user account setup for the service does
not have access to the remote object. Trying change the
user account to the one you are logged in as when it
worked.
-----Original Message-----
Hi,

My client uses a remote object
when I host the remote object inside a windows application all seem to workfine
but when I host the same object inside a windows service I get the followingerror

" connection attempt failed because the connected party did not properlyrespond after a period of time, or established connection failed becauseconnected host has failed to respond"

If the window service run on the same computer that it is running fine
Thanks.


.

Nov 16 '05 #2
Hi,

Are any of the computers running a firewall?

are you using the correct IP to access the remote computer?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Julia" <co********@012.net.il> wrote in message
news:eU**************@TK2MSFTNGP14.phx.gbl...
Hi,

My client uses a remote object
when I host the remote object inside a windows application all seem to
work
fine
but when I host the same object inside a windows service I get the
following
error

" connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond"

If the window service run on the same computer that it is running fine

Thanks.

Nov 16 '05 #3
I am not sure I understand you

Machine A running windows application client
Machine B running windows service ,hosting an object

What should I do in order that machine A will be able to connect the object
in machine B using .NET remoting?

if all run on the same machine thant it is working.

Thanks.

"BuddyWork" <an*******@discussions.microsoft.com> wrote in message
news:0e****************************@phx.gbl...
Hello Julia,

It looks like the user account setup for the service does
not have access to the remote object. Trying change the
user account to the one you are logged in as when it
worked.
-----Original Message-----
Hi,

My client uses a remote object
when I host the remote object inside a windows

application all seem to work
fine
but when I host the same object inside a windows service

I get the following
error

" connection attempt failed because the connected party

did not properly
respond after a period of time, or established

connection failed because
connected host has failed to respond"

If the window service run on the same computer that it

is running fine

Thanks.


.

Nov 16 '05 #4

No firewall is running
the IP is correct

I think it is got to do with permissions but I don't quite know what to do
If a window service is running in machine A there must be a way to prevent
or enable other machine to connect it
isn't it?!?

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:eM**************@tk2msftngp13.phx.gbl...
Hi,

Are any of the computers running a firewall?

are you using the correct IP to access the remote computer?
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Julia" <co********@012.net.il> wrote in message
news:eU**************@TK2MSFTNGP14.phx.gbl...
Hi,

My client uses a remote object
when I host the remote object inside a windows application all seem to
work
fine
but when I host the same object inside a windows service I get the
following
error

" connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond"

If the window service run on the same computer that it is running fine

Thanks.


Nov 16 '05 #5
What technology are youo using to call betwwen the processes? Remoting? DCOM(COM+ Serviced Commponent)?

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

No firewall is running
the IP is correct

I think it is got to do with permissions but I don't quite know what to do
If a window service is running in machine A there must be a way to prevent
or enable other machine to connect it
isn't it?!?

Nov 16 '05 #6
Basically has the user that is running the Windows
Service got access to the Remote object.
-----Original Message-----
I am not sure I understand you

Machine A running windows application client
Machine B running windows service ,hosting an object

What should I do in order that machine A will be able to connect the objectin machine B using .NET remoting?

if all run on the same machine thant it is working.

Thanks.

"BuddyWork" <an*******@discussions.microsoft.com> wrote in messagenews:0e****************************@phx.gbl...
Hello Julia,

It looks like the user account setup for the service does not have access to the remote object. Trying change the
user account to the one you are logged in as when it
worked.
>-----Original Message-----
>Hi,
>
>My client uses a remote object
>when I host the remote object inside a windows

application all seem to work
>fine
>but when I host the same object inside a windows
service I get the following
>error
>
>" connection attempt failed because the connected
party did not properly
>respond after a period of time, or established

connection failed because
>connected host has failed to respond"
>
>If the window service run on the same computer that it

is running fine
>
>Thanks.
>
>
>
>
>.
>

.

Nov 16 '05 #7

I am using .NET remoting

"Richard Blewett [DevelopMentor]" <ri******@NOSPAMdevelop.com> wrote in
message news:u%****************@TK2MSFTNGP12.phx.gbl...
What technology are youo using to call betwwen the processes? Remoting? DCOM(COM+ Serviced Commponent)?
Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

No firewall is running
the IP is correct

I think it is got to do with permissions but I don't quite know what to do If a window service is running in machine A there must be a way to prevent or enable other machine to connect it
isn't it?!?

Nov 16 '05 #8
The 'remote' object is hosted in the window service
by saying remote object I mean an object which can be accessed remotely

"BuddyWork" <an*******@discussions.microsoft.com> wrote in message
news:15****************************@phx.gbl...
Basically has the user that is running the Windows
Service got access to the Remote object.
-----Original Message-----
I am not sure I understand you

Machine A running windows application client
Machine B running windows service ,hosting an object

What should I do in order that machine A will be able to

connect the object
in machine B using .NET remoting?

if all run on the same machine thant it is working.

Thanks.

"BuddyWork" <an*******@discussions.microsoft.com> wrote

in message
news:0e****************************@phx.gbl...
Hello Julia,

It looks like the user account setup for the service does not have access to the remote object. Trying change the
user account to the one you are logged in as when it
worked.

>-----Original Message-----
>Hi,
>
>My client uses a remote object
>when I host the remote object inside a windows
application all seem to work
>fine
>but when I host the same object inside a windows service I get the following
>error
>
>" connection attempt failed because the connected party did not properly
>respond after a period of time, or established
connection failed because
>connected host has failed to respond"
>
>If the window service run on the same computer that it
is running fine
>
>Thanks.
>
>
>
>
>.
>

.

Nov 16 '05 #9

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

Similar topics

0
by: Ari Royce Hidayat | last post by:
I have a .net remoting client hosted in IE (with object tag). This client takes a looong time (2 minutes) when it calls one of the remote function for the first time (I think .net remoting really...
22
by: Smutny30 | last post by:
Hello, I am preparing a database that will store 10 n * GBs - 100 n * GBs of data. I calculated to have 1,2 GB of bufferpools. I run the DB2 v. 8.2.1 alone on 4 GB box. I obtain : ...
0
by: Julia | last post by:
Hi, I have a windows service which host a remote object to be accessed by ASP.NET application(web admin) and MMC(windows admin) the remote object uses a data base to read properties I...
15
by: JJ | last post by:
A current requirement I am facing is the all business objects be stateless remote components hosted in IIS. I am partial to web services myself. However, it is insisted that IIS hosted remoting be...
10
by: blurryimage | last post by:
Ok guys I have racked my brain on this one. I have a vb .net service installed on a win2k server. I am trying to get it to connect to sql 2000 box but I get this error: An error has occurred...
0
by: WatchoutMac | last post by:
I have a C# .NET client (2.0 Framework) that needs to connect to a java web service (built with Axis) and send some data for processing. The java web service is hosted on a secured Apache server ( I...
4
by: =?Utf-8?B?VG9kZCBKYXNwZXJz?= | last post by:
Hey guys, I've written a web application that I'm simply trying to use to access a database. When I run the application locally (or as an NT Service) it can easily access the remote SQL...
3
by: Looch | last post by:
All, I have a remotable object hosted in IIS and one of the methods connects to an Access db on a different machine. I can't seem to connect to the access db. I thought there may have been a...
4
by: eschneider | last post by:
I get the following error when trying to browse the .asmx. I get the same thing when trying to add a reference. using .NET 2.0 There is no error message. Any ideas? Thanks,
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.