Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i am having problem upgrading to micros 5 1

Status
Not open for further replies.

sms341

Technical User
Aug 1, 2013
22
KW
I am having problem upgrading micros from 4.9 to 5.2 I have attach the log file too
please anybody can help me

and this is DM.log error
1/7/2015 2:26:01 AM Starting database update.
1/7/2015 2:26:02 AM Updating Database
1/7/2015 2:29:58 AM Could not execute statement. Column 'table_id' not found SQLCODE=-143, ODBC 3 State="42S22" File: "CreateViews.sql" on line 56724, column 1
1/7/2015 2:29:58 AM **Error Updating Database**, Database Update Failed!
1/7/2015 2:29:58 AM Check Micros dm.log for errors.
1/7/2015 2:42:54 AM DM Return Code = 1
 
 http://files.engineering.com/getfile.aspx?folder=4b0236e7-9b40-4097-b56f-3700acb8fb85&file=DMRebuild.log
This means you have a corrupted view in your existing database.

Open up Sybase Central, navigate to the Views, and sort the existing views by the Status column. Copy the views marked as "invalid" one by one from a known good database into the new system, and test them for validity with the "Recompile and Enable" function. Once all views are valid, rerun "DM -u" to finalize the database upgrade.
 
Would rebuilding the database before upgrading work? If the corrupted views are owned by the micros db account, sms won't be able to update/recreate them without dba access.
 
Good catch - this one does take the dba password to fix.

When hitting this error in the past, I never had any luck with a rebuild - I had to replace the single problematic view by hand that a few others were dependent on, then all was well.
 
big list of invalid status


34dsqaf.jpg
 
Here is the fixed version of the main broken view: Link.

Paste that into the vem_foreign_keys view, then the remaining 3 should compile and your upgrade should finish.
 
thankyou very much

it work fine but i have a question after change this thus it will effect in my database because has English and Arabic menu.
 
It will not affect your menu programming - that view is related to EM server functionality.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top