httpcfg - probelm

WojtekmWojtekm Member Posts: 123
edited 2012-07-04 in NAV Three Tier
Hi,

I try to make my NAV WS run properly. I follow this msdn instruction:
How to: Configure Web Services with Delegation
http://msdn.microsoft.com/en-us/library/ee414212

in point 4 i used this command:

httpcfg delete urlacl –u http://+:7047/DynamicsNAV/
httpcfg set urlacl -u http://+:7047/DynamicsNAV/ -a D:^(A;^;GX^;^;^;<security identifier>)

i use my computer AD SID account in <security identifier> becouse my services working on Network Service account.
Propably here is the problem.
I can see than i creat entry like this:
URL : http://+:7047/DynamicsNAV/
ACL : D:(A;;GX;;;S-1-5-21-1357823422-3124244093-3103455471-1105)


naw i can not start my WS service becouse of following error:
Service:
The service MicrosoftDynamicsNavWS failed to start. This could be caused by a configuration error. Detailed error information:System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:7047/DynamicsNAV/. 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.AddAll()
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(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()
at Microsoft.Dynamics.Nav.WindowsServices.NavServiceBase.OnStart(String[] args).

How should i set up ACL to make my WS back to life.

regards,

Answers

  • WojtekmWojtekm Member Posts: 123
    Done :)
    By deleting my previous entry using this command:
    C:\Program Files (x86)\Microsoft Dynamics NAV\60\Service>httpcfg delete urlacl -
    u http://+:7047/DynamicsNAV/ -a D:^(A;^;GX^;^;^;S-1-5-21-1357823422-3124244093-3
    103455471-1105)
    

    ROARGH! what a syntax! :thumbsdown:
  • kinekine Member Posts: 12,562
    There is much better command for that on windows 2008 and newer... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • BubaBuba Member Posts: 24
    kine wrote:
    There is much better command for that on windows 2008 and newer... ;-)
    I've been using the httpcfg command on win2008, so what is the newer and better command tools for this?
Sign In or Register to comment.