WebServices Service is not working with any port but 7047

Goyo
Member Posts: 36
Hello. We are trying to configure NAV 2009 R2 WebServices to run in port 7051. We have changed in the CustomSettings.config file the key="WebServicePort" (old value="7047", new value="7051") and we also have opened the ports in the firewall, but when we try to start the service "Microsoft Dynamics NAV Business Web Services" it's not working. We try the same with port 7047, and it works correctly.
The message we obtain when we try to start the service is (in Spanish)
El servicio Microsoft Dynamics NAV Business Web Services en Equipo local se inició y después se detuvo. Algunos servicios se detienen automáticamente si no son usados por ningún servicio o programa.
Translated to English I think it's something like "The service Microsoft Dynamics NAV Business Web Services in localhost was started and then stoped. Some services are stoped automatically if they aren't used by some service or program".
Any ideas about what can we try to solve this?
Thanks.
The message we obtain when we try to start the service is (in Spanish)
El servicio Microsoft Dynamics NAV Business Web Services en Equipo local se inició y después se detuvo. Algunos servicios se detienen automáticamente si no son usados por ningún servicio o programa.
Translated to English I think it's something like "The service Microsoft Dynamics NAV Business Web Services in localhost was started and then stoped. Some services are stoped automatically if they aren't used by some service or program".
Any ideas about what can we try to solve this?
Thanks.
0
Answers
-
-
What is previous error in the event. log? May be another service is using this port or the account you are using for the service is not able to register the http URL namespace.0
-
Check also if that port is open in your firewall.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hello,
Are you having multiple services of NAV running on your sytem? i.e 2 nave servies and 2 web services?
Please let me know?0 -
Hello. We've reviewed the Event Viewer and found the error:
Error al iniciar el servicio MicrosoftDynamicsNavWS. Se puede deber a un error de configuración. Información detallada del error:System.ServiceModel.AddressAccessDeniedException: HTTP no pudo registrar la dirección URL http://+:9999/DynamicsNAV/. El proceso no tiene derechos de acceso a este espacio de nombres (consulte http://go.microsoft.com/fwlink/?LinkId=70353 para obtener más información). ---> System.Net.HttpListenerException: Acceso denegado
en System.Net.HttpListener.AddAll()
Searching in mibuso we found help with this error message and we've fixed it using the httpcfg command. Link to the post with the solution that helped us: http://www.mibuso.com/forum/viewtopic.php?f=32&t=53756
Thank you all.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