NAS error ECONNREFUSED
couberpu
Member Posts: 317
Help!
I am running Navision 3.70b with SQL 2000(SP4) on a windows 2000 server(SP4) server. The application runs fine and client has no problem communicate to the server.
I just installed the Navision Application Server, came with the 3.70b disk, to the server and used the following code to install the service.
cd c:\Program Files\Microsoft Business Solutions-Navision\Application Server\
NET STOP APPSERVER-SQL
nas appservername=APPSERVER-SQL,servername=APPSERVER,database=LTG,company=Lighting,nettype=TCP,startupparameter=DAILY,installasservice
NET START APPSERVER-SQL
The script came back with a successful installed message, yet I got an error in event viewer : The TCP/IP Connection's 'host' in not answering(TCP/IP error ECONNREFUSED).
I have the IP address and host name entered in the hosts file and I did not altered any line in services file.
Anyone ran into this problem and fixed it? Please HELP!!!!
](*,)
I am running Navision 3.70b with SQL 2000(SP4) on a windows 2000 server(SP4) server. The application runs fine and client has no problem communicate to the server.
I just installed the Navision Application Server, came with the 3.70b disk, to the server and used the following code to install the service.
cd c:\Program Files\Microsoft Business Solutions-Navision\Application Server\
NET STOP APPSERVER-SQL
nas appservername=APPSERVER-SQL,servername=APPSERVER,database=LTG,company=Lighting,nettype=TCP,startupparameter=DAILY,installasservice
NET START APPSERVER-SQL
The script came back with a successful installed message, yet I got an error in event viewer : The TCP/IP Connection's 'host' in not answering(TCP/IP error ECONNREFUSED).
I have the IP address and host name entered in the hosts file and I did not altered any line in services file.
Anyone ran into this problem and fixed it? Please HELP!!!!
](*,)
0
Answers
-
try to do first
nassql appservername=APPSERVER-SQL,uninstallasservice
and use the NASSQL.EXE instead NAS if you want to connect to SQL database... :-)
And do not forget to give enough permission to the account under which the service will be running...0 -
I made two mistakes trying to connect SQL.
1. I should use nassql.exe instead of nas.exe
2. I did not properly setup windows logon under Navision.
I changed the code to use nassql appservername.... and give proper permissions to the window user login to Navision under windows logon and It connected to Navision SQL database!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
