Options

NAV Three Tier Intallation Error (RCT and Webservice)

yukonyukon Member Posts: 361
edited 2011-04-04 in NAV Three Tier
Hi Expert,

I follow this http://msdn.microsoft.com/en-us/library/dd301254.aspx and http://msdn.microsoft.com/en-us/library/ee414212.aspx for three tier installation. After install, web service cannot start and client rtc cannot connect. I already config: below fact

My Installation fact :

contoso domain server (Win2k03 R2 SP2)

NAVSERV server (Win2k03 R2 SP2)

NAVSQL server (Win2k03 R2 SP2)

User Account :

contoso\administrator (Domain Admin)
contoso\navsrvadmin (Domain User - for nav service)
contoso\navuser (Domain User - for nav user)

SQL 2005
contoso\administrator (service admin)

NAVSERV
contoso\navsrvadmin (service admin)

Config : for Nav Service Listener :
USE MASTER
CREATE LOGIN [contoso\navsrvadmin] FROM WINDOWS;
GO

USE [Demo Database NAV (6-0)]
CREATE USER [contoso\navsrvadmin] FOR LOGIN [contoso\navsrvadmin];

CREATE SCHEMA [$ndo$navlistener] AUTHORIZATION [contoso\navsrvadmin];
GO

ALTER USER [contoso\navsrvadmin] WITH DEFAULT_SCHEMA = [$ndo$navlistener];
GRANT SELECT ON [Object Tracking] TO [contoso\navsrvadmin];
GO

Setting Up Delegation (I'm run command in contoso domain server)
setspn -A DynamicsNAV/NAVSERV.contoso.com:7046 contoso\navsrvadmin

setspn -A MSSQLSvc/NAVSQL.contoso.com:1433 contoso\navsrvadmin

To delegate access to the SQL Server service
xxxxxxx

Restart NAV Service

Configuring Web Services for Delegation - (I'm run command in contoso domain server)
setspn -A http/NAVSERV.contoso.com contoso\navsrvadmin
setspn -A http/NAVSERV contoso\navsrvadmin

(I'm run command in contoso domain server) i copy service folder to domain server and run command. Is it corrector or not ? This command is run in domain server or nav server? This part i not understand, so i run in under domain.
httpcfg delete urlacl –u http://+:7047/DynamicsNAV/

message show completed with 87

httpcfg set urlacl -u http://+:7047/DynamicsNAV/ -a D:^(A;^;GX^;^;^;SID of contoso\navsrvadmin)

message show completed with 0

After all config:
1. I cannot connect RTC from client PC
Error is showen
The login failed when connection to SQL Server NAVSQL\MSSQLSVC.
But when i use client sql, i can login from Client PC. Another, when i use RTC in NAV Server, i can open it.

2. Webservice cannot start.
Error is shown
Event Type:	Error
Event Source:	MicrosoftDynamicsNAVServer
Event Category:	None
Event ID:	0
Date:		3/23/2011
Time:		3:29:45 PM
User:		N/A
Computer:	NAVSERV
Description:
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).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Kindly, please correct to me, which part is wrong. ](*,)

Best Regards,
Yukon
Make Simple & Easy

Comments

  • Options
    jlandeenjlandeen Member Posts: 524
    What is the Log On user of the NAV Service Tiers? Is it the default network service or have you set it to a particular user?
    Jeff Landeen - Sr. Consultant
    Epimatic Corp.

    http://www.epimatic.com
Sign In or Register to comment.