Hi,
I am facing accesing webservice url with ipaddrese or names.The link works perfectly with localhost i.e
http://localhost:7047/DynamicsNAV/WS/CR ... ./services
But when i try to replace localhost with IP address or name system ask for credentials and doesnt display anything .
SQL Server ,NAV Server and NAV web service all are running with n/w service account,so i think no need to setup delegations .Please suggest
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
What user right must have user under which the services is run in domain?
Firewalls on ports for outside connections?
Network settings?
What error is in IE if you will set IE to show "not friendly Http error messages"?
You need to setup delegation if they are running on different computers...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
How to enable logging for service tier?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
links:
http://localhost:7047/TESTDB/WS/Test%20Company/Services
http://localhost:7047/TESTDB/WS/Test%20 ... nit/TestCU
works, but links:
http://NAVserver.ad.domain.lv:7047/TEST ... y/Services
http://NAVserver.ad.domain.lv:7047/TEST ... nit/TestCU
http://NAVserver:7047/TESTDB/WS/Test%20Company/Services
http://NAVserver:7047/TESTDB/WS/Test%20 ... nit/TestCU
asks for login/pasword and then shows blank page
RTC also work by address NAVserver:7046/TESTDB
Anyway, if you use webservice it's better to set up delegation because of errors like this. Not so hard work to do.
Will ask domain admin to add SPNs and delegations.
SPNs did the trick
P.S. same rake for the second time :oops: viewtopic.php?f=32&t=38312
Do the SPNs & Delegations look like what I have below?
We added spns for a domain user we created, but could not get the Web Services Service to start, so we put it back to Network Service.
setspn -A http/server domain\serviceuser
setspn -A http/server.company.domain domain\serviceuser
I have not attempted this yet:
httpcfg delete urlacl –u http://+:7047/DynamicsNAV/
httpcfg set urlacl -u http://+:7047/DynamicsNAV/ -a ^(A;^;GX^;^;^; SID of user domain\serviceuser)