Ответы в темах
-
АвторЗаписи
-
TawУчастникГде прописываются пути к схемам? Может путь не находит. Хотя до воспроизведения видео про новый администратор не было проблем с путем к схемам.
TawУчастникЛог Веб-станции
2019-05-22 12:22:03 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> Request SCADA-Server state
2019-05-22 12:22:03 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> Disconnect from SCADA-Server
2019-05-22 12:22:03 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> Connect to SCADA-Server «localhost»
2019-05-22 12:22:04 <DESKTOP-QTU0TBN><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: View type mismatch.:
Scada.ScadaException: View type mismatch.
в Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2019-05-22 12:22:04 <DESKTOP-QTU0TBN><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: View type mismatch.:
Scada.ScadaException: View type mismatch.
в Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2019-05-22 12:22:25 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> Logout: admin. IP address: ::1
2019-05-22 12:22:29 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> Login: admin (Administrator). IP address: ::1
2019-05-22 12:22:29 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> User information has been updated. IP address: ::1. Session: x2lh3ecopvlqidlzhlvhbyqr
2019-05-22 12:22:29 <DESKTOP-QTU0TBN><DefaultAppPool><ACT> Retrieve components from the installed plugins
2019-05-22 12:22:29 <DESKTOP-QTU0TBN><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: View type mismatch.:
Scada.ScadaException: View type mismatch.
в Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2019-05-22 12:22:29 <DESKTOP-QTU0TBN><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: View type mismatch.:
Scada.ScadaException: View type mismatch.
в Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2019-05-22 12:22:33 <DESKTOP-QTU0TBN><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: View type mismatch.:
Scada.ScadaException: View type mismatch.
в Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
2019-05-22 12:22:33 <DESKTOP-QTU0TBN><DefaultAppPool><EXC> Error getting view with ID=2 from the cache or from the server: View type mismatch.:
Scada.ScadaException: View type mismatch.
в Scada.Client.ViewCache.GetView(Type viewType, Int32 viewID, Boolean throwOnError)
TawУчастникТолько почему при открытии из Администратора, тоже из Webstation возникает сообщение об ошибке и я не могу посмотреть схему примера серверной?

Работало до того как я создал свой проект. Сделал Upload на сервер, Агент запущен
TawУчастник
В новой версии приятно работать.
TawУчастникЯ решил проблему. Согласно старому логу Агент работал, значит вчера Rapid Scada 5.7.1 работала. Я посмотрел все обновления Windows и удалил все обновления которые были установлены после времени рабочей версии Rapid Scada 5.7.1.
Теперь все работает и каналы на ModBus тоже


Привожу проблемные обновления Windows

Эти обновления подтянула Visual Studio для облачных технологий Azure и Core (последние технологии программирования на C#, программирование на Core)
Одно из этих или несколько обновлений создают ошибки при работе Rapid Scada 5.7.1-
Ответ изменён 7 лет, 2 месяца назад пользователем
Taw.
TawУчастникМожет проблема с фреймворком или IIS? Но предыдущие версии скады работали хорошо на моей операционной системе. Я не изменял настройки.
TawУчастникЛог Агента не создается. Следовательно, Агент вообще и не запускается.
TawУчастникЯ переустановил Rapid-Scada 5.7.1 заново. Ошибка таже. Привожу Лог Админа чистой скады.
2019-04-09 18:43:22 <HP><Admin><EXC> Unhandled exception:
System.MissingMethodException: Метод не найден: «Boolean Scada.Admin.Deployment.UploadSettings.get_RestartServer()».
в Scada.Admin.App.Controls.Deployment.CtrlTransferSettings.SettingsToControls(TransferSettings transferSettings)
в Scada.Admin.App.Forms.Deployment.FrmUploadConfig.ctrlProfileSelector_SelectedProfileChanged(Object sender, EventArgs e)
в Scada.Admin.App.Controls.Deployment.CtrlProfileSelector.OnSelectedProfileChanged()
в Scada.Admin.App.Controls.Deployment.CtrlProfileSelector.cbProfile_SelectedIndexChanged(Object sender, EventArgs e)
в System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
в System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
в Scada.Admin.App.Controls.Deployment.CtrlProfileSelector.FillProfileList()
в Scada.Admin.App.Controls.Deployment.CtrlProfileSelector.Init(AppData appData, DeploymentSettings deploymentSettings, Instance instance)
в Scada.Admin.App.Forms.Deployment.FrmUploadConfig.FrmUploadConfig_Load(Object sender, EventArgs e)
в System.Windows.Forms.Form.OnLoad(EventArgs e)
в System.Windows.Forms.Form.OnCreateControl()
в System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
в System.Windows.Forms.Control.CreateControl()
в System.Windows.Forms.Control.WmShowWindow(Message& m)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ScrollableControl.WndProc(Message& m)
в System.Windows.Forms.Form.WmShowWindow(Message& m)
в System.Windows.Forms.Form.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2019-04-17 17:31:18 <HP><Admin><ERR> Error loading project: Не удалось найти часть пути «C:\SCADA\Projects\NewProject1\NewProject1.rsproj».
2019-04-17 17:31:23 <HP><Admin><EXC> Unhandled exception:
System.IO.DirectoryNotFoundException: Не удалось найти часть пути «C:\SCADA\Projects\NewProject1\Interface».
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileSystemEnumerableIterator`1.CommonInit()
в System.IO.FileSystemEnumerableIterator1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler1 resultHandler, Boolean checkHost)
в System.IO.DirectoryInfo.InternalGetDirectories(String searchPattern, SearchOption searchOption)
в System.IO.DirectoryInfo.GetDirectories()
в Scada.Admin.App.Code.ExplorerBuilder.FillFileNode(TreeNode treeNode, DirectoryInfo directoryInfo)
в Scada.Admin.App.Code.ExplorerBuilder.FillFileNode(TreeNode treeNode, String directory)
в Scada.Admin.App.Code.ExplorerBuilder.FillInterfaceNode(TreeNode interfaceNode)
в Scada.Admin.App.Forms.FrmMain.tvExplorer_BeforeExpand(Object sender, TreeViewCancelEventArgs e)
в System.Windows.Forms.TreeView.OnBeforeExpand(TreeViewCancelEventArgs e)
в System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW* nmtv)
в System.Windows.Forms.TreeView.WmNotify(Message& m)
в System.Windows.Forms.TreeView.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
TawУчастникЛог Агента только за вчерашний день. Сегодня он не запускается и лог не создается.
TawУчастникНашел в папке Scada для Администратора и Агента подкаталоги log.
Лог для Администратора
2019-05-22 08:01:38 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)
2019-05-22 08:01:43 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)
2019-05-22 08:14:20 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)
2019-05-22 08:14:24 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)
2019-05-22 08:14:27 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)
2019-05-22 08:14:44 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)
2019-05-22 08:14:51 <DESKTOP-QTU0TBN><Ihar><EXC> Error sending service command.:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:10002/ScadaAgent/ScadaAgentSvc/ that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> 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 [::1]:10002
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
— End of inner exception stack trace —Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Scada.Agent.Connector.AgentSvcRef.AgentSvc.CreateSession(Int64& sessionID)
at Scada.Agent.Connector.AgentWcfClient.Connect()
at Scada.Agent.Connector.AgentWcfClient.RestoreConnection()
at Scada.Agent.Connector.AgentWcfClient.ControlService(ServiceApp serviceApp, ServiceCommand command)
at Scada.Admin.App.Forms.Deployment.FrmInstanceStatus.ControlService(ServiceApp serviceApp, ServiceCommand command)-
Ответ изменён 7 лет, 2 месяца назад пользователем
Taw.
TawУчастникЯ вообще не устанавливал отдельно Агента. Просто запустил Setup.exe. А где находятся логи Агента и Администратора?
TawУчастникСоединения с агентом даже нет.
TawУчастник
TawУчастник
TawУчастникКак в версии Scada 5.7.1 запускать/перезапускать коммуникатор и сервер? Не реагирует на симулятор modbus. Не отображает изменение в примере проекте на подключение к Modbus. И статистика с прочерками.
-
Ответ изменён 7 лет, 2 месяца назад пользователем
-
АвторЗаписи