@Kevin Moyes that is a good suggestion! I looked but there were not any. Thanks so much for the suggestions on this thread (and all threads)!
This issue ended up being caused by that datareader role (not dbdatareader) attached to GL_Account and GL_DetailPosting. Track database changes was also turned on for the companies that wouldn't convert - I'm not sure what the client was trying to do or if they even knew that was on. The
phenomenal @Alnoor Cassim walked me through creating a new, clean table and the SQL queries to create the indexes and populate the new table with the original data. With the new and shiny table in place, the conversion completed without any problem. This is far deeper into SQL than I have had to go before and I truly appreciate all the help this group provides!
------------------------------
Kate Krueger
Business Applications Manager
Eide Bailly, Inc.
Denver CO
970-692-5113
------------------------------
Original Message:
Sent: 11-18-2020 09:49
From: Kevin Moyes
Subject: Premium to Premium Migration - SQL security issue?
Are there any non-Sage tables in the databases (created manually in SQL, not through Sage / enhancements)? We've seen that cause problems with company copies.
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON
------------------------------
Original Message:
Sent: 11-17-2020 18:18
From: Kate Krueger
Subject: Premium to Premium Migration - SQL security issue?
Hi Kevin! I used the SA account for the migration. I confirmed that the DB owner for all the MAS_XXX and MAS_SYSTEM is MAS_USER. There were a bunch of .m4t files so I moved those out but I'm still seeing the same error when I try to convert all but one of the companies.
------------------------------
Kate Krueger
Business Applications Manager
Eide Bailly, Inc.
Denver CO
970-692-5113
Original Message:
Sent: 11-17-2020 18:01
From: Kevin Moyes
Subject: Premium to Premium Migration - SQL security issue?
Premium to Premium should do a backup and restore for the migration... not create tables. Did you use Windows authentication for the migration instead of the SQL "sa" account?
Database owner should be MAS_User. That should be the only thing that matters for permissions related to Sage controlling data.
Is there a bunch of old M4T's in the \MAS90\MAS_###\ folders? Remove those. The conversion may see those files and be trying to read them into SQL, which would be wrong.
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON