I can't understand why Microsoft are distributing a Case Sensitive version of the CRONUS database with NAV 2013 R2.
As I understand it the only way to create a new database is to start with the cronus database which has all the objects you need then create a new company etc., but, this still leaves you with a case sensitive database.
Is it possible to get a case insensitive cronus database?
Derek Smith
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
You can't change the collation in SQL Server because you get hundreds of errors like:
The object 'CRONUS UK Ltd_$Job Planning Line$VSIFT$6' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I'm running GB Dynamics NAV 7.1 (7.1.35473.0)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I ran throught the Developer environment and Altered the database to NOT be case sensitive, then started the RTC, then checked in SQL Server and the database is still set with the Collation of Latin1_General_100_CS_AS.
Much appreciate your help, no idea what I'm doing wrong. We're going to try upgrading a Case Insensitive NAV 6 database to NAV 2013 which I imagine the upgrade won't change the collation, but there must be a way to do this directly in NAV 2013.
When all the SQL Server objects are case sensitive, you can change the default setting for the database, but that does not change the individual objects.
Too bad the long awaited return of the backup and restore company has still not happened.
One more reason for going to Directions or NAV Tech days where you can talk to Microsoft directly.
http://mibuso.com/blogs/davidmachanick/
Import/Export-NAVData...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
FBK is back! Kind of.
I noticed there's an comment on this update:
Release note The cmdlet help for the syntax of the Export-NAVData and Import-NAVData are not completely correct.
Please refer to below syntax instead:
So solution is given.
Tino Ruijs
Microsoft Dynamics NAV specialist
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[$ndo$cachesync](
[id] [int] IDENTITY(1,1) NOT NULL,
[Server Instance ID ] [int] NOT NULL,
[modifiedtables] [varbinary](max) NULL,
[timestamp] [timestamp] NOT NULL,
CONSTRAINT [PK$ndo$cachesync] PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
This should leave you with a new database that is Case Insensitive, and a new company.
I restored a Database using import-navdata as you described. The '$ndo$cachesync' was also missing.
And one other thing was missing in my new db: The SQL-Server Trigger [$ndo$objecttracking] on the 'Object Metadata'-Table. I could use the database normal but when I changed something in the development environment the RTC showed the change only after server restart.
I copied the create script for this trigger via SQL Management Studio from another database and created it in the new db. And now everything works.
Are you missing this trigger also?