Hello all,
I am keep having this problem when hitting the Webservice from remotely. Below is my error message. I have try turn off firewall, account access but no help. Please help if you have any ideas why?
TheCollectiveTest.tcLayerTests.test_DTO_AddLayer_entity : System.Net.WebException : Unable to connect to the remote server
----> System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at TheCollectiveDTOLayer.LayerService.LayerService.GetNextLayers(Int32 inParentLayerId) in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\Web References\LayerService\Reference.cs:line 155
at TheCollectiveDTOLayer.tcLayerDTO.initTopLayer() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 37
at TheCollectiveDTOLayer.tcLayerDTO.reloadAllLayers() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 82
at TheCollectiveDTOLayer.tcLayerDTO.GetAllLayerNodes() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 386
at TheCollectiveDTOLayer.tcLayerDTO..ctor() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 26
at TheCollectiveTest.tcLayerTests.test_DTO_AddLayer_entity() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveTest\Tests\tcLayerTests.cs:line 425
--WebException
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
I am keep having this problem when hitting the Webservice from remotely. Below is my error message. I have try turn off firewall, account access but no help. Please help if you have any ideas why?
TheCollectiveTest.tcLayerTests.test_DTO_AddLayer_entity : System.Net.WebException : Unable to connect to the remote server
----> System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at TheCollectiveDTOLayer.LayerService.LayerService.GetNextLayers(Int32 inParentLayerId) in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\Web References\LayerService\Reference.cs:line 155
at TheCollectiveDTOLayer.tcLayerDTO.initTopLayer() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 37
at TheCollectiveDTOLayer.tcLayerDTO.reloadAllLayers() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 82
at TheCollectiveDTOLayer.tcLayerDTO.GetAllLayerNodes() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 386
at TheCollectiveDTOLayer.tcLayerDTO..ctor() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveDTOLayer\tcLayerDTO.cs:line 26
at TheCollectiveTest.tcLayerTests.test_DTO_AddLayer_entity() in c:\Builds\TheCollective\Collectivebuild3\Sources\DMS\TheCollectiveTest\Tests\tcLayerTests.cs:line 425
--WebException
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)