Navision 4.0 SP1 NAS not default port

spudnacious
Member Posts: 12
I have spent the last 6 hours trying to find an answer as to why the Employee Portal wont connect to the NAS. Our database is Native format running on port 7500 due to port availability issues. This works fine for the clients but, I get an ECONNREFUSED error trying to start the NAS. The server, clients and NAS are setup for TCPS, the default port has a v.2.60 server running on it that cant be shutdown. The host and services files have the correct settings. The NAS is meant to communicate with the EP through MSMQ, but only the reply queue gets created. I'm also getting a combination of backend server unavailable and message queue not found error within SharePoint. The database server and NAS and MSMQ are installed on one server called FINANCE. IIS, SHAREPOINT and another instance of MSMQ are installed on the other server called SECONDARY. Hotcopy works successfully indicating that the host and services files are setup correctly. ](*,) ](*,) ](*,) ](*,)
Never over estimate the intelligence of the end user...Nothing is ever obvious.
0
Comments
-
Hi,
i have never had problems with the NAS not connecting to the database (and even when the both are running on the same machine).
But for the communication setup for EP i have the following recommondations:
First of all:
- MSMQ has to be installed on BOTH machines (seems to be done)
My assumptions:
- FINANCE (NAS) has IP 192.168.0.1
- SECONDARY (SharePoint) has IP 192.168.0.2
You have on FINANCE the following queue:
.\private$\nep_request_queue
You have on SECONDARY the following queue:
.\private$\nep_reply_queue
Result:
This should be the configuration in Navision:
x Checkmark in "Front End Processing" (==TRUE)
x Request Queue: .\private\nep_request_queue
x Reply Queue:
FormatName:DIRECT=TCP:192.168.0.2\private$\nep_reply_queue
This should be the configuration in web.config on SharePoint:
<add key="JobQueues" value=
"FormatName:DIRECT=TCP:192.168.0.1\private$\nep_request_queue"/>
<add key="ReplyQueues" value=
"FormatName:DIRECT=TCP:192.168.0.2\private$\nep_reply_queue"/>
Notes:
I added some breaks for better display
Instead of using
- DIRECT=TCP:192.168.0.X
you may also use
- DIRECT=OS:MACHINENAME
The queue names have to match, so it is not important that the queue name is nep_reply_queue, you may also use something like nep_reply or MyReply,...
The code of the NAS has to start with NEP- and has to match in Navision and on the NAS-SnapIn-MMC-StartUpParameter.
HTH,
Rainer0 -
I found that post earlier and have tried that. one problem I have is that the nep_request_queue is missing from the MSMQ. When is this created, during runtime or during installation? The message queues wouldn't affect the inability of the NAS to start, would it?Never over estimate the intelligence of the end user...Nothing is ever obvious.0
-
Hi,
the message queues should be created during installation. But you may also create them manually. They are not created during runtime.
When you have configured the NAS to run NEP and he is missing a queue you will notice an error message in the event log. But in general NEP has nothing to do with the correct NAS start up when the NAS tries to connect to the database.
HTH,
Rainer0 -
[Topic moved from Navision forum to Navision e-Commerce forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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