mibuso.com

Microsoft Business Solutions online community
It is currently Tue Oct 21, 2014 5:12 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [Solved] httpcfg - probelm
PostPosted: Thu Jun 28, 2012 4:19 pm 
Offline

Joined: Wed Dec 20, 2006 4:37 pm
Posts: 82
Location: Warsaw
Country: Poland (pl)
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:
Quote:
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,


Last edited by Wojtekm on Thu Jun 28, 2012 5:23 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: httpcfg - probelm
PostPosted: Thu Jun 28, 2012 5:23 pm 
Offline

Joined: Wed Dec 20, 2006 4:37 pm
Posts: 82
Location: Warsaw
Country: Poland (pl)
Done :)
By deleting my previous entry using this command:
Code: Select all
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:


Top
 Profile  
 
 Post subject: Re: httpcfg - probelm
PostPosted: Fri Jun 29, 2012 6:30 am 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2014 attendee

Joined: Thu Oct 16, 2003 8:50 am
Posts: 12441
Location: Brno
Country: Czech Republic (cz)
There is much better command for that on windows 2008 and newer... ;-)

_________________
Kamil Sacek
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.


Top
 Profile E-mail WWW  
 
 Post subject: Re: httpcfg - probelm
PostPosted: Wed Jul 04, 2012 3:49 pm 
Offline

Joined: Fri Oct 20, 2006 2:43 pm
Posts: 20
Location: Norway
Country: Norway (no)
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: PanzeriElena and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: