Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

table data 50000 does not exsist

rated by 0 users
This post has 5 Replies | 2 Followers

Top 500 Contributor
Posts 32
Points 745
Member since 10-18-2007
satheeshNav Posted: 11-29-2007 16:42

dear friends

i have to convert the navision 4.0  database to SQL DataBase (i have run max test in navision and took a back up in Navision) then i tried to restore the Navision DB to SQL Database(wich i have created using SQL sever option in Navision) then i am getting the following error massage.

Table data 50000 does not exsist

help me guys i have to  send DB Tommarow

 

Top 75 Contributor
Posts 215
Points 3,620
Member since 12-06-2000

 Table ID 50000 is the first number available for customization. So somewhere in another table, report or codeunit there is a reference to this tableid. Obviously this table does not exist anymore. Check reports or codeunits starting with ID 50000 up to 99999, if there is areference to table 50000

Top 25 Contributor
Male
Posts 898
Points 7,156
Member since 08-30-2001
Moderator

... another option to find the object with the problem is within the Object Designer, Select All objects and then compile them all (F11). This might take a while, but will find all compilation errors within all objects (the objects with errors will get "marked" - so select "Marked Only" from the View menu after the compilation is finished). By the way, a recommendation, rather don't do this in the live db, but in a restored local backup, compiling objects will reset the user zup files....

Saludos
Nils

Top 10 Contributor
Male
Posts 931
Points 11,920
Member since 12-18-2000
DynamicsNAVMVP
Moderator

Could it be, that table 50000 is based on a SQL View? If the View does not exist, this error message would be raised ...

Jörg A. Stryk
STRYK System Improvement
Performance Optimization & Troubleshooting
http://www.stryk.info

  • | Post Points: 5
Top 50 Contributor
Male
Posts 315
Points 4,550
Member since 11-06-2005

The Navision restore into SQL does a security sync at the end.  The error you are getting is because you have a role configured that refers to Table 50000 and that table does not exist.

To solve:

 1.  Go back to you native DB

2.   Run the Permission table from object designer

3.  Filter where "Object ID" > 0 AND "Object Name" = ''

4. This will be all references to objects that do not exist.  Delete these entries

5.  Make a new backup and restore

 

Not Ranked
Male
Posts 12
Points 135
Member since 01-25-2007

The given error can also occur when trying to change the property DatabasePerCompany to "No" by importing a fob or fbk

SQL puts the Companyname in front of the tablename, that causes the problem. This can be solved by first changing the property DatabasePerCompany of the table50000 and then import the fob or fbk.

Greetings, Remco
  • | Post Points: 5
Page 1 of 1 (6 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.