0

WindowsサービスでWCFアプリケーションをホストしているときにこのエラーが発生します。このサービスはサーバーでホストされており、インターネット経由でアクセスしたいと考えています。だから私はそれにネットワークサービスの許可を与えました。

Service cannot be started. System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8085/lupload/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: Access is denied
   at System.Net.HttpListener.AddAllPrefixes()
   at System.Net.HttpListener.Start()
   at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
   at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
   at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.HttpChannelListener.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(Tim...

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
4

1 に答える 1

0

NetworkServiceは実際には制限付きアカウントですLocalSystem。管理者アカウントに相当するアカウントを取得する必要があります。それはあなたの問題を解決します。

于 2011-05-11T10:19:28.723 に答える