Copied table does not work

doubtfire
Member Posts: 60
I have two databases (DB1 & DB2) which are exactly the same, they are both linked to Navision for different testing environments. Now my question is I have imported a table from DB1 to DB2 (same structure and data), but when I open the copied table from Navision (with DB2 linked), I got an error message "The XXX table has no ROWVERSION column in the SQL Server table description". Any ideas how to fix this issue !? Thanks.
0
Comments
-
Now I'm most likely wrong on this one, but I'll give this one a shot...
When you exported the table object did you save it as FOB or TXT?
If you had done it by TXT try FOB. I have seen too many a time when I received errors when importing an unmodified TXT export. (Leading me to believe there is a possibility to import a TXT with no errors yet experience issues when referencing the imported Object)0 -
I used the (Tables--> All tasks --> Export) (DTS import/export wizard) from DB1 to do the copying and DB2 as destination. What is "FOB"/"TXT" !? Could you explain ? Thank you.0
-
I was making reference to object export/import using Navision itself, not SQL. I'm an idiot when it comes to SQL, so forget I said anything.
--- edit ---
Then again, anything you add/modify/whatever using SQL and/or 3rd party programs, is all transparent to Navision, no? Perhaps you should remove the table structure from DB2 (the copied one from DB1 via SQL) and just export the table object from (Navision) DB1/Company -> DB2/Company. That way Navision takes control over the process.0 -
Thank you for the suggestion. Could you show me how to export that table from DB1 to DB2 through Navision ? Thank you and please detail.0
-
What I have suggested might provide you with your solution if-and-only-if you can see the table currently in Navision via DB1.
If this is the case, open Navision -> DB1 -> Company (Ctrl-O) -> Object Designer (Shift-F12)
Click the Table button within the Object Designer, find your table, select it by clicking once then: File -> Export -> "Save as type: Navision Object Format (*.fob)"
Save it to a location you can easily remember/find. Close the current Database (Or just select to Open a Database) Connect to DB2 -> Company (Ctrl-O) -> Object Designer (Shift-F12)
File -> Import -> Locate the FOB file and Open.0 -
Thank you. I have learned a new process, but after importing I get the same error message.0
-
So you've deleted the table structure in DB2. Then connected to DB2 fine with Navision. But after importing the table you receive the error message?
Hmm... yeah I'm quite a newbie when it comes to SQL. You'll have to wait for one of the SQL savvy users to see your post. I'm sure they'll be able to help
(Actually I couldn't even find very much information on RowVersion errors :-s)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