httpcfg - probelm

Wojtekm
Member Posts: 123
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
^(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 :
(A;;GX;;;S-1-5-21-1357823422-3124244093-3103455471-1105)
naw i can not start my WS service becouse of following error:
How should i set up ACL to make my WS back to life.
regards,
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

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 :

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,
0
Answers
-
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:0 -
There is much better command for that on windows 2008 and newer... ;-)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions