2011-05-11 10 views
0

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

答えて

0

NetworkServiceが実際に制限されたアカウントでは、管理者アカウントと同等ですLocalSystemのために行く必要があります。それはあなたの問題を解決します。

+0

それもそうではありません:それはうまくいきません:( – Ankit

+0

アイデンティティを変更した後に再起動しましたか?そうでなければ、変更は取得されません。 – mthierba

+0

はい............ – Ankit

関連する問題