Problem installing NAS during "installasservice"

rsaritzky
Member Posts: 469
Hi,
I'm installing a new NAS on Server 2007/SQL 2008. I did my "due diligence" and read the "how to install NAS" here on MIBUSO. I followed the steps:
1. Ran the setup from the CD. Note that the document here on MIBUSO says "launch the \Nas\setup.exe" but in NAV2009, the setup file is "Microsoft Dynamics NAV Classic Application Server.msi"
2. Copied the NAS directory created by the first step into a new directory.
3. Created a NASSTART.CMD file for manual installation of a second NAS:
nassql.exe appservername=LIBERTYNAS, NETTYPE=TCP, servername=NAVLIB,database=SIGMA60,company="MyCompany",nettype=tcp,startupparameter=”IMPORT”,
objectcache=40000,installasservice
From a command prompt, I navigated to the directory where the NAS files were along with NASSTART.CMD and ran NASSTART.CMD.
I received a Windows error window with the following information:
Problem signature:
Problem Event Name: APPCRASH
Application Name: nassql.exe
Application Version: 6.0.29626.0
Application Timestamp: 4a849ad7
Fault Module Name: nassql.exe
Fault Module Version: 6.0.29626.0
Fault Module Timestamp: 4a849ad7
Exception Code: c0000005
Exception Offset: 00076601
OS Version: 6.1.7600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
In addition, the command prompt window displayed a message:
"The operating system cannot access to the file LIBERTYNAS".
I'm wondering if the install-as-service failed because of some permissions (access) error? I am logged in as a user with Administrator permissions.
Has anyone seen this error?
I'm installing a new NAS on Server 2007/SQL 2008. I did my "due diligence" and read the "how to install NAS" here on MIBUSO. I followed the steps:
1. Ran the setup from the CD. Note that the document here on MIBUSO says "launch the \Nas\setup.exe" but in NAV2009, the setup file is "Microsoft Dynamics NAV Classic Application Server.msi"
2. Copied the NAS directory created by the first step into a new directory.
3. Created a NASSTART.CMD file for manual installation of a second NAS:
nassql.exe appservername=LIBERTYNAS, NETTYPE=TCP, servername=NAVLIB,database=SIGMA60,company="MyCompany",nettype=tcp,startupparameter=”IMPORT”,
objectcache=40000,installasservice
From a command prompt, I navigated to the directory where the NAS files were along with NASSTART.CMD and ran NASSTART.CMD.
I received a Windows error window with the following information:
Problem signature:
Problem Event Name: APPCRASH
Application Name: nassql.exe
Application Version: 6.0.29626.0
Application Timestamp: 4a849ad7
Fault Module Name: nassql.exe
Fault Module Version: 6.0.29626.0
Fault Module Timestamp: 4a849ad7
Exception Code: c0000005
Exception Offset: 00076601
OS Version: 6.1.7600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
In addition, the command prompt window displayed a message:
"The operating system cannot access to the file LIBERTYNAS".
I'm wondering if the install-as-service failed because of some permissions (access) error? I am logged in as a user with Administrator permissions.
Has anyone seen this error?
Ron
0
Answers
-
As a followup/possibly related question, is it necessary to change the "ID" property of the existing NasHandler trigger in Codeunit 1 to 99? Out of the box, this ID is 1.Ron0
-
NAS ALWAYS installs as a service - no need for ANY additional copy/paste work (especially in v6).
Uninstall your current installation and repeat it using the OFFICIAL MS documentation for NAS!0 -
Server 2007/SQL 20080
-
Thanks to rhpnt and Kamil for the responses. The "official" documentation (the online help) for NAV2009 refers you to the "Microsoft Dynamics NAV 5.0 Developer and Installation Guides" pdf, which parallels the installation steps I took. Specifically, that guide says "To install more than one NAV Application Server, you must copy all the files that belong to the previously installed NAV Application Server to the folder where you want to store the second instance of
NAV Application Server. After copying the files, you must use the Microsoft DOS command line to install NAV
Application Server as a service and set the necessary parameters."
That being said, I took your advice to heart, and rather than running the .msi file directly, I did uninstall and ran the install from the main setup executable on the NAV2009 DVD. This allowed the initial application server to be reinstalled and the app server service started OK and the app server manager snapin is now running correctly. My next step will be to install a second app server, but for now, I have one app server up and running.
Thanks to both for your input.Ron0 -
One of the key points that was in this post is the note about "run as administrator". I have been using (and reusing) a batch file to install things like this and it has worked great. But I realized I hadn't used it on any servers running Windows 2008 and was bashing my head against the wall with the error that it cannot access the file "<appserrvicename>" when I was trying to run the modified batch file from the command prompt.
However it was all resolved and everything worked as expected once I started the command prompt as administrator (start -> Accessories -> Command Prompt *MUST RIGHT CLICK AND SELECT "Run as administrator" menu option*).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