【发布时间】:2016-09-16 08:12:34
【问题描述】:
我在 OPC UA 空服务器 (C#) 中有一个异常 (AddressAccessDeniedException)。此异常涉及 URL https://+:62545/ 的问题。
堆栈跟踪:
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() 中
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan 超时)
在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan 超时)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan 超时)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan 超时)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan 超时)
在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan 超时)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan 超时)
在 System.ServiceModel.Channels.CommunicationObject.Open() 中
在 Opc.Ua.Bindings.UaHttpsChannelListener.Start() 中 C:\Users\MyAccount\Desktop\OPC UA\Stack\Core\Stack\Https\HttpsListener.cs:riga 312
在 Opc.Ua.Bindings.UaHttpsChannelListener.Open(Uri baseAddress, TransportListenerSettings settings, ITransportListenerCallback 回调) 在 C:\Users\MyAccount\Desktop\OPC UA\Stack\Core\Stack\Https\HttpsListener.cs:riga 125
在 C:\Users\MyAccount\Desktop\OPC UA\Stack\Core\Stack\Server\ServerBase 中的 Opc.Ua.ServerBase.CreateHttpsServiceHost(IDictionary
2 hosts, ApplicationConfiguration configuration, BindingFactory bindingFactory, IList1 baseAddresses, ApplicationDescription serverDescription, List`1 securityPolicies) 中。 cs:里加 1174C:\Users\MyAccount\Desktop\OPC UA\SampleApplications\SDK\Server\Server\StandardServer.cs 中的 Opc.Ua.Server.StandardServer.InitializeServiceHosts(ApplicationConfiguration 配置、BindingFactory bindingFactory、ApplicationDescription& serverDescription、EndpointDescriptionCollection& 端点) :里加2718
在 C:\Users\MyAccount\Desktop\OPC UA\Stack\Core\Stack\Server\ServerBase.cs:riga 247 中的 Opc.Ua.ServerBase.Start(ApplicationConfiguration 配置)中
在 C:\Users\MyAccount\Desktop\OPC UA\SampleApplications\SDK\Configuration\ApplicationInstance.cs:riga 459 中的 Opc.Ua.Configuration.ApplicationInstance.Start(ServerBase 服务器)中
在 C:\Users\MyAccount\Desktop\OPC UA\SampleApplications\Workshop\Empty\Server\Program.cs:riga 78 中的 Quickstarts.EmptyServer.Program.Main() 中
【问题讨论】:
-
您何时收到此错误。请同时发布您的代码。
-
该代码与Foundation的Sample SDK: Empty Server相关。
-
您好,欢迎来到 StackOverflow。非常感谢您加入我们的社区。您能否添加一些代码。你已经尝试过什么?
-
问题可能出在paste.ofcode.org/37EWH6W4K355AedWyRyBczL (Quickstarts.EmptyServer.Config.xml)?
标签: c# asp.net .net server opc