Cannot Open Dynamics NAV with a replicated Database!

wdheem
Member Posts: 7
Hi! Experts
I was able to replicate an NAV test Database to another server instances. I used Transaction Replication. This was successful, whenever a transaction was completed in the original database, the results could be seen in the replicated SQL Database (e.g. posting sales orders). However, when I connected the replicated Database to an NAV instance and started running NAV, the program returned a fatal Error.
Later, I took backup of the replicated database and restored it to a new database. The same issue came up. I even cleared up the Access Control table, User, and the session list.
Your support is appreciated.
Thanks.
I was able to replicate an NAV test Database to another server instances. I used Transaction Replication. This was successful, whenever a transaction was completed in the original database, the results could be seen in the replicated SQL Database (e.g. posting sales orders). However, when I connected the replicated Database to an NAV instance and started running NAV, the program returned a fatal Error.
Later, I took backup of the replicated database and restored it to a new database. The same issue came up. I even cleared up the Access Control table, User, and the session list.
Your support is appreciated.
Thanks.
0
Answers
-
Hi,
Please confirm that the replicated database has at least the minimum configuration to be used.
I would try this.
Backup database A
Restore database B from A backup.
Configure NAV Service to B.
Open NAV client on B.
Configure replication.
Restart service.
Open NAV client on B.
Execute transaction on Client A
Open NAV client on B. and if the is any error, use sql profiller to see the last command executed before error to figure out the problem.
Regards,
parm0 -
Replication will only replicate a database - implying that databases' security gets copied, but not the server level security. Said another way, it is possible to get SQL database users and their role memberships (like db_owner) copied, but the server-level SQL logins and those roles (like sysadmin) do not get copied. You may just have a simple security problem. Take a look at the SQL logs, and then also at the windows event logs on both the SQL server and the NST server that's pointed at the replicated database.Kyle Hardin - ArcherPoint0
-
I had another thought. Can you open the replicated database with the Dev client, which gets the NST out of the way? What version of NAV?Kyle Hardin - ArcherPoint0
-
Thank you, Guys!!
I am using NAV 2015 and I can open the NAV development environment of the replicated database.
When I checked the event log for this error it gave the following error "FTPL-SNAPSHOT.dbo.FLINTEC$Prod_ Order Routing Line$VSIFT$0' is invalid"
This seems to be a problem in SIFT tables (indexes I guess!!) that have been replicated.0 -
Interesting - sounds like you have some replication problems to chase. If you completely rebuild indexes and statistics on the source database, that should replicate to the duplicate.Kyle Hardin - ArcherPoint0
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