
Serverfel i tillämpningsprogrammet /swkweb.
--------------------------------------------------------------------------------
Det gick inte att göra en anslutning eftersom måldatorn aktivt nekade det 192.168.1.162:8080
Beskrivning: Ett undantag som inte kunde hanteras uppstod när den aktuella webbegäran kördes. Mer information om felet och var i koden det uppstod finns i stackspårningen.
Undantagsinformation: System.Net.Sockets.SocketException: Det gick inte att göra en anslutning eftersom måldatorn aktivt nekade det 192.168.1.162:8080
Källfel:
Rad 154: if (!string.IsNullOrEmpty(DeviceName))
Rad 155: {
Rad 156: return Proxy.Device.GetDevices().FirstOrDefault(d => DeviceName.Equals(d.Name));
Rad 157: }
Rad 158:
Källfil: c:\inetpub\wwwroot\swkweb\DeviceControl.ascx.cs Rad: 156
Stackspårning:
[SocketException (0x274d): Det gick inte att göra en anslutning eftersom måldatorn aktivt nekade det 192.168.1.162:8080]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +290
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +37
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +443
[WebException: Det går inte att ansluta till fjärrservern]
System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) +776
System.Net.HttpWebRequest.GetRequestStream() +13
System.ServiceModel.Channels.WebRequestHttpOutput.GetOutputStream() +69
[EndpointNotFoundException: Det gick inte att ansluta till http://192.168.1.162:8080/SwitchKingFra ... erviceHost. TCP-felkod 10061: Det gick inte att göra en anslutning eftersom måldatorn aktivt nekade det 192.168.1.162:8080. ]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +222
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +887
SwitchKing.Common.Contracts.Framework.Devices.IDeviceContract.GetDevices() +0
SwitchKing.Server.ClientProxies.Proxies.DeviceProxy.GetDevices() +88
SwitchKing.Server.Web.Examples.WebClient.Standard.DeviceControl.GetDeviceByProperties() in c:\inetpub\wwwroot\swkweb\DeviceControl.ascx.cs:156
SwitchKing.Server.Web.Examples.WebClient.Standard.DeviceControl.get_Device() in c:\inetpub\wwwroot\swkweb\DeviceControl.ascx.cs:60
SwitchKing.Server.Web.Examples.WebClient.Standard.DeviceControl.PopulateControlWithData() in c:\inetpub\wwwroot\swkweb\DeviceControl.ascx.cs:111
SwitchKing.Server.Web.Examples.WebClient.Standard.DeviceControl.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\swkweb\DeviceControl.ascx.cs:22
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +163
System.Web.UI.Control.LoadRecursive() +163
System.Web.UI.Control.LoadRecursive() +163
System.Web.UI.Control.LoadRecursive() +163
System.Web.UI.Control.LoadRecursive() +163
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2603
--------------------------------------------------------------------------------
Versionsinformation: Microsoft .NET Framework-version:2.0.50727.5466; ASP.NET-version:2.0.50727.5456