Multiple Service Tiers in Dynamics NAV 2009
Freddy have posted an interesting blog about having multiple service tiers.
From the post “A very typical scenario with both partners and customers is to have more than one database. This can be because you have a development database and a production database – or it could be the partner having a copy of all customer databases locally for troubleshooting.
You could of course install the Service Tier locally on all computers – and then change the CustomSettings.config to point to a new database every time you need to logon, but that doesn’t really sound like something we want people to do.
The setup we would like to have is:
• One or more SQL Server boxes with a bunch of databases on
• One or more Service Tier boxes with at least one Service Tier pr. database
• The Client installed locally on all machines being able to connect to these Service Tiers.
This post will go into detail about how to accomplish this.”
Error 1935 when installing Dynamics NAV 5.0 SP1
When I did try to install the NAV 5.0 SP1 client I run into an error 1935. This may happen on Vista and Windows 2008. Don’t know if Windows 7 also have this problem.
Error 1935; an error occurred during the installation of
assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}. HRESULT:0x800736CC.
The solution is simpler then it seems. You need to install Microsoft Visual C++ 20005 SP1 Redistributable pack. Remember if you are running on a 64 bit system you need to install both x86 and x64 package.
Failed to open key when Installing Dynamics NAV 2009
When installing Dynamics NAV 2009 one of my friend’s rune into this problem:
—————————————————————————–
Microsoft Dynamics NAV 2009 Build 27808
Error Report
RoleTailored client
Microsoft Dynamics NAV 2009 RoleTailored client
Fatal error during installation.
Could not open key: UNKNOWNMSComDlg.CommonDialog.1CLSID. Verify that you have sufficient access to that key, or contact your support personnel.
—————————————————————————–
The problem here is that we have a mismatch of .NET. The simplest solution is to install latest version of a .NET and run the installer again.
Trace flag in SQL Server for Dynamics NAV 2009
When starting the RTC client or open the database in classic client you will get a warning if you have not set the trace flag correct. Because of changed security in SQL Server 2005 Dynamics NAV 2009 will only connect to the SQL Server if the trace flat ‘4616’ is set.
How to:
1. Open SQL Server Configuration Manager
2. Right click on MSSQLSERVER and select properties
3. In properties click advanced tab
4. Click to the right of Setup Parameters and go to the end of the line
5. Add this string “;-T4616”
6. Click ok and restart your SQL Server.
Failed to execute SQL string when Installing Dynamics NAV 2009 #2
When reinstalling Dynamics NAV 2009 or if you have attached a Demo Database manually you will probably run into this problem:
—————————————————————————–
Microsoft Dynamics NAV 2009 Build 27808
Error Report
SQL Server option
Cronus Sample Database for Microsoft Dynamics NAV 2009
Fatal error during installation.
Error -2147467259: failed to execute SQL string, error detail: A database with name Demo Database NAV (6-0) already exists., SQL key: StopIfDatabaseExist SQL string: IF EXISTS (SELECT * FROM [master].[sys].[databases] WHERE name = ‘Demo Database NAV (6-0)’) RAISERROR (N’A database with name %s already exists.’,20,1,’Demo Database NAV (6-0)’) WITH LOG
—————————————————————————–
Read more
Installing stored procedures for Dynamics NAV 2009 manually
It’s recommended that you use the installer on the product DVD to install the stored procedures. But if you are running more than one name instance of SQL server on the same machine that approach will not work. Then you need to-do it manually:
1. Copy the xp_ndo.dll file to the location you want store it. The file can be found under “D:SQLDatabasePFilesMicrosoft Dynamics NAV60Database” on the product DVD.
2. Run the following SQL command to add the stored procedures.
USE master
EXEC sp_addextendedproc xp_ndo_enumusersids, ‘C:[Location of file]xp_ndo.dll’
GO
GRANT EXECUTE
ON [xp_ndo_enumusersids]
TO PUBLIC
GO
USE master
EXEC sp_addextendedproc xp_ndo_enumusergroups, ‘C: [Location of file]xp_ndo.dll’
GO
GRANT EXECUTE
ON [xp_ndo_enumusergroups]
TO PUBLIC
GO
How to install more than one Dynamics NAV 2009 Demo Database
By default when you are installing the demo database by the installation program you can only install one Demo Database. But if you would like to have more than one Demo Database to try different things in, how to accomplish that? I assume that you know that you can create a new company in the classic client, but you will then not get the demo data. The solution is simple to use SQL Server Management Studio to attach more than one version of the Demo Database.
Read more
Installing NAV 2009 without A/D
Freddy have done an interesting blog about how to install 3-tier without a domain. It’s a very detail guide how to setup 2 XP machine to work in a work group.
“The majority of installations of NAV 2009 will be in a network environment, you will have a domain server and an Active Directory with your users and your biggest worries will be how to setup a 3T environment on 3 different boxes, getting the delegation setup correctly all of that stuff.
But in a few cases we might run into situations, where there is only a LAN between a number of machines and no server.”
Failed to execute SQL string when Installing Dynamics NAV 2009
One not complete uncommon error when installing Dynamics NAV 2009 is the one bellow:
—————————————————————————–
Microsoft Dynamics NAV 2009 Build 27808
Error Report
SQL Server option
Microsoft Dynamics NAV 2009 Components for Microsoft SQL Server
Fatal error during installation.
Error -2147217865: failed to execute SQL string, error detail: Invalid object name ‘master.sys.objects’., SQL key: DropXpNdoGroups SQL string: IF EXISTS (SELECT * FROM [master].[sys].[objects] WHERE name = ‘xp_ndo_enumusergroups’) EXEC sp_dropextendedproc xp_ndo_enumusergroups
Cronus Sample Database for Microsoft Dynamics NAV 2009
Fatal error during installation.
Error -2147217865: failed to execute SQL string, error detail: Invalid object name ‘master.sys.databases’., SQL key: StopIfDatabaseExist SQL string: IF EXISTS (SELECT * FROM [master].[sys].[databases] WHERE name = ‘Demo Database NAV (6-0)’) RAISERROR (N’A database with name %s already exists.’,20,1,’Demo Database NAV (6-0)’) WITH LOG
Fatal error during installation.
—————————————————————————–
Read more
How to install Dynamics NAV 2009 Demo Database to named instance of SQL
By default when you are installing the demo database it will get installed on the instance named MSSQLSERVER. That is the default instance name for SQL Server 2005. But if you have a SQL Server with another instance name where you would like to install the Demo Database, how do you do then? The answer to that question is to use the msi for the Demo Database installation and not the installation program in the root of the DVD. A small not is that you can’t run the installation program found in the root of the DVD (setup.exe) on the computer after you have installed the demo database using this work around since this will uninstalled the demo database. This happens because the central installation program keeps an inventory of the NAV products that have been installed to the computer and will uninstall those which are not in the inventory.
Read more