Hey Rocky,
I tried the aspx pages and was able to access them.
Here is the error as I get it.
An exception of type 'System.ServiceModel.EndpointNotFoundException' occurred in mscorlib.dll but was not handled in user code
Additional information: Could not connect to http://192.168.0.217:3564/IndicoWCFHost/WcfPortal.svc. TCP error code 10061: No connection could be made because the target machine actively refused it.
The method of occurance is DataPortalResult Fetch in WcfProxy.cs and the line of code being executed is
WcfResponse response = svr.Fetch(new FetchRequest(objectType, criteria, context));
But you are able, from that same client machine, to navigate to something like
http://192.168.0.217:3564/IndicoWCFHost/testpage.aspx
??
Oh, and did you notice "Indico" should probably be "Indigo"?
It certainly sounds like a port/firewall/security issue. At
which point you are out of my area of expertise. I know there are traffic
sniffers and ways you can turn on tracing in WCF to watch what’s
happening in more detail. Juval Lowy’s book on WCF can probably help with
some of the WCF tracing configuration options – a google search (or
others on this forum) may have good ideas for TCP packet sniffers.
Rocky
From: checlark
[mailto:cslanet@lhotka.net]
Sent: Thursday, November 01, 2007 3:40 PM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] Trying to setup the WCF data Portal getting
machine actively refused connection
Sorry, just tried it using the port number with the test
pages with no luck. Without port number works fine. Also tried the service
itself without port number and had no luck. As a final note, I did open up port
3564 in windows firewall.
I have the same problem. How do you fixed it??
Wendy M. A.
It could be a Vista thing, though I’m running everything
under Vista just fine. I remember having to mess around with IIS7 to get it
working though – you have to set up the virtual root as an application
and all the same stuff as in IIS6, but of course the admin tools are all
different.
I’m running with UAC on btw, so it isn’t UAC that’s
the issue – the challenges I had were with figuring out the new admin
tool layout.
Rocky
From: Stuart
[mailto:cslanet@lhotka.net]
Sent: Saturday, February 23, 2008 9:09 AM
To: rocky@lhotka.net
Subject: Re: [CSLA .NET] Trying to setup the WCF data Portal getting
machine actively refused connection
I got the PT project and CSLA (version 3) up and running
under XP/VS2005 SP1 without much effort. Then I tried it under Vista
Ultimate recieved the same error. I've tried it with and without UAC
turned on, messed about with IIS 7 for a while, downloaded the hot
fixes and so on. Another Vista challenge, Rocky?
Hi,
I am also having similar problem while running PTWeb application. The following error appears past the Login screen: -
No connection could be made because the target machine actively refused it 127.0.0.1:4147
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:4147
Source File: C:\Visual Studio Projects\csla\Source\DataPortalClient\WcfProxy.cs Line: 130
The environment on my machine is: -
Windows XP Professional SP3, IIS 5.1, IE 6.0.2900, CSLA.Net 3.6
I have gone through the threads on similar error on this forum and have installed the PTWeb application in the IIS as per the install document.
Kindly advise
Thank you,
Check the port number of the WcfHost project and the client’s
config file. Obviously the port numbers must match, and Visual Studio sometimes
changes the port on a web site behind the scenes.
Rocky
Copyright (c) Marimer LLC