【问题标题】:https://+:62545/ in OPC UA Empty Server - C#https://+:62545/ 在 OPC UA 空服务器 - C#
【发布时间】: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(IDictionary2 hosts, ApplicationConfiguration configuration, BindingFactory bindingFactory, IList1 baseAddresses, ApplicationDescription serverDescription, List`1 securityPolicies) 中。 cs:里加 1174

C:\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() 中

【问题讨论】:

标签: c# asp.net .net server opc


【解决方案1】:

修复步骤:以管理员身份运行命令提示符。将 URL 添加到 ACL

netsh http 添加 urlacl url=https://+:62545/user=my_local_user.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-02-02
    • 2017-06-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-06
    • 2021-10-11
    • 2017-06-12
    相关资源
    最近更新 更多