Keys not enabled after restore of DB
djswim
Member Posts: 277
I'm sure one of you has seen this before:
I just restored a database, and it took quite a while. Now everything I do in the DB is telling me that "The <Name> table does not contain an active key which starts with <Name of field(s)>."
Naturally I can go error by error and enable these, but all the keys exist, they just aren't enabled. Is there a way to automate the process of enabling the keys? Thank you in advance, you're saving me what would be hours of work.
I just restored a database, and it took quite a while. Now everything I do in the DB is telling me that "The <Name> table does not contain an active key which starts with <Name of field(s)>."
Naturally I can go error by error and enable these, but all the keys exist, they just aren't enabled. Is there a way to automate the process of enabling the keys? Thank you in advance, you're saving me what would be hours of work.
"OMG ALL MY DATA IS GONE"
"Show All..."
"Oh..."
"Show All..."
"Oh..."
0
Comments
-
It looks like the restore process was not finished. Try to use the "Tools-Restore" again and see if it will continue or will ask for the backup file. Try it on same PC as you have started the last restore...0
-
I re-restored, and it's telling me that there were errors in 5 objects. Where can I see what those errors were and on which objects?"OMG ALL MY DATA IS GONE"
"Show All..."
"Oh..."0 -
It usually says that after a number of objects are compiled. It should mark the objects with errors, so just do View, Marked Only, and you should see all 5 of them. Then you will need to open each object individually to see what the error is exactly.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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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

